Experts
Plz provide ur co-operation once again for adding scan code of buy/ sell code
Regards and adv thanks
Buy condition= if the histogram is above the signal line
Sell condition= if the histogram is below the signal line
**********************************/
outsidebar = Outside();
insidebar = H <= Ref(H,-1) AND L >= Ref(L,-1);
upbar = H > Ref(H,-1) AND L >= Ref(L, -1);
downbar = L < Ref(L,-1) AND H <= Ref(H,-1);
barcolor=IIf(outsidebar, 1,
IIf(downbar, 4,
IIf(upbar, 5,
IIf(insidebar,6, 0 ) ) ) );
/*barcolor=
iif(outsidebar, 1, iif(downbar, 4, iif(upbar,5, 0) ) );*/
var1=MA( Avg, 34);
var2=MA( Avg,5);
Graph0=var2-var1;
Graph0Style=2+4;
Graph1=MA(var2-var1,5);
Graph1Style=4+1;
Graph0BarColor=Barcolor;
_SECTION_END();
Plz provide ur co-operation once again for adding scan code of buy/ sell code
Regards and adv thanks
Buy condition= if the histogram is above the signal line
Sell condition= if the histogram is below the signal line
**********************************/
outsidebar = Outside();
insidebar = H <= Ref(H,-1) AND L >= Ref(L,-1);
upbar = H > Ref(H,-1) AND L >= Ref(L, -1);
downbar = L < Ref(L,-1) AND H <= Ref(H,-1);
barcolor=IIf(outsidebar, 1,
IIf(downbar, 4,
IIf(upbar, 5,
IIf(insidebar,6, 0 ) ) ) );
/*barcolor=
iif(outsidebar, 1, iif(downbar, 4, iif(upbar,5, 0) ) );*/
var1=MA( Avg, 34);
var2=MA( Avg,5);
Graph0=var2-var1;
Graph0Style=2+4;
Graph1=MA(var2-var1,5);
Graph1Style=4+1;
Graph0BarColor=Barcolor;
_SECTION_END();