优化东方不败时在对应的股价画线
A:=EMA(C,6);
杭:=XMA(XMA(EMA(CLOSE,5)-EMA(CLOSE,10),2),2);
州:=EMA(杭,5);
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入亿:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000;
流出亿:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000;
差亿:=流入亿+流出亿;
净:=XMA(XMA(差亿,2),2);
净1:=XMA(净,2);
流:=EMA(净1,7);
净流:=3*EMA(净1+流,1);
B:=C>A&&杭>0&&杭>州&&杭>REF(杭,1)&&净流>0&&净流>REF(净流,1)&&C>O AND C/REF(C,1)>1.03;
DRAWLINE(B,C,REF(B,1),REF(C,1),1),COLORGREEN;
96499001.jpg
|