同花顺超级布林主图指标
源码
N:=26;N1:=2;N2:=31;
天:MA(C,n)+2*STD(C,n),COLOR66bbff;
地:MA(C,n)-2*STD(C,n),colorgreen;
a:=(C+FORCAST(C,n1))/2;
心:FORCAST(FORCAST(a,n2),10),CIRCLEDOT,colorwhite;
紅:IF(a 心,a,心),LINETHICK2,COLORff00ff;
兰:IF(a 心,a,心),LINETHICK2,COLORff8800;
STICKLINE(C 紅,O,C,8,0),COLOR0011aa;
STICKLINE(C 紅,O,C,6,0),COLOR0000bb;
STICKLINE(C 紅,O,C,4,0),COLOR0000cc;
STICKLINE(C 紅,O,C,2,0),COLOR0011dd;
STICKLINE(C 紅,O,C,1,0),COLOR3333ff;
STICKLINE(C 紅,H,C,1,0),color0000ff;
STICKLINE(C 紅,H,C,0,0),color3300ff;
STICKLINE(C 紅,O,L,1,0),color0011ff;
STICKLINE(C 紅,O,L,0,0),color3300ff;
STICKLINE(C =紅,O,C,8,0),COLORff8800;
STICKLINE(C =紅,O,C,6,0),COLORff9900;
STICKLINE(C =紅,O,C,4,0),COLORffaa11;
STICKLINE(C =紅,O,C,2,0),COLORffcc22;
STICKLINE(C =紅,O,C,1,0),COLORffdd22;
STICKLINE(C =紅,H,C,1,0),colorff6600;
STICKLINE(C =紅,H,C,0,0),colorffdd33;
STICKLINE(C =紅,O,L,1,0),colorff6600;
STICKLINE(C =紅,O,L,0,0),colorffdd33;