lee-I-O=coke-A
Member
Can someone kindly help me correct my errors, please
Code:
def rsi1 = RSIWilder("15 min" = 95, price = close(period = AggregationPeriod.fifteen));
AddLabel(yes, rsi1, if rsi1 >= 95 then Color.green else if rsi1 < 94 and rsi1 > 30 then Color.yellow else color.red );
def rsi2 = RSIWilder("5 min" = 95, price = close(period = AggregationPeriod.five));
AddLabel(yes, rsi2, if rsi2 >= 95 then Color.green else if rsi2 < 94 and rsi2 > 30 then Color.yellow else color.red );
def rsi3 = RSIWilder("1 min" = 95, price = close(period = AggregationPeriod.one));
AddLabel(yes, rsi3, if rsi3 >= 95 then Color.green else if rsi3 < 94 and rsi3 > 30 then Color.yellow else color.red );