顧比均線(安全生命線、機(jī)構(gòu)能量線、多空生命量能)-股票指標(biāo)公式下載
顧比均線(主圖)
{18日收盤均價(jià)為安全生命線}
MA1:EMA(CLOSE,3),COLORFFFFFF,LINETHICK1;
MA2:EMA(CLOSE,5),COLORAAFFFF,LINETHICK1;
MA3:EMA(CLOSE,8),COLOR66FFFF,LINETHICK1;
MA4:EMA(CLOSE,10),COLOR22FFFF,LINETHICK1;
MA5:EMA(CLOSE,13),COLOR00FFAA,LINETHICK1;
MA6:EMA(CLOSE,15),COLOR00FF55,LINETHICK1;
安全生命線:EMA(C,18),COLOR00FF00,LINETHICK2;
MA8:EMA(CLOSE,30),COLORFFFF00,LINETHICK1;
MA9:EMA(CLOSE,35),COLORFFCC00,LINETHICK1;
MA10:EMA(CLOSE,40),COLORFF9900,LINETHICK1;
MA11:EMA(CLOSE,45),COLORFF6600,LINETHICK1;
MA12:EMA(CLOSE,50),COLORFF3300,LINETHICK1;
MA13:EMA(CLOSE,55),COLORFF0000,LINETHICK1;
{EMA(CLOSE,3),COLOR00FF33,LINETHICK2;}
VAR2:=(HIGH+LOW+CLOSE*2)/4;
VAR3:=EMA(VAR2,21);
VAR4:=STD(VAR2,21);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(EMA(VAR5,5)-25)*1.56;
AK:=EMA(VAR6,2)*1.22;
AD:=EMA(AK,2);
AJ:=3*AK-2*AD;
買進(jìn):DRAWICON(CROSS(AK,AD),L*0.98,1);
STICKLINE(C>REF(C,1),H,L,0,1),COLOR0000FF;
STICKLINE(C>REF(C,1),C,O,3.2,0),COLOR000033;
STICKLINE(C>REF(C,1),C,O,2.7,0),COLOR000066;
STICKLINE(C>REF(C,1),C,O,2.1,0),COLOR000099;
STICKLINE(C>REF(C,1),C,O,1.5,0),COLOR0000CC;
STICKLINE(C>REF(C,1),C,O,0.9,0),COLOR0000FF;
STICKLINE(C>REF(C,1),C,O,0.3,0),COLORCC66FF;
STICKLINE(C<REF(C,1),H,L,0,1),COLORFF4400;
STICKLINE(C<REF(C,1),C,O,3.2,0),COLOR990000;
STICKLINE(C<REF(C,1),C,O,2.7,0),COLORCC0000;
STICKLINE(C<REF(C,1),C,O,2.1,0),COLORFF4400;
STICKLINE(C<REF(C,1),C,O,1.5,0),COLORFF8800;
STICKLINE(C<REF(C,1),C,O,0.9,0),COLORFFCC00;
STICKLINE(C<REF(C,1),C,O,0.3,0),COLORFFFF00;
STICKLINE(C=REF(C,1),H,L,0,1),COLORFFFFFF;
STICKLINE(C=REF(C,1),C,O,3.2,0),COLOR555555;
STICKLINE(C=REF(C,1),C,O,2.7,0),COLOR777777;
STICKLINE(C=REF(C,1),C,O,2.1,0),COLOR999999;
STICKLINE(C=REF(C,1),C,O,1.5,0),COLORBBBBBB;
STICKLINE(C=REF(C,1),C,O,0.9,0),COLORDDDDDD;
STICKLINE(C=REF(C,1),C,O,0.3,0),COLORFFFFFF;
機(jī)構(gòu)能量線
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
機(jī)構(gòu)做空能量線: SMA(VAR1,3,1),LINETHICK2,COLORGREEN;
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
機(jī)構(gòu)做多能量線: SMA(VAR2,5,1)-8,LINETHICK2,COLORRED;
弱勢區(qū):20,POINTDOT,COLORGREEN;
強(qiáng)弱分水嶺:50,POINTDOT,COLORWHITE;
強(qiáng)勢區(qū):80,POINTDOT,COLORF00FF0;
多空生命量能
N 1 100 31
K 1 10 3
生命量能: EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),K)/4, STICK,COLORRED;
DRAWTEXT(生命量能>23,生命量能,''),COLORYELLOW;
DRAWICON(生命量能<1,3,1);
生命分水嶺: 10;
強(qiáng)勢: 21;