股票的公式有哪些?飞狐草原黑马公式源码
2016-6-7 9:59:35 股票入门 http://rumen.southmoney.com
股票的公式有哪些?飞狐草原黑马公式源码 附:飞狐加仓提示主图公式源码 南方财富网小编为您提供
【飞狐草原黑马公式源码】
input:n(26,1,100),n1(4,1,100),n2(2,1,100);
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">Var1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,50))*100;
a: SMA(Var1,7,1),linethick2;
Var2:=SMA(a,5,1);
b: IF(CROSS(a,Var2) AND cross(ma(c,n1),ma(c,n2) and a>50) ,Var2*2,Var2),coloryellow;
VAR4:= EMA(CLOSE,10);
VAR5:= EMA(CLOSE,20);
草原黑马:if(CROSS(MA(CLOSE,1),MA(CLOSE,n)) and a-b>5 and var4>var5 ,Var2*2,var2),colorred;
//持币:(CROSS(MA(CLOSE,0),MA(CLOSE,n)) and a-b>2 and var4>var5 ),COLORGREEN;
持币:(a<b)*20,colorgreen;
持股: (a>b)*20,COLORRED;
//DRAWTEXT(CROSS(20,持股),low,' 持股 '),COLORYELLOW;
STICKLINE(a>Var2,a,b,30,60),colorred;
STICKLINE(a<Var2,a,Var2,30,60),colorgreen ;
附:【飞狐加仓提示主图公式源码】
VARzc3:=IF((CLOSE>REF(CLOSE,1)),88,0);
VARzc4:=IF(((CLOSE)/(REF(CLOSE,1))>1.10) AND ((HIGH)/(CLOSE)<1.01) AND (VARzc3>0),91,0);
DRAWTEXT((VARzc4>90),(LOW)*(0.94999998),'★加仓'),Color00FFFF;
VARQS2:=ema(ema(l,8),6)*0.799;
土:=VARQS2,Color0080FF;
{下轨道最低价买股指标;很简单的!l<ema(ema(l,8),6)*0.799;准确度99%!}
DRAWSL(l<ema(ema(l,8),6)*0.799,l,0,2,2),{color80FF00}COLORWHITE;
//////////
bbbb:=MA(LOW,5)*(1-5/100);
振幅均价:=(HHv(bbbb,5)+llv(bbbb,5))/2,colorwhite,linedot;
均线选股:=cross(振幅均价,c) and 振幅均价>ref(振幅均价,1),linethick0;
DRAWTEXT(cross(振幅均价,l) and 振幅均价>ref(振幅均价,1),L*0.998,'▲\n回\n马\n
枪'),colorred,ALIGN;
xxs:=MA(LOW,5)*(1-5/100),linedot;
xxs1:=MA(HIGH,5)*(1+5/100),linedot;
均线:=c,linethick2,colorgreen;
aaaa:=close/ref(close,3)<=0.85 and cross(c,xxs) and c>ref(c,1),linethick0 ;
DRAWTEXT(aaaa,L*0.995,'▲\n下\n影\n买'),colorred,ALIGN;
Bbaa:=cross(xxs1,c),linethick0;
DRAWTEXT(cross(xxs1,c),H*1.03,'▼\n开盘逃'),colorwhite,ALIGN;
dddd:=cross(c,xxs1),linethick0;
DRAWTEXT(dddd,h*1.02,'▼\n明日走'),COLORYELLOW,ALIGN;
eeee:=close/ref(close,2)<=0.9 and cross(c,xxs);
DRAWTEXT(eeee,L*0.995,'▲\n抢\n反\n弹'),colorred,ALIGN;
ffff:=REF(C,1)/REF(C,2)<=0.93 AND BETWEEN(C/REF(C,1),1.03,0.97) and close/ref(close,8)<=0.8
and between(ref(c,2)/ref(c,3),1.04,0.96) and between(ref(c,3)/ref
(c,4),1.04,0.96),linethick0,coloryellow;
DRAWTEXT(ffff,L*0.995,'▲\n明\n日\n板'),colorred,ALIGN;
VAR1R:=LLV(LOW,2)=LLV(LOW,16) AND CLOSE>=OPEN*1.04;
VAR2R:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
VAR3R:=VAR1R AND VAR2R;
DRAWTEXT(VAR3R,LOW,'▲\n低入 '),colorFFFF,ALIGN;
DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),HIGH*1.02,'▼\n卖出
'),COLORWHITE,ALIGN;
///////
A101:=MA(C,10)-MA(C,20),COLORRED,LINETHICK2;
B101:=A101>REF(A101,1) AND REF(A101,1)<REF(A101,2);
BL101:= BARSLAST(B101);
M101:=MA(C,10);
D101:= REF(M101,BL101)/HHV(MA(C,10),20+BL101)<0.8;
E101:= A101>REF(A101,1) AND BARSLAST(B101)>2 AND BARSLAST(B101)<12;
F101:= E101 AND D101 AND CROSS(C,MA(C,10));
DRAWTEXT(f101,L*0.995,'★\n均\n线\n走\n平'),COLORYELLOW,ALIGN;
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。