通达信富力综合共振 转载源码

VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,31);
VAR4:=LLV(LOW,5);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),13);
XΩ:IF(VAR5>REF(VAR5,1),VAR5,0),NODRAW,COLORGREEN;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.5,1),COLOR009F00;
波点:IF(VAR5<REF(VAR5,1),VAR5,0),NODRAW,COLORRED;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.5,1),COLOR871F78;
VAR6:=EMA(EMA(CLOSE,9),9);{股票指标网}
VAR7:=(VAR6-REF(VAR6,1))/REF(VAR6,1)*400;
STICKLINE(VAR7<0,VAR7,0,0.5,0),COLORFF4800;
STICKLINE(VAR7>REF(VAR7,1) AND VAR7<0,VAR7,0,0.5,0),COLOR4D4DFF;
STICKLINE(VAR7>REF(VAR7,1) AND VAR7>0,VAR7,0,0.5,0),COLORRED;
VAR8:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR7<REF(VAR7,1) AND VAR7>0,VAR7,0,0.5,0),COLORFF4800;
STICKLINE(VAR8>50 AND COST(85)<CLOSE AND VAR7>0,VAR7,0,0.5,0),COLOR3D3DFF;
VAR9:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*24-12;
 
K:SMA(VAR9,9,1);
D:SMA(K,3,1);
J:3*K-2*D;
VARK:K,COLORWHITE,LINETHICK2;
上升K:IF(VARK>REF(VARK,1),VARK,DRAWNULL),COLORRED,LINETHICK2;
走平K:IF(VARK=REF(VARK,1),VARK,DRAWNULL),COLORWHITE,LINETHICK2;
下降K:IF(VARK<REF(VARK,1),VARK,DRAWNULL),COLORFF2400,LINETHICK2;
VARD:D,COLORWHITE,LINETHICK2;
上升D:IF(VARD>REF(VARD,1),VARD,DRAWNULL),COLORMAGENTA,LINETHICK2;
走平D:IF(VARD=REF(VARD,1),VARD,DRAWNULL),COLORWHITE,LINETHICK2;
下降D:IF(VARD<REF(VARD,1),VARD,DRAWNULL),COLORGREEN,LINETHICK2;
VARJ:J,COLORWHITE;
上升J:IF(VARJ>REF(VARJ,1),VARJ,DRAWNULL),COLORRED;
走平J:IF(VARJ=REF(VARJ,1),VARJ,DRAWNULL),COLORWHITE;
下降J:IF(VARJ<REF(VARJ,1),VARJ,DRAWNULL),COLORBLUE;
STICKLINE(VARK>=0 AND VARK>=REF(VARK,1),0,0+VARD,0,1),COLOR9F9F5F;
STICKLINE(VARK>=0 AND VARK>=REF(VARK,1),0,0+VARJ,0,1),COLOR9F9F5F;
STICKLINE(VARD>=0 AND VARD>=REF(VARD,1),0,0+VARK,0,1),COLOR9F9F5F;
STICKLINE(VARD>=0 AND VARD>=REF(VARD,1),0,0+VARJ,0,1),COLOR9F9F5F;
STICKLINE(VARJ>=0 AND VARJ>=REF(VARJ,1),0,0+VARK,0,1),COLOR9F9F5F;
STICKLINE(VARJ>=0 AND VARJ>=REF(VARJ,1),0,0+VARD,0,1),COLOR9F9F5F;
STICKLINE(VARK>=0 AND VARK>=REF(VARK,1),0,0+VARK,0,1),COLOR9F9F5F;
STICKLINE(VARD>=0 AND VARD>=REF(VARD,1),0,0+VARD,0,1),COLOR9F9F5F;
STICKLINE(VARJ>=0 AND VARJ>=REF(VARJ,1),0,0+VARJ,0,1),COLOR9F9F5F;
STICKLINE(VARJ<=0 AND VARK>=REF(VARD,1),0,0+VARD,0,1),COLOR9F9F5F;
VAR10:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*24-12,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*24-12,5,1),3,1);
VAR11:=SMA(VAR10,5,4);
趋势:VAR10,NODRAW,COLOR00AAFF;
DRAWBAND(趋势,RGB(255,255,255),VAR11,RGB(0,0,155));

 



未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图