- Search Metals Mine
- 4 Results
- ganglesey replied Jun 13, 2014
It has compiled Ok on mine. MetaEditor V5 Build 934 and MT4 build 646. I didn't re-code the whole thing. That wouldn't be fair to your learning curve. The latest version of MetaEditor is very good. Try a fresh install of MT4 in a new program folder ...
- ganglesey replied Jun 13, 2014
int init() { return(0); }// you have the return below here. It is outside of the brackets. I have moved it up for you. return(0);( this return(0) was in the wrong spot. In general it is almost always a bracket (){}[] or a Semicolon missing or in the ...
- ganglesey replied Jun 12, 2014
You are asking the code to open a trade every tick. You need to check to see if there is already an open trade //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ if (!Pair_is_Trading(1000)) { OrderSend(Symbol(), OP_BUY, Lot, Ask, ...
- ganglesey replied Jun 12, 2014
You need to turn the bSendEmailNotifications to false when it has been used. Then back to true when you need it back again. I have included a couple of changes in your code that should point you in the right direction. Take note of lines 9 to 20 and ...
- Posts by Member Search: 'ganglesey'