N:=20;P:=2;
顶:1,COLORYELLOW;
底:0,COLORRED;
VAR1:=MA(CLOSE,N);
VAR2:=VAR1+P*STD(CLOSE,N);
VAR3:=VAR1-P*STD(CLOSE,N);
布林趋势: (CLOSE-VAR3)/(VAR2-VAR3);
DRAWICON(CROSS(布林趋势,0),0,1);
DRAWICON(CROSS(1,布林趋势),1,2);
N:=20;P:=2;
顶:1,COLORYELLOW;
底:0,COLORRED;
VAR1:=MA(CLOSE,N);
VAR2:=VAR1+P*STD(CLOSE,N);
VAR3:=VAR1-P*STD(CLOSE,N);
布林趋势: (CLOSE-VAR3)/(VAR2-VAR3);
DRAWICON(CROSS(布林趋势,0),0,1);
DRAWICON(CROSS(1,布林趋势),1,2);