上升原动力指标 (源码)
2012-12-28 09:23:00来源:本站整理浏览:285
N:=5;M:=3;
VAR1:=DYNAINFO(17)*REF(MA(VOL,5),1);
VAR2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
J:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED;
G:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
CH:=J+G,COLORSTICK;
J1:MA(J,10),COLORYELLOW;
J2:MA(J1,10),COLORMAGENTA;
J3:MA(J1,10),COLORGREEN;
G1:MA(G,10),COLORYELLOW;
G2:MA(G1,10),COLORMAGENTA;
G3:MA(G1,10),COLORGREEN;
DL:=MA(CH,M),COLORRED;
DLL:MA(DL,N),COLORYELLOW;
DDLL:MA(DLL,20),COLORMAGENTA;
零轴:0;
STICKLINE(DL>0,0,DL,2,0),COLORRED;
STICKLINE(DL<0,0,DL,2,0),COLORGREEN;
- 上一篇公式:叫你卖你就卖主图指标 (源码)
- 下一篇公式:与主力同步建仓指标 (源码)