- UID
- 2
- 积分
- 2874674
- 威望
- 1387366 布
- 龙e币
- 1487308 刀
- 在线时间
- 13156 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
源码如下:- RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*200-100;
- K:SMA(RSV,9,1),colorffffff,LINETHICK2;
- D:SMA(K,5,1),color00ff00,LINETHICK2;
- J:3*K-2*D,LINETHICK0;
- STICKLINE(J>REF(J,1),HHV(J,3),LLV(J,3),1,0),COLOR0022FF;
- STICKLINE(J>REF(J,1),J,REF(J,1),6,0),COLOR0022FF;
- STICKLINE(J>REF(J,1),J,REF(J,1),3,0),COLOR0099FF;
- STICKLINE(J>REF(J,1),J,REF(J,1),1.5,0),COLOR00DDFF;
- STICKLINE(J>REF(J,1),J,REF(J,1),0,0),COLOR00DDFF;
- STICKLINE(J<REF(J,1),HHV(J,3),LLV(J,3),1,0),COLORFF2200;
- STICKLINE(J<REF(J,1),J,REF(J,1),6,0),COLORFF6600;
- STICKLINE(J<REF(J,1),J,REF(J,1),3,0),COLORFF9900;
- STICKLINE(J<REF(J,1),J,REF(J,1),1.5,0),COLORFFDD00;
- STICKLINE(J<REF(J,1),J,REF(J,1),0,0),COLORFFDD00;
- -100, DOTline,COLORff0000,LINETHICK1;
- -80, DOTline,COLORffff00,LINETHICK1;
- 50,DOTline,COLORBROWN,LINETHICK0;
- 80, DOTline,COLOR00ff00,LINETHICK1;
- 100, DOTline,COLOR0000aa,LINETHICK1;
- W:=BARSLAST(DISPSTATUS=1);
- DRAWTEXTREL(10,130,'可见K线:'+NUMTOSTRN(W+1,0)+'天'),color00ffff;
- 量:=(CLOSE - LLV(LOW,32)) / (HHV(HIGH,32) - LLV(LOW,32)) * 1.2 * CLOSE;
- 量1:=EMA(量,3);
- 量2:=EMA(量,5);
- RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*200-100;
- K:=SMA(RSV,9,1);
- D:=SMA(K,5,1);
- J:=3*K-2*D;
- drawbmp(量1 >= 量2 and 量1 >c*1.01 and j>70,50,'sell1.bmp');
复制代码 效果图如下:
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|