VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); ZM:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
ZM1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
MMB:=(SUM(ZM,30)+SUM(ZM1,30))/10,COLORYELLOW;
SG:=MMB>0 AND REF(MMB,1)<MMB;
上攻周期:COUNT(SG,5),LINESTICK,COLORWHITE; JSC:=上攻周期<1;
DBQD:=FILTER(COUNT(JSC,5)>3 AND NOT(JSC),10); DRAWICON(DBQD,2,1);
DRAWBAND(上攻周期,RGB(255,120,120),3,RGB(0,0,0)); DRAWBAND(JSC,RGB(0,0,255),0.5,RGB(0,0,0));
STICKLINE(COUNT(上攻周期>3,5)>=3 AND SG,0,上攻周期,1.5,0),COLORRED; XG: COUNT(COUNT(上攻周期>3,5)>=3 AND SG,20)>4;
|