Forums ProRealTime English forum ProOrder support Reset trade ok if above bollinger middle Reply To: Reset trade ok if above bollinger middle

#107786

Yes. but not just after a certain number. Price must be above bollinge middle

 

So in the first pic close is never above the boll middle after the first trade is done, so that actually dosnt make sense.

 

You could use something like “highest[10](close) >  highest[10](average[20](close))

 

someone please correct me if im wrong, but that would mean that for the past 10 bars (or whatever number you would use), price must have been above the moving average 20 (aka bollinger middle) But that would also mean that the “move” so to speak has to happen within XX bars, probably not exactly what you wanted but its at least a step in the right direction..