robot work on open prices

Created at 09 Dec 2016, 12:27
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
RC

rcc25

Joined 04.01.2013

robot work on open prices
09 Dec 2016, 12:27


Hi All

Could you show me how to make robot work on open prices only (same as option in back testing)

I have robot with very good results in backtesting on  m1 bars from server but on tick data robot is loosing.

So I need robot to accept only prices from open bar (I think) and do not operate between open prices

Any Idea?

Thx

Raf

 

 

 

 

 


@rcc25
Replies

suradi
12 Dec 2016, 06:56

Have you tried putting your execution code in the onBar() method ?