VOLC:=V/CAPITAL;
VAR1C:=VOLC/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
ZMJ:=IF(CLOSE>OPEN,VAR1C*(HIGH-LOW),IF(CLOSE<OPEN,VAR1C*((HIGH-OPEN)+(CLOSE-LOW)),VOLC/2)),COLORRED,NODRAW;
ZMC:=IF(CLOSE>OPEN,0-VAR1C*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1C*(HIGH-LOW),0-VOLC/2)),COLOR00FF00,NODRAW;
JM:=ZMJ-ABS(ZMC);
止跌反弹:IF(MA(C,5)<REF(C,5) AND REF(JM,2)<0 AND REF(JM,1)<0 AND JM>0
AND V<REF(V,1),10,0),COLORBLUE; |