Restrict trading periods

Created at 25 Feb 2016, 16:46
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!
BA

badger.cook

Joined 25.02.2016

Restrict trading periods
25 Feb 2016, 16:46


Goodafternoon all, 

I just have a question regarding trading periods. I'm currently developing a robot with a RSI(14) for scalping EUR/USD on a 1m time base. As news time are generally quite volatile, I would like to integrate restricted time period. 

For instance, close every orders and allow no other orders between 2:30pm (GMT+1) and 3:00pm every monday (just a stupid example). 

Can somebody help ?

Thanks!

B.


@badger.cook
Replies

croucrou
25 Feb 2016, 20:13

RE:

See this:

/forum/calgo-reference-samples/543


@croucrou

badger.cook
26 Feb 2016, 10:42

RE: RE:

croucrou said:

See this:

/forum/calgo-reference-samples/543

 

Exactly what I needed ! Thanks a lot !


@badger.cook