Hello
can I use RSI to stop the trade
for example if RSI hit 30 close the trade.
Without waiting for the candle to close
similar to stop loss
Regards
Normally not that I know of. But maybe @JS can make the “inverse RSI”, hence how the strength of the price has led to the RSI, and thus what the price needs to reach in the upcoming bar in order to meet your RSI request. Seems fun.
You have to use a low TF (down to 1 second) so that you can immediately close the trade as soon as RSI is hit:
Timeframe(Daily,UpdateOnClose)
IF MyLongConditions AND Not LongOnMarket THEN
BUY 1 CONTRACT AT MARKET
ENDIF
//
Timeframe(Daily,default)
MyRsi = RSI[14](close)
//
Timeframe(default) //choose 1min or 1sec, ...
IF LongOnMarket AND MyRsi <= 30 THEN
SELL AT MARKET
ENDIF