大智慧经典版 大智慧三点准买公式源码
说明:
三点准买:1,尾盘30分钟日线预选出▲及"买进拉升"信号股;
要涨趋势: 2,查看其周线及大盘均在:兰柱缩短红柱伸高涨势;
赚钱可期:3,末10分钟确定信号并要K线收红又过操作价可买入。
不要怕上下三角的未来函数,它可帮助你趋势研判用:
当“▲”和信号同时出现时更准,可轻仓参与,确认涨势后加仓;当“▼”出现后可适当减仓,确认跌势后逃跑。
按指标严格操作,年收益可培增:
{三点准买}
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;
{三点准买选股}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,29);
DEA:=EMA(DIF,9);
MD:=(DIF-DEA)*2;
蓝柱:=MD>REF(MD,1) AND MD<0;
红柱:=MD>=REF(MD,1) AND MD>0;
操作价:=MA((LOW+HIGH+CLOSE)/3,5);
买:=if(cross(c,操作价) and 蓝柱 AND REF("KDJ.J",1)<0 AND "KDJ.J">0,0.8,0);
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.4,0);
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);
升:=cross(DIF,DEA) and cross(MD,0) and cross(c,操作价) and 红柱;
▲:=(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));
{优选}
股价:=OPEN;
流通盘:=FINANCE2(37);
ST:=STRFIND(stkname,'ST',1)>0;
S:=STRFIND(stkname,'S',1)>0;
停牌:=DYNAINFO(4)=0;
去掉:=not(ST) and not(停牌) and not(S);
优选:=股价<15 and 流通盘<40000 and 去掉;
优选 and (买 or 进 or 拉 or 升 or ▲);