股票的公式有哪些?大智慧化掌为刀副图公式源码
2016-6-8 13:12:55 股票入门 http://rumen.southmoney.com
股票的公式有哪些?大智慧化掌为刀副图公式源码 附:大智慧三点要买副图公式源码 南方财富网小编为您提供
【大智慧化掌为刀副图公式源码】
Var1:=(CLOSE-LLV(LOW,2))/(HHV(HIGH,2)-LLV(LOW,2))*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">Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
D:=SMA(Var3,5,1)*20;
E:=ref(D,1);
进:Cross(d,e);
出:Cross(e,d);
DRAWTEXT(Cross(d,e),进,'进'),CoLorRED;
DRAWTEXT(Cross(e,d),出,'出'),CoLorYELLOW;
附:【大智慧三点要买副图公式源码】
{三点准买}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,29);
DEA:=EMA(DIF,9);
MD:(DIF-DEA)*2;
STICKLINE(MD>=REF(MD,1) AND MD>0,0,MD,7,0),COLORRED;
STICKLINE(MD<REF(MD,1) AND MD>0,0,MD,7,1),ColorC0C0C0;
STICKLINE(MD>REF(MD,1) AND MD<0,0,MD,7,0),ColorFF8000;
蓝柱:=if(MD>REF(MD,1) AND MD<0,8,0);
红柱:=if(MD>=REF(MD,1) AND MD>0,8,0);
DRAWTEXTABS(775,0,'三点准买:1,尾盘30分钟日线预选出▲及"买进拉升"信号股;'),Color00FF00;
DRAWTEXTABS(775,15,'要涨趋势: 2,查看其周线及大盘均在:兰柱缩短红柱伸高涨势;'),Color00FF00;
DRAWTEXTABS(775,30,'赚钱可期:3,末10分钟信号确定并要K线收红又过操作价可买入。'),Color00FF00;
操作价: MA((LOW+HIGH+CLOSE)/3,5),LINETHICK0,Color4080FF;
买:if(cross(c,操作价) and 蓝柱 AND REF("KDJ.J",1)<0 AND "KDJ.J">0,0.8,0),STICK,Color00FF00,linethick1;
var1:=4*SMA((CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100,5,1),3.2,1);
进: IF(cross(c,操作价) and 蓝柱 and CROSS(var1,8),0.6,0),ColorFFFFFF,STICK,linethick1;
MTM:=C-REF(C,1);
DX:=EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
拉:IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),0.3,0),Color0080FF,STICK,linethick1;
升:cross(DIF,DEA) and cross(MD,0) and cross(c,操作价) and 红柱,Color00FFFF,STICK,linethick1;
{上面信号无未来函数不会漂移
下面▼▲有未来函数可作趋势研判用,当▲和信号同时出现时更准}
▲:(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3)),linethick0,Color00FF00;
▼:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((▲=1),(-0.3),0,4,0),Color00FF00;
DRAWTEXT((▲=1),(-0.4),'▲'),Color00FF00,ALIGN1;
STICKLINE((▼=1),0.3,0,4,0),COLORff00ff;
DRAWTEXT((▼=1),0.5,'▼'),COLORff00ff,ALIGN1;
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。