I need a script that closes current open orders when the TDI closes above xx(default 70) for longs or below xx(default 30) for shorts.
TDI parameters can be changed.
TDI Fast MA close settings can be changed.
1. The script/EA finds current open trades.
2. The script/EA monitors the TDI Fast MA.
3. Close all long trades when TDI Fast MA closes above xx(default 70).
4. Close all short trades when TDI Fast MA closes below xx(default 30).
Should work in all timeframes from 1Min to 1D.
That is all.