- UID
- 2
- 积分
- 2874674
- 威望
- 1387366 布
- 龙e币
- 1487308 刀
- 在线时间
- 13156 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
源码如下:- B1:=MA(C,1);
- 趋势1:SMA(SMA(SMA(B1,2,1),2,1),2,1),colorred,LINETHICK;
- 趋势2:=MA(趋势1,3),ColorFF00FF,LINETHICK0;
- 停损下限:IF(LLV(MA(趋势1,2),2)<趋势1,LLV(MA(趋势1,2),2),趋势1);
- iii:=EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CLOSE+OPEN)/3,27),1);
- ggg:=EMA((LOW+CLOSE+OPEN)/3,28)<REF(EMA((LOW+CLOSE+OPEN)/3,27),1);
- PARTLINE(停损下限,iii,RGB(255,0,0),ggg,RGB(0,255,0)),LINETHICK3;
- 压力:=HHV(MA(趋势1,2),2),coloryellow;
- Var11:=ZIG(3,6)>REF(ZIG(3,6),1)
- AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2)
- AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
- Var12:=ZIG(3,6)<REF(ZIG(3,6),1)
- AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2)
- AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
- Var13:=ZIG(3,22)>REF(ZIG(3,22),1)
- AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2)
- AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
- Var14:=ZIG(3,22)<REF(ZIG(3,22),1)
- AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2)
- AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
- Var15:=ZIG(3,51)>REF(ZIG(3,51),1)
- AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2)
- AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
- Var16:=ZIG(3,51)<REF(ZIG(3,51),1)
- AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2)
- AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
- Var17:=ZIG(3,72)>REF(ZIG(3,72),1)
- AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2)
- AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
- Var18:=ZIG(3,72)<REF(ZIG(3,72),1)
- AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2)
- AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
- Var19:=EMA(C,2)-EMA(C,150);
- 买点1:=(Var11+Var13+Var15+Var17);
- 买点2:=(Var13+Var15+Var17);
- 卖点1:=(Var12+Var14+Var16+Var18);
- 卖点2:=(Var14+Var16+Var18);
- STICKLINE( 买点1>0 ,H,L, 10,1),colorwhite,linethick1;STICKLINE( 买点1>0,O,C,6,0),colorwhite,linethick1;
- STICKLINE( 买点2>0 ,H,L, 10,1),colorwhite,linethick1;STICKLINE( 买点2>0,O,C,6,0),colorred,linethick1;
- STICKLINE( 卖点1>0,H,L, 11,5),colorblue,linethick1;STICKLINE( 卖点1>0,O,C,6,0),colorbrown,linethick1;
- STICKLINE( 卖点2>0,H,L, 11,5),colorblue,linethick1;STICKLINE( 卖点2>0,O,C,6,0),colorwhite,linethick1;
- DRAWTEXT(卖点2>0, H,'顶'),colorblue,linethick3;
- DRAWTEXT(买点2>0, L,'底'),COLORFF00FF,linethick3;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|