Bette// Better Volume Indicator II - with turtle strategy range := abs(high - low); x1 := close>r Volume Indicator II

This is the place to discuss EdgeRater Chart Script

Moderator: Chris White

Post Reply
bsegura
Posts: 32
Joined: Tue Jan 12, 2021 11:56 am

Bette// Better Volume Indicator II - with turtle strategy range := abs(high - low); x1 := close>r Volume Indicator II

Post by bsegura »

Below is a combination of the Better Volume Indicator (signals flipped on 55 period Hull moving average) with the turtle strategy of 10 periods (closer to center) and 20 periods farther from center. I use this with the upper Strategy Plateau and an upper 55 period hull moving average


// Better Volume Indicator II - with turtle strategy

range := abs(high - low);

x1 := close>open & range != 0;
x2 := (range/(2*Range+Open-Close)) * V;

x3 := close<open & range !=0;
x4 := ((range+close-open)/(2*Range+close-open)) * V;

x5 := close==open;
x6 := 0.5 * V;

value1 := if(x1,x2,if(x3,x4,if(x5,x6,nan)));
value2 := v - value1;

value3 := abs(value1 + value2);
value4 := value1 * range;
value5 := (value1-value2)*range;
value6 := value2*range;
value7 := (value2-value1)*range;

value8 := if(range != 0,value1/range,nan);
value9 := if(range != 0,(value1-value2)/range,nan);
value10 := if(range != 0,value2/range,nan);
value11 := if(range != 0,(value2-value1)/range,nan);
value12 := if(range != 0, value3/range,nan);

use2bars := 0;

value13 := if (use2bars,value3-value3[1],nan);
value14 := if (use2bars,(value1+value1[1])*(hhv(h,2)-llv(l,2)),nan);
value15 := if (use2bars,(value1+value1[1]-value2-value2[1])*(hhv(h,2)-llv(l,2)),nan);
value16 := if (use2bars,(value2+value2[1])*(hhv(h,2)-llv(l,2)),nan);
value17 := if (use2bars,(value2+value2[1]-value1-value1[1])*(hhv(h,2)-llv(l,2)),nan);
value18 := if (use2bars,(value1+value1[1]-value2-value2[1])/(hhv(h,2)-llv(l,2)),nan);
value19 := if (use2bars,(value1+value1[1]-value2-value2[1])/(hhv(h,2)-llv(l,2)),nan);
value20 := if (use2bars,(value2+value2[1])/(hhv(h,2)-llv(l,2)),nan);
value21 := if (use2bars,(value2+value2[1]-value1-value1[1])/(hhv(h,2)-llv(l,2)),nan);
value22 := if (use2bars,value13/(hhv(h,2)-llv(l,2)),nan);

lookback := 20;

cond1 := value3 == llv(value3, lookback);
cond2 := value4 == hhv(value4, lookback) & c>o;
cond3 := value5 == hhv(value5, lookback) & c>o;
cond4 := value6 == hhv(value6, lookback) & c<o;
cond5 := value7 == hhv(value7, lookback) & c<o;
cond6 := value8 == llv(value8, lookback) & c<o;
cond7 := value9 == llv(value9, lookback) & c<o;
cond8 := value10 == llv(value10,lookback) & c>o;
cond9 := value11 == llv(value11,lookback) & c>o;
cond10 := value12 == hhv(value12,lookback);


cond11 := use2bars==1 & value13 == llv(value13,lookback);
cond12 := use2bars==1 & value14 == hhv(value14,lookback) & c>o & ref(c,1) > ref(o,1);
cond13 := use2bars==1 & value15 == hhv(value15,lookback) & c>o & ref(c,1) > ref(o,1);
cond14 := use2bars==1 & value16 == hhv(value16,lookback) & c<o & ref(c,1) < ref(o,1);
cond15 := use2bars==1 & value17 == hhv(value17,lookback) & c<o & ref(c,1) < ref(o,1);
cond16 := use2bars==1 & value18 == llv(value18,lookback) & c<o & ref(c,1) < ref(o,1);
cond17 := use2bars==1 & value19 == llv(value19,lookback) & c<o & ref(c,1) < ref(o,1);
cond18 := use2bars==1 & value20 == llv(value20,lookback) & c>o & ref(c,1) > ref(o,1);
cond19 := use2bars==1 & value21 == llv(value21,lookback) & c>o & ref(c,1) > ref(o,1);
cond20 := use2bars==1 & value22 == hhv(value22,lookback);

Lookback_weak := 10;

cond1w := value3 == llv(value3, lookback_weak);
cond2w := value4 == hhv(value4, lookback_weak) & c>o;
cond3w := value5 == hhv(value5, lookback_weak) & c>o;
cond4w := value6 == hhv(value6, lookback_weak) & c<o;
cond5w := value7 == hhv(value7, lookback_weak) & c<o;
cond6w := value8 == llv(value8, lookback_weak) & c<o;
cond7w := value9 == llv(value9, lookback_weak) & c<o;
cond8w := value10 == llv(value10,lookback_weak) & c>o;
cond9w := value11 == llv(value11,lookback_weak) & c>o;
cond10w := value12 == hhv(value12,lookback_weak);

cond11w := use2bars==1 & value13 == llv(value13,lookback_weak);
cond12w := use2bars==1 & value14 == hhv(value14,lookback_weak) & c>o & ref(c,1) > ref(o,1);
cond13w := use2bars==1 & value15 == hhv(value15,lookback_weak) & c>o & ref(c,1) > ref(o,1);
cond14w := use2bars==1 & value16 == hhv(value16,lookback_weak) & c<o & ref(c,1) < ref(o,1);
cond15w := use2bars==1 & value17 == hhv(value17,lookback_weak) & c<o & ref(c,1) < ref(o,1);
cond16w := use2bars==1 & value18 == llv(value18,lookback_weak) & c<o & ref(c,1) < ref(o,1);
cond17w := use2bars==1 & value19 == llv(value19,lookback_weak) & c<o & ref(c,1) < ref(o,1);
cond18w := use2bars==1 & value20 == llv(value20,lookback_weak) & c>o & ref(c,1) > ref(o,1);
cond19w := use2bars==1 & value21 == llv(value21,lookback_weak) & c>o & ref(c,1) > ref(o,1);
cond20w := use2bars==1 & value22 == hhv(value22,lookback_weak);


LowVol := (cond1 | cond11);
ClimaxUp := (cond2 | cond3 | cond8 | cond9 | cond12 | cond13 | cond18 | cond19);
ClimaxDown := (cond4 | cond5 | cond6 | cond7 | cond14 | cond15 | cond16 | cond17);
Churn := (cond10 | cond20);
ClimaxChurn := (cond10 | cond20) & (cond2 | cond3 | cond4 | cond5 | cond6 | cond7 | cond8 | cond9 | cond12 | cond13 | cond14 | cond15 | cond16 | cond17 | cond18 | cond19);

LowVol_w := (cond1w | cond11w);
ClimaxUp_w := (cond2w | cond3w | cond8w | cond9w | cond12w | cond13w | cond18w | cond19w);
ClimaxDown_w := (cond4w | cond5w | cond6w | cond7w | cond14w | cond15w | cond16w | cond17w);
Churn_w := (cond10w | cond20w);
ClimaxChurn_w := (cond10w | cond20w) & (cond2w | cond3w | cond4w | cond5w | cond6w | cond7w | cond8w | cond9w | cond12w | cond13w | cond14w | cond15w | cond16w | cond17w | cond18w | cond19w);

no_cond := !(lowvol) & !(climaxup) & !(climaxdown) & !(churn) & !(climaxchurn);

//AddLabel(yes, "Low Vol", Color.YELLOW);
//AddLabel(yes, "Climax Up", Color.RED);
//AddLabel(yes, "Climax Dn", Color.WHITE);
//AddLabel(yes, "Churn", Color.GREEN);
//AddLabel(yes, "Climax Churn", Color.MAGENTA);

//plot dot = if climaxchurn and d3 == -3 then d4 else double.nan;
//dot.setpaintingStrategy (paintingStrategy.SQUARES);
//dot.setdefaultColor (color.cyan);
//dot.setlineWeight (2);

//plot dot2 = if climaxchurn and d == 3 then d2 else double.nan;
//dot2.setpaintingStrategy (paintingStrategy.SQUARES);
//dot2.setdefaultColor (color.cyan);
//dot2.setlineWeight (2);


d1 : if(close>ref(close,1) & close>ref(close,2) & close>ref(close,3) & close>ref(close,4) & close>ref(close,5) & close>ref(close,6) & close>ref(close,7) & close>ref(close,8) & close>ref(close,9) & close>ref(close,10),3,1),colorwhite;
d2 : if(close>ref(close,1) & close>ref(close,2) & close>ref(close,3) & close>ref(close,4) & close>ref(close,5) & close>ref(close,6) & close>ref(close,7) & close>ref(close,8) & close>ref(close,9) & close>ref(close,10) & close>ref(close,11) & close>ref(close,12) & close>ref(close,13) & close>ref(close,14) & close>ref(close,15) & close>ref(close,16) & close>ref(close,17) & close>ref(close,18) & close>ref(close,19) & close>ref(close,20),8,6),colorwhite;
xz2 := if (close > HullMA(close, 55),0,1);

d3 : if(close<ref(close,1) & close<ref(close,2) & close<ref(close,3) & close<ref(close,4) & close<ref(close,5) & close<ref(close,6) & close<ref(close,7) & close<ref(close,8) & close<ref(close,9) & close<ref(close,10),-3,-1),colorwhite;
d4 : if(close<ref(close,1) & close<ref(close,2) & close<ref(close,3) & close<ref(close,4) & close<ref(close,5) & close<ref(close,6) & close<ref(close,7) & close<ref(close,8) & close<ref(close,9) & close<ref(close,10) & close<ref(close,11) & close<ref(close,12) & close<ref(close,13) & close<ref(close,14) & close<ref(close,15) & close<ref(close,16) & close<ref(close,17) & close<ref(close,18) & close<ref(close,19) & close<ref(close,20),-8,-6),colorwhite;
xz3 := if (close < HullMA(close, 55),0,-1);

FILLRGN(1,9,-11),Brush#FFA9A9A9;
FILLRGN(1,9,-11),Brush#FFA9A9A9;
FILLRGN(1,9,d1),Brush#000000;
FILLRGN(1,d3,-11),Brush#000000;

FILLRGN(1,d1,XZ2),Brush#008000;
FILLRGN(1,d3,XZ3),Brush #FF8B0000;

d1a : if(close>ref(close,1) & close>ref(close,2) & close>ref(close,3) & close>ref(close,4) & close>ref(close,5) & close>ref(close,6) & close>ref(close,7) & close>ref(close,8) & close>ref(close,9) & close>ref(close,10),3,1),colorwhite;
d2a : if(close>ref(close,1) & close>ref(close,2) & close>ref(close,3) & close>ref(close,4) & close>ref(close,5) & close>ref(close,6) & close>ref(close,7) & close>ref(close,8) & close>ref(close,9) & close>ref(close,10) & close>ref(close,11) & close>ref(close,12) & close>ref(close,13) & close>ref(close,14) & close>ref(close,15) & close>ref(close,16) & close>ref(close,17) & close>ref(close,18) & close>ref(close,19) & close>ref(close,20),8,6),colorwhite;
d3a : if(close<ref(close,1) & close<ref(close,2) & close<ref(close,3) & close<ref(close,4) & close<ref(close,5) & close<ref(close,6) & close<ref(close,7) & close<ref(close,8) & close<ref(close,9) & close<ref(close,10),-3,-1),colorwhite;
d4a : if(close<ref(close,1) & close<ref(close,2) & close<ref(close,3) & close<ref(close,4) & close<ref(close,5) & close<ref(close,6) & close<ref(close,7) & close<ref(close,8) & close<ref(close,9) & close<ref(close,10) & close<ref(close,11) & close<ref(close,12) & close<ref(close,13) & close<ref(close,14) & close<ref(close,15) & close<ref(close,16) & close<ref(close,17) & close<ref(close,18) & close<ref(close,19) & close<ref(close,20),-8,-6),colorwhite;

n := 18;
wr:= -100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
DRAWSHAPE(wr>-10,wr-wr +6,1,true,0,'square',.5,'orange','orange');
DRAWSHAPE(wr<-90,wr-wr -6,1,true,0,'square',.5,'orange','orange');

full := if (close > hullma(close, 55),4,-4);
half := if (close > hullma(close, 55),1.5,-1.8);

DRAWSHAPE(LowVol, full, 1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol, full*.9,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol, full*.8,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol, full*.7,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol, full*.6,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol, full*.5,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol, full*.4,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol, full*.3,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol, full*.2,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol, full*.1,1,true,0,'square',.5,'yellow', 'yellow');

DRAWSHAPE(ClimaxUp, full, 1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp, full*.9,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp, full*.8,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp, full*.7,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp, full*.6,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp, full*.5,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp, full*.4,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp, full*.3,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp, full*.2,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp, full*.1,1,true,0,'square',.5,'red', 'red');

DRAWSHAPE(ClimaxDown, full, 1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown, full*.9,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown, full*.8,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown, full*.7,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown, full*.6,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown, full*.5,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown, full*.4,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown, full*.3,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown, full*.2,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown, full*.1,1,true,0,'square',.5,'white', 'white');

DRAWSHAPE(Churn, full, 1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn, full*.9,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn, full*.8,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn, full*.7,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn, full*.6,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn, full*.5,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn, full*.4,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn, full*.3,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn, full*.2,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn, full*.1,1,true,0,'square',.5,'limegreen', 'limegreen');

DRAWSHAPE(ClimaxChurn, full, 1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn, full*.9,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn, full*.8,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn, full*.7,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn, full*.6,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn, full*.5,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn, full*.4,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn, full*.3,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn, full*.2,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn, full*.1,1,true,0,'square',.5,'magenta','magenta');
//

DRAWSHAPE(LowVol_w & no_cond, half, 1,true,0,'square',.5,'yeyllow', 'yellow');
DRAWSHAPE(LowVol_w & no_cond, half*.9,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol_w & no_cond, half*.8,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol_w & no_cond, half*.7,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol_w & no_cond, half*.6,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol_w & no_cond, half*.5,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol_w & no_cond, half*.4,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol_w & no_cond, half*.3,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol_w & no_cond, half*.2,1,true,0,'square',.5,'yellow', 'yellow');
DRAWSHAPE(LowVol_w & no_cond, half*.1,1,true,0,'square',.5,'yellow', 'yellow');

DRAWSHAPE(ClimaxUp_w & no_cond, half, 1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp_w & no_cond, half*.9,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp_w & no_cond, half*.8,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp_w & no_cond, half*.7,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp_w & no_cond, half*.6,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp_w & no_cond, half*.5,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp_w & no_cond, half*.4,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp_w & no_cond, half*.3,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp_w & no_cond, half*.2,1,true,0,'square',.5,'red', 'red');
DRAWSHAPE(ClimaxUp_w & no_cond, half*.1,1,true,0,'square',.5,'red', 'red');

DRAWSHAPE(ClimaxDown_w & no_cond, half, 1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown_w & no_cond, half*.9,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown_w & no_cond, half*.8,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown_w & no_cond, half*.7,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown_w & no_cond, half*.6,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown_w & no_cond, half*.5,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown_w & no_cond, half*.4,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown_w & no_cond, half*.3,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown_w & no_cond, half*.2,1,true,0,'square',.5,'white', 'white');
DRAWSHAPE(ClimaxDown_w & no_cond, half*.1,1,true,0,'square',.5,'white', 'white');;

DRAWSHAPE(Churn_w & no_cond, half, 1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn_w & no_cond, half*.9,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn_w & no_cond, half*.8,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn_w & no_cond, half*.7,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn_w & no_cond, half*.6,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn_w & no_cond, half*.5,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn_w & no_cond, half*.4,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn_w & no_cond, half*.3,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn_w & no_cond, half*.2,1,true,0,'square',.5,'limegreen', 'limegreen');
DRAWSHAPE(Churn_w & no_cond, half*.1,1,true,0,'square',.5,'limegreen', 'limegreen');

DRAWSHAPE(ClimaxChurn_w & no_cond, half, 1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn_w & no_cond, half*.9,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn_w & no_cond, half*.8,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn_w & no_cond, half*.7,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn_w & no_cond, half*.6,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn_w & no_cond, half*.5,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn_w & no_cond, half*.4,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn_w & no_cond, half*.3,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn_w & no_cond, half*.2,1,true,0,'square',.5,'magenta','magenta');
DRAWSHAPE(ClimaxChurn_w & no_cond, half*.1,1,true,0,'square',.5,'magenta','magenta');

DRAWSHAPE(CROSS(close,HULLMA(CLOSE,55)), close-close+4.8, 1, true, 0, 'TRIANGLEUP', 1, 'WHITE','WHITE');
DRAWSHAPE(CROSS(close,HULLMA(CLOSE,55)), close-close, 1, true, 0, 'TRIANGLEUP', 1, 'WHITE','WHITE');
DRAWSHAPE(CROSS(HULLMA(CLOSE,55),CLOSE), close-close-5, 1, true, 0, 'TRIANGLEDN', 1, 'white','white');

//trigger2:= if (d2,1,0);
//B: VALUEWHEN(8,trigger2),colorRed,width2,pointdot;
//bc: B,colorred;

//triggerBd:= if (d4,1,0);
//Bd:= VALUEWHEN(-8,triggerBd),colorGreen,width2,pointdot;

//trigger2a:= if (d4 == ref(Bd,1),1,0);
//Ba: VALUEWHEN(if(-8,trigger2a),colorGreen,width2,pointdot;


//trigger3:= if (climaxUP,1,0);
//B: VALUEWHEN(CLOSE,trigger3),colorblue,width2,pointdot;

//trigger4 := if (B !=nan & ba!=nan & cross(close,hullma(close,55)),1,0);
//Bb: VALUEWHEN(CLOSE,trigger4),colorOange,width3,pointdot;
Post Reply