When run, produces the error :
2012.08.24 18:15:04 osma expert inputs: MagicNumber=0; Lots=0.1; Slippage=5; StopLoss=50; TakeProfit=60; TrailingStop=30;
Before posting please read some of the other threads . . . then you would have seen numerous requests like this one:
Please use this to post code . . . it makes it easier to read.
It's not an error.
And read this about using Expert Advisor builders: https://www.mql5.com/en/forum/139608
Please help me improve the code, am a complete novice to mql4 programming!
What do you think you can do yourself to improve this code ??
By the way read carefully the given link by RaptorUK about using Expert Advisor builders: https://www.mql5.com/en/forum/139608
it is the same Expert Advisor builder so you have a lot you can read there you can do with this code also
catch 22 - You have to know what the code is doing so you can tell us in what way you are hoping to improve it. We help with people learning to program and having problems understanding why their code does not work.
What we see is a program that compiles and works but I assume from your request never triggers any trades.
The codes gone!
Use the Print statment
Print("Line xxx", value1," value 2", value2) ;
to study what is happening.
If you read/and skip what you knowi in the book you will soon pick it up.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
When run, produces the error :
2012.08.24 18:15:04 osma expert inputs: MagicNumber=0; Lots=0.1; Slippage=5; StopLoss=50; TakeProfit=60; TrailingStop=30;