大智慧副图公式源码 大智慧三点要买副图公式源码
2014-12-16 9:47:25 股票入门 http://rumen.southmoney.com
南方财富网带来大智慧副图公式源码 大智慧三点要买副图公式源码:
{三点准买}
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;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。