VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
中轴:0,COLORWHITE,POINTDOT;
主力做多:2*(VAR2-VAR3)*3.8,LINETHICK2,COLORYELLOW;
IF(主力做多 =REF(主力做多,1),主力做多,DRAWNULL),COLORRED,LINETHICK3;
主力做空:(-2)*(VAR2-VAR3)*3.8,LINETHICK1,COLORGREEN;
波线:=SMA(主力做多,50,5),LINETHICK2,COLORFFFF00;
AH:=STICKLINE(REF(主力做空,2) 主力做空,主力做空,REF(主力做空,2),5,0),COLOR898989;
AK:STICKLINE(REF(主力做多,1) 主力做多,主力做多,REF(主力做多,1),3,0),COLOR0000FF;
TJ1:=VOL =HHV(VOL,20);
TJ2:=VOL/REF(VOL,1)
TJ3:=TJ1 AND TJ2;
TJ4:=C/O 1.02 AND C REF(C,1);
LC:=REF(CLOSE,1);{www.9m8.cn 九毛八公式指标网}
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD 0) AND (HD LD)),HD,0),10);
DMM:=SUM(IF(((LD 0) AND (LD HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
天之:=(AV + NEWVOL);