Forums ProRealTime English forum ProOrder support Pause Trading in Realtime to 'Cool-off' Reply To: Pause Trading in Realtime to 'Cool-off'

#80795

Hi GraHal,

I was actually in the middle of editing my question to include the PositionPerf function so i didn’t waste people’s time like i have yours! Too late to edit now as well..!

Aside from that, i’ve literally just stumbled across the TradeIndex function and i think the solution could be to do with combining the PositionPerf with the TradeIndex.

For example; If PositionPerf(1)<0 and BarIndex<TradeIndex(1)+’Period of time’ Then ‘Do Nothing’ Else ‘Do code’..

Anyone know if i’m on the right track?

1 user thanked author for this post.