Ghostwar19
Member
Thought I would share this gem I just made. AD Dip that seems to be quite accurate in mesauring the dips in the market.
Code:
declare lower;
#AD Dipper
#Ghost
input length1 = 3;
def price = close("$ADVNC");
def emaff = ExpAverage(price, 3);
plot emaf = ExpAverage(emaff, 3);
plot line1 = 1200;
plot line2 = 1300;
plot line3 = 2200;
plot line4 = 2100;
plot line11 = 900;
plot line22 = 800;
plot line33 = 2500;
plot line44 = 2600;
line1.setdefaultColor(color.green);
line2.setdefaultColor(color.green);
line3.setdefaultColor(color.green);
line4.setdefaultColor(color.green);
line11.setdefaultColor(color.red);
line22.setdefaultColor(color.red);
line33.setdefaultColor(color.red);
line44.setdefaultColor(color.red);
addcloud(line2,line1, color.green);
addcloud(line3,line4, color.green);
addcloud(line22,line11, color.green);
addcloud(line33,line44, color.green);