@aghilsr78
You can probably try using 0 and 1 as input.
Does the original input consists of two separate words ? They seems not the options of any enum type.
Moreover, your enumerated type should be used as data type rather as variable name.
@aghilsr78
You can probably try using 0 and 1 as input.
Does the original input consists of two separate words ? They seems not the options of any enum type.
Moreover, your enumerated type should be used as data type rather as variable name.
The process might be too low to observe. I had similar experience in MT5.
I am still feeling strange that it is slow in backtesting even a simple EA., with Its 64bit, multithread capacity.
@Frosties Try adding Once per Bar. Your EA kept creating orders in a row, which would probably be banned by server
@Humble_Fx Some indicators simply do not work in EA. Repaint and unknown buffers are 2 major problems
@smille99 Did it have anything to do with your money margin ?
@oskars Are you sure ? MT4 or MT5. Did you check and print out the value ?
@alexitoeve50 You can select the folder for your downloading file. It is an option on Chrome's setup / preference
Perhaps you can check the current positions as a reference for a new position size
@Criptofuture1
Maybe you can remark it in the order comment, then check the order comment whenever you want
@patelgato
Probably not related to the free version. Share your project link may help
@l-andorrĂ
I also guess onTimer(), because onClick() need a first tick after the specific time.
Try replace D"your time" with StrToTime("your time")
@brytetrader
I seldom deal with leverage issue.
Does it only related to margin requirement?
So provided that magin limit is not reached, the backtest result would be the same. That seems normal.
@Alfie
The candle price is sell price (as checked in MT5).
That is why you got your expected price in sell order but not in buy order.
@Alfie
Your manual calculation was based on actual price.
Your formula price was based on candle price.
The 8-points is apparently bid-ask spread.
Check if the candle price is bid/ask/buy/sell price
If you need copier, check the mql5.com market, it is like US$50 lifetime
Don't think so
No way
@MTAB
You are welcome. BUT don't give up. I've done a demo for you
https://fxdreema.com/shared/Qu97vlFuc
It gives you the bar number (Candle ID) of the bar touch from above.
Check, modify and see if you can get what you want.
If you can get the first touch bar number, the second is simple. Just repeat the block with the starting bar = first touch bar number + 1