Inputs: UpperRSILevel(55), LowerRSILevel(45);
Variables: RSI1(0), RSI2(0), RSI3(0), RSI4(0);
RSI1 = RSI(Close of Data1, 14);
RSI2 = RSI(Close of Data2, 14);
RSI3 = RSI(Close of Data3, 14);
RSI4 = RSI(Close of Data4, 14);
Plot1(4, "RSI1", yellow);
Plot2(3, "RSI2", yellow);
Plot3(2, "RSI3", yellow);
Plot4(1, "RSI4", yellow);
If RSI1 > UpperRSILevel then Plot1(4, "RSI1", cyan);
If RSI1 < LowerRSILevel then Plot1(4, "RSI1", red);
If RSI2 > UpperRSILevel then Plot2(3, "RSI2", cyan);
If RSI2 < LowerRSILevel then Plot2(3, "RSI2", red);
If RSI3 > UpperRSILevel then Plot3(2, "RSI3", cyan);
If RSI3 < LowerRSILevel then Plot3(2, "RSI3", red);
If RSI4 > UpperRSILevel then Plot4(1, "RSI4", cyan);
If RSI4 < LowerRSILevel then Plot4(1, "RSI4", red);
Comment