# Old indicator from ChrisStoplight

#### asianboy

##### New member
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;

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;

plot sto1 = if StochasticMomentumIndex()."SMI" >= StochasticMomentumIndex()."AvgSMI" then 6 else 5;
plot sto2 = if StochasticMomentumIndex()."SMI" < StochasticMomentumIndex()."AvgSMI" then 6 else 5;

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:

#### asianboy

##### New member
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;

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;

plot sto1 = if StochasticMomentumIndex()."SMI" >= StochasticMomentumIndex()."AvgSMI" then 6 else 5;
plot sto2 = if StochasticMomentumIndex()."SMI" < StochasticMomentumIndex()."AvgSMI" then 6 else 5;

rsi1.setDefaultColor(Color.Gray);
rsi2.setDefaultColor(Color.Gray);
dmi1.setDefaultColor(Color.Gray);
dmi2.setDefaultColor(Color.Gray);
sto1.setDefaultColor(Color.Gray);
sto2.setDefaultColor(Color.Gray);``````

and

Code:
``````#Name:             GMMA_CLOUD
#Programmed By:    Chris Ball ([email protected]) on 1/31/09
#Posted At:        http://chartingwithchris.blogspot.com
#Description:      This is a cloud representation of the Guppy Multiple Moving Average system using only the exterior EMA's for the two groups.

declare upper;

input price = close;
input displace = 0;

def length3ema = 3;
def length15ema = 15;
def length30ema = 30;
def length60ema = 60;

plot avgexp3 = ExpAverage(data = price[-displace], length = length3ema);
avgexp3.SetDefaultColor(Color.Gray);
plot avgexp15 = ExpAverage(data = price[-displace], length = length15ema);
avgexp15.SetDefaultColor(Color.Gray);

plot avgexp30 = ExpAverage(data = price[-displace], length = length30ema);
avgexp30.SetDefaultColor(Color.Gray);
plot avgexp60 = ExpAverage(data = price[-displace], length = length60ema);
avgexp60.SetDefaultColor(Color.Gray);

Last edited by a moderator:

#### markos

##### Well-known member
VIP
@asianboy Why did you post those 2 studies? The GMMA (Guppy) Cloud is being used the wrong way. Mr. Guppy has a trading plan for his study.
We have access to over 1000 studies via our to tutorial called "the Universe of thinkScript." AND, Chris Ball has updated all of his studies, which can be found thru his page.

Last edited by a moderator:

#### rjmuir

##### New member
VIP
Can anyone help me with the code to scan when the GMMA Cloud (AVGexp3 and AVGexp15) cloud crosses the GMMA Cloud (AVGexp30 and AVGexp60) cloud. Would like to see stocks when that cross occurs! Any help would be appreciated!