VAR1:=AMOUNT/(100*VOL);
VAR2:=MA(VAR1,3);
VAR3:=MA(VAR1,6);
VAR4:=MA(VAR1,12);
VAR5:=MA(VAR1,24);
潜龙:(VAR2+VAR3+VAR4+VAR5)/4,COLORYELLOW,LINETHICK3;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORCYAN;{ 正确}
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.1,0 ),COLORCYAN;{ 正确}
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.3,0 ),COLORRED;{中间正确}
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.3 ,0 ),COLORRED;{中间正确}
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0 ),COLORRED;{ 正确}
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1 ,0 ),COLORRED;{ 正确}
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.1 ,0 ),COLORGREEN;{ 正确}
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.1 ,0 ),COLORGREEN;{ 正确}
操盘线:=MA(C,4),COLORRED,LINETHICK3;
水面:MA(C,19),COLOR4E2F2F,LINESTICK,LINETHICK1;
STICKLINE(CROSS(操盘线,水面) AND (CLOSE>操盘线,2) AND (操盘线>水面) AND (CLOSE>水面),OPEN,CLOSE,3,0),COLORLIMAGENTA;