RSI Bot, send alert buy when RSI<=20, send alert sell when RSI>=80
Parameter:
input groupΒ Β Β Β Β Β Β “RSI Setting”
input intΒ Β Β Β Β Β Β Β Β Inp_RSI_ma_periodΒ Β = 30;Β Β Β Β Β Β Β // RSI: averaging periodΒ
input ENUM_APPLIED_PRICEΒ Β Inp_RSI_applied_price= PRICE_WEIGHTED; // RSI: type of priceΒ
input doubleΒ Β Β Β Β Β Β Β Inp_RSI_LevelUPΒ Β Β Β Β Β = 80;Β Β Β Β Β // RSI Fast and Slow: Level UP
input doubleΒ Β Β Β Β Β Β Β Inp_RSI_LevelDOWNΒ Β Β Β Β = 20;Β Β Β Β Β // RSI Fast and Slow: Level DOWN
input stringΒ Β Β Β Β Β Β Β Inp_RSI_stringUPΒ Β Β Β Β Β =”Signal Sell”;// RSI Fast and Slow: Level UP label
input stringΒ Β Β Β Β Β Β Β Inp_RSI_stringDOWNΒ Β Β Β Β =”Signal Buy”; // RSI Fast and Slow: Level DOWN label