Have you read any article in the Tester section? I think the The Fundamentals of Testing in MetaTrader 5 might be helpful for you.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
i'm looking for a possibility to open and close positions based ticks und not on OHLC.
The signal for open or close is the simple CrossoverMA (Timeframe: H4) but i want to close and open positions by ticks so that i can close and open earlier and don't have to wait for a complete bar.
Have anybody a sample code for me how i can implement this tick function to an EA? So that i can also test it with the strategy tester.
I have tried it with the CTrade class and m_result.price but it don't really work for me.
I'm really new in programming EA's so sorry for my "stupid" question.
Thanks! :-)