For a new bar test, Bars is unreliable (a refresh/reconnect can change number of bars on chart,) volume is unreliable (miss ticks,) Price is unreliable (duplicate prices and The == operand. - MQL4 programming forum.) Always use time.
I disagree with making a new bar function, because it can only be called once per tick. A variable can be tested multiple times.
New
candle - MQL4 programming forum
For a new bar test, Bars is unreliable (a refresh/reconnect can change number of bars on chart,) volume is unreliable (miss ticks,) Price is unreliable (duplicate prices and The == operand. - MQL4 programming forum.) Always use time.
I disagree with making a new bar function, because it can only be called once per tick. A variable can be tested multiple times.
New
candle - MQL4 programming forum
Thanks
I got it solved
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
I have my (MT4) EA ready. I have tested it with Tester Model: Open Prices Only. And it works well.
When I try it on Demo. It works as Every Tick. It goes into many trades at the same bar and trade.
How can I make it works as 1 trade per deal. Lets say 1 trade per Candle. I tried many and many codes but none works for me.
Thanks
Damati