M5:=5;
M35:=35;
M135:=135;
M250:=250;
VOL,VOLSTICK;
MA5:MA(VOL,M5);
MA35:MA(VOL,M35);
MA135:MA(VOL,M135);
MA250:MA(VOL,M250);
启动:CROSS(MA5,MA35),COLORYELLOW;
STICKLINE(启动=1,0,VOL,3,0),COLORYELLOW;
出击:CROSS(MA5,MA135),COLORMAGENTA;
STICKLINE(出击=1,0,VOL,3,0),COLORMAGENTA;
加仓:CROSS(MA35,MA135),COLORWHITE;
STICKLINE(加仓=1,0,MA35,3,0),COLORWHITE;
{WWW.}
量能多头:MA5>MA35 AND MA35>MA135,COLORRED;
STICKLINE(量能多头=1,0,VOL,3,0),COLORRED;
量能合格:VOL>MA250;
STICKLINE(量能合格=1,MA250,VOL,3,0),COLORGREEN;
牛气冲天:REF(启动=1,1) AND 出击=1;
STICKLINE(牛气冲天=1,VOL,3*VOL/4,3,0),COLORRED;
妖气冲天:启动=1 AND 出击=1 AND 量能合格;
STICKLINE(妖气冲天=1,0,MA250/3,3,0),COLORRED;
STICKLINE(妖气冲天=1,MA250/3,2*MA250/3,3,0),COLORYELLOW;
STICKLINE(妖气冲天=1,2*MA250/3,MA250,3,0),COLORMAGENTA;
霸气:启动=1 AND 出击=1 AND 加仓=1;