// This is a strategy that uses the 7 Period RSI to buy when the indicator is shown as oversold (OS) and sells when // the index marks overbought (OB). It also uses the ADX to determine whether the trend is ranging or trending // and filters out the trending trades. Seems to work better for automated trading when the logic is inversed (buying OB // and selling the OS) wihout stop loss.
Notes de version
⋅
Added an input to close the trades when the ADX is above certain level
Why don't you implement SL in this.
Also, try testing the entry with different RSI values. So, can you allow the RSI value to be put in manually.