la puente, California
Experience: None
Platform: NinjaTrader
Trading: Es
Posts: 30 since Oct 2018
Thanks Given: 7
Thanks Received: 1
|
Hi,
need suggestion on how to program in a condition so that I can avoid these type of trades in algo (attached image). I do not want my algo to go long because the prior 3+ bars are close to swing top and also in congestion.
I have use these indicator to try to filter out as much as I can:
adx
choppiness index
swing
dynamic sr bands
What I think is that I have to do bar[0], bar[1], bar[2] (some math) = congestion true...
am I on the right though process and if someone is willing to supply sample code for me to test.
or should I go with a RSI type to limit trades when it could be overbought/sold?
|