1、生命线:股票的生命线指标就是指股票市场指数或股票维持活跃的标准,通常是指30日均线。这一指标公式的卖点并不是很精确,可是假如股票依照这一指数的卖点售出。倘若跌穿或将要跌穿,代表着这时需要回避,但假如突破或远远超出则需要干预;
2、决策线:决策线通常指60日均线成交价线,即60日均价钱,通常代表中线上投资者的成本线,时间范围是一个季度。因而,一旦股价跌穿60日均线或涨过60日均线,就等同于中线的投资者需要决定买进或售出的时间,因此叫决策线。
股票生命线指标公式
源码:
VA6:=(2*CLOSE+HIGH+LOW)/4;
VA8:=LLV(LOW,34);
VARB:=HHV(HIGH,34);
VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
生命线:EMA(VARD,60), COLORFF00FF,LINETHICK2;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=((VAR2)/(VAR1))*(100)-70;
VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF((VAR9>100),VAR9-100,0);
VAR11:=HHV(HIGH,34);
:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);
B2:=EMA(B1,5);
STICKLINE(B1-B2>0,B1,B2,4,0),COLORFFFFFF;
STICKLINE(B1-B2<0,B1,B2,4,0),COLORFFFF52;
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:= MA(SS1,4);
SS3:=HHV(SS2,10);
SS4:=MA(SS3,3);
SS5:=1.25*SS4-0.25*SS3;
XKKJ:=IF(SS5>SS3,SS3,SS5);
FF1:=LLV(SS2,10);
FF2:=MA(FF1,3);
FF3:=1.25*FF2-0.25*FF1;
DKKJ:=IF(FF3
M3:=MA(C,13);
ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);
ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);
大黑马:IF(ZDHM OR ZHM,50,0),COLORYELLOW,POINTDOT;
DRAWTEXT(大黑马,55,' 大黑马'),COLORRED,LINETHICK5;
STICKLINE(大黑马>0,0,大黑马*1.1,1,0),COLORWHITE;
STICKLINE(大黑马>0 AND 大黑马<52,30,大黑马,1,0),COLORRED;
STICKLINE(大黑马>0,0,大黑马*0.8,4,0),COLORRED; STICKLINE(大黑马>0,0,大黑马*0.4,8,0),COLORRED;
STICKLINE(大黑马>0,0,大黑马*0.2,10,0),COLORYELLOW; STICKLINE(大黑马>0,0,大黑马*0.1,10,0),COLORFFCC66;DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;