天空浮桥,解开通达信公式源码分享 副图

 2022-06-17 09:30:54    通达信指标网  

{公式名称: 天空浮桥

公式类型: 技术指标公式-其他类型
画线方法: 副图
公式源码:}
VAR1:=EMA(REF(CLOSE,1),4);
VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
STICKLINE(VAR2,0,150,100,0),COLORLIBLUE;
STICKLINE(VAR2,0,(-50),100,0),COLORBLUE;
STICKLINE(VAR2>0,0,VAR2,3,0),COLOR4F4F2F;
STICKLINE(VAR2>0 AND VAR2<=20,VAR2,20,3,0),COLORYELLOW;
VAR3:=100*EMA(100*(HIGH-REF(LOW,1))/REF(LOW,1)-2.618,2);
VAR4:=VOL/CAPITAL/100<0.015;
VAR5:=CLOSE/REF(CLOSE,1)>1.05 AND CLOSE>OPEN;
VAR6:=CLOSE<=1.47*LLV(CLOSE,58) AND CLOSE<=15;
VAR7:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
VAR8:=IF(VAR4 AND VAR5 AND VAR7<40,1,0);
VAR9:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR10:=SMA(VAR9,9,1);
VAR11:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR12:=EMA(VAR11,9);
VAR13:=2000*(2*(VAR11-VAR12))/EMA(CLOSE,30);
VAR14:=SMA(VAR10,3,1);
VAR15:=SMA(VAR14,2,1);
VAR16:=SMA(VAR15,5,1);
VAR17:=VAR15-VAR16>REF(VAR15-VAR16,5);
STICKLINE(VAR13>=0,0,VAR13,3,0),COLORGRAY;
STICKLINE(VAR13>=0 AND VAR13>REF(VAR13,1),0,VAR13,3,0),COLORLIGRAY;
STICKLINE(VAR13<0,0,0.3*VAR13,3,0),COLORGRAY;
STICKLINE(VAR13<0 AND VAR13>REF(VAR13,1),0,0.3*VAR13,0.1,0),COLORYELLOW;
VAR18:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
VAR19:=SMA(VAR18,3,1);
VAR20:=SMA(VAR19,2,1);
VAR21:=SMA(VAR20,5,1);
STICKLINE(VAR15>=VAR16,VAR16,VAR15,2,0),COLORRED;
STICKLINE(VAR15<VAR16,VAR16,VAR15,2,0),COLORWHITE;
STICKLINE(VAR20>=VAR21,VAR21,VAR20,1,0),COLORMAGENTA;
STICKLINE(VAR20<VAR21,VAR21,VAR20,1,0),COLORB56C00;
DRAWTEXT(VAR2<3.5,(-30),117),COLORDBDBDB;
DRAWTEXT(VAR2<3.5,(-30),118),COLORYELLOW;
DRAWTEXT(CROSS(0,VAR13) AND VAR2>75,120,119),COLORWHITE;
DRAWTEXT(CROSS(VAR2,90),98,120),COLORBROWN;
DRAWTEXT(FILTER(VAR13<0 AND VAR13>REF(VAR13,1) AND VAR2<20,5) AND VAR17,(-1),121),COLORBROWN;
20,COLORBLUE;
90,COLORLIMAGENTA;

3.5,COLORYELLOW;


  •  标签:  

原文链接:https://www.tdxzb.com/?id=368

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服