- UID
- 2
- 积分
- 2893117
- 威望
- 1396590 布
- 龙e币
- 1496527 刀
- 在线时间
- 13326 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-12-26
|
大智慧神奇线副图指标公式源码[大智慧公式]
- DRAWGBKLAST(DATE>900101,STRIP(RGB(65,65,65),RGB(0,0,0),0));
- 趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1);
- PARTLINE(趋势,趋势>50),COLORRED,LAYER0;
- PARTLINE(趋势,趋势<50),COLORGREEN,LAYER0;
- FILLRGN(趋势,50,趋势>50,RGB(155,50,50));
- FILLRGN(趋势,50,50>趋势,RGB(0,100,50));
- RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
- K:=SMA(RSV,3,1);
- D:=SMA(K,3,1);
- TYP:=(HIGH+LOW+CLOSE)/3;
- CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
- DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
- DEA:=EMA(DIFF,6);
- MACD:=2*(DIFF-DEA);
- CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
- WARNING('',CURRENTTIME>180000 and CXH=5);
- DRAWTEXTREL(10 ,10 ,'');
- 转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);
- STICKLINE(转点=1,50,50,6,0),COLORYELLOW;
- STICKLINE(转点=0,50,50,6,0),COLORCYAN;
- 顶部:90,DOTLINE,COLORYELLOW;
- 底部:10,DOTLINE,COLORCYAN;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|