M1:=5;M2:=10;M3:=20;
VOL,VOLSTICK;
n1:MA(VOL,M1);
n2:MA(VOL,M2);
DRAWGBK(n1>=n2,COLORRGB(150,0,0),COLORRGB(100,50,0),1);
DRAWGBK(n1<=n2,COLORRGB(0,150,0),COLORRGB(0,80,0),1);
VOL,VOLSTICK;
MA1:MA(VOL,M1);
MA2:MA(VOL,M2);
MA3:=MA(VOL,M3);
ABC:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
{指标之家-股票公式网站 www.tdxclub.com}
买:IF(CLOSE>OPEN,ABC*(HIGH-LOW),IF(CLOSE<OPEN,ABC*((HIGH-OPEN)+(CLOSE-LOW)),VOL /2)),POINTDOT,COLORRED;
卖:IF(CLOSE>OPEN,ABC*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,ABC*(HIGH-LOW),VOL /2)),COLORCYAN,POINTDOT;
STICKLINE(C>=REF(C,1) ,0,VOL,6.20,0),COLORRED;
STICKLINE(C<REF(C,1),0,VOL,6.2,0),COLORCYAN;
主进:VOL/MA(VOL,55)*100,COLORYELLOW;
STICKLINE(主进>100 ,0,VOL,3.4,0),COLORYELLOW;
202108211222.jpg
|