通达信快慢趋势副图源码

快慢趋势

VAR2V:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
快线: SMA(VAR2V,5,1)-8,LINETHICK2,COLORRED COLORCYAN COLORB6B6B6;
趋势F:=XMA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLOR3377CC;
趋势8:=XMA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD;
绿线?:XMA(趋势F,7)*1.372, COLORWHITE COLORGREEN,LINETHICK2;
 AA:=(O+H+L+C)/4;
 BB:=MA(AA,3); 

 CC:=SUM(IF(AA> REF(AA,1),AA*VOL,0),4)/SUM(IF(AA< REF(AA,1),AA*VOL,0),4);
 DD:=REF(100-(100/(1+CC)),1);
 A1:=HHV(AA,15);
 A2:=LLV(AA,15);
 A3:=A1-A2;
 A4:=EMA((AA-A2)/A3,2)*100;
 B1:=HHV(AA,60);
 B2:=LLV(AA,60);
 B3:=B1-B2;
 B4:=EMA((AA-B2)/B3,2)*100;
 C1:=HHV(AA,240);
 C2:=LLV(AA,240);
 C3:=C1-C2;
 C4:=EMA((AA-C2)/C3,2)*100;
白线:C4,COLORGREEN COLORWHITE,LINETHICK2;
 V10:=PEAKBARS(3,15,1)<10;
 V12:=IF(V10=1,50,0);
 A:=REF(C,1);
 RSI:=SMA(MAX(C-A,0),6,1)/SMA(ABS(C-A),6,1)*100;
 A8:=RSI<20;
 ZF:=(C/REF(C,1)-1)*100;
深坑:=IF(BETWEEN(A8,0,5) AND L<=REF(C,A8)AND ZF<=-5 ,20,0),COLORFF0000,LINETHICK2;
 CD:= C>=O AND REF(深坑 ,1)=20 AND REF(RSI,1)<20 ;
 DRAWICON(C>O AND REF(深坑 ,1)=20 AND REF(RSI,1)<20,L*0.9,9);




未来函数检测结果如下:
该公式包含未来函数:PEAK
该公式包含未来函数:PEAKBARS
该公式包含未来函数:XMA
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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