i find old indicator from Chris Post
Code:
#Name: ChrisStoplight
#Programmed By: Chris Ball ([email protected]) on 1/31/09
#Posted At: http://chartingwithchris.blogspot.com
#Description: This indicator is truly a representation of 3 indicators (RSI, DMI and the StochasticsMomentumIndex).
declare lower;
plot rsi1 = if RSIWilder(length = 14)."RSI" >= 50 then 10 else 9;
plot rsi2 = if RSIWilder(length = 14)."RSI" < 50 then 10 else 9;
AddCloud(rsi1, rsi2);
plot dmi1 = if DMI(length = 14)."DI+" >= DMI(length = 14)."DI-" then 8 else 7;
plot dmi2 = if DMI(length = 14)."DI+" < DMI(length = 14)."DI-" then 8 else 7;
AddCloud(dmi1, dmi2);
plot sto1 = if StochasticMomentumIndex()."SMI" >= StochasticMomentumIndex()."AvgSMI" then 6 else 5;
plot sto2 = if StochasticMomentumIndex()."SMI" < StochasticMomentumIndex()."AvgSMI" then 6 else 5;
AddCloud(sto1, sto2);
rsi1.setDefaultColor(Color.Gray);
rsi2.setDefaultColor(Color.Gray);
dmi1.setDefaultColor(Color.Gray);
dmi2.setDefaultColor(Color.Gray);
sto1.setDefaultColor(Color.Gray);
sto2.setDefaultColor(Color.Gray);
Last edited by a moderator: