VAR1:=HIGH-LOW;
VAR2:=Abs(OPEN-CLOSE);
VAR3:=HIGH-(IF(CLOSE>OPEN,CLOSE,OPEN));
VAR4:=(IF(CLOSE>OPEN,OPEN,CLOSE))-LOW;
VAR5:=VAR2/VAR1*vol;
VAR6:=VAR3/VAR1*VOL;
VAR7:=VAR4/VAR1*VOL;
VAR8:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));
MA5:MA(VOL,5);
MA10:MA(VOL,10);
多头成交口:STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,8,1);
空头成交口:STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,8,1);
向上攻击量:STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 AND CLOSE>OPEN,0,VAR5,8,0);
{ _最新股票指标公式}
向下攻击量:STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 AND CLOSE<OPEN,0,VAR5,8,0);
上探量:STICKLINE(VAR6>VAR5 AND VAR6>VAR7,0,VAR6,8,0);
下探量:STICKLINE(VAR7>VAR5 AND VAR7>VAR6,0,VAR7,8,0);
相对地量:STICKLINE(VAR8>2 AND VOL<MA(VOL,5)/2,0,VOL,2.5,0);
放量:STICKLINE(VOL>MA(VOL,5)*3,0,VOL,2.5,0);
逢高出货:DRAWTEXT(VAR6>VAR5 AND VAR6>VAR7 AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,30) AND HIGH>MA(CLOSE,60) AND VOL>MA5 AND VAR6>MA(VOL,5),VOL,'逢高出货');