RSI negative - postive number New comment [Deleted] 2016.05.11 22:00 Hi all,Is there any code to order RSI indicator like sample on picture?BUY= if RSI ABOVE level 50 with RSI is UP condition ONLY.(Do not BUY iif RSI is Above 50 but going down / negative)SELL = If RSI BELLOW level 50 with RSI is DOWN condition only.(Do not BUY iif RSI is bellow 50 but going UP / postive)Sample my code only Above/ bellow line.SELL code:(Bid < (iRSI(NULL, NULL,14,PRICE_CLOSE,0) < 50)BUY CODE (Bid < (iRSI(NULL, NULL,14,PRICE_CLOSE,0) > 50)Thanks Files: rsisample.jpg 248 kb Question about this code Cycle While help me please!!! SYMBOL() AND NULL Daniela Bluemel 2016.05.12 07:39 #1 You have to compare the rsi value with the last rsi values. Look at the documentation of iRSI especially shift parameter [Deleted] 2016.05.12 09:10 #2 Daniela Bluemel: You have to compare the rsi value with the last rsi values. Look at the documentation of iRSI especially shift parameterYes, understood. Thanks New comment
Hi all,
Is there any code to order RSI indicator like sample on picture?
BUY= if RSI ABOVE level 50 with RSI is UP condition ONLY.
(Do not BUY iif RSI is Above 50 but going down / negative)
SELL = If RSI BELLOW level 50 with RSI is DOWN condition only.
(Do not BUY iif RSI is bellow 50 but going UP / postive)
Sample my code only Above/ bellow line.
SELL code:
(Bid < (iRSI(NULL, NULL,14,PRICE_CLOSE,0) < 50)
BUY CODE
(Bid < (iRSI(NULL, NULL,14,PRICE_CLOSE,0) > 50)
Thanks