Download MetaTrader 5
To add comments, please log in or register
Have you developed a profitable strategy? Launch your trading signal and make profit from it!
Leahcim
6
Leahcim 2011.06.02 01:56 

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! :-)

Rashid Umarov
Admin
6599
Rashid Umarov 2011.06.02 10:55  
Have you read any article in the Tester section? I think the The Fundamentals of Testing in MetaTrader 5 might be helpful for you.

/
To add comments, please log in or register