同花顺趋势线指标公式

关注下跌时趋势线与副线的关系,和上涨时关系.判断底顶非常有效,仔细研究.加如了强弱线,趋势线在强弱线之上运行时,参与安全性高些.

源码

 

N:=120;

方向线:4*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-

3*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1),3.2,1), Color00FFFF  ,linethick2;

N:=10;

趋势:4*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-

3*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1),3.2,1),Color0000FF,linethick2;

阳线:IF(趋势<=8,5,0),ColorCD7F32 ,linethick3;

副线2:IF(趋势<=18,15,10),ColorC0C0C0, linethick1 ;

副线3:IF(趋势<=28,25,20),Color93DB70,linethick2;

副线4:IF(趋势<=38,35,30),ColorC0C0C0, linethick1 ;

副线5:IF(趋势<=48,45,40),Color0000FF,LINETHICK3;

副线6:IF(趋势<=58,55,50),ColorC0C0C0, linethick1 ;

副线7:IF(趋势<=68,65,60),Color93DB70,linethick2;

副线8:IF(趋势<=78,75,70),ColorC0C0C0, linethick1 ;

副线9:IF(趋势<=88,85,80),Color93DB70,linethick2;

副线10:IF(趋势<=98,95,90),ColorC0C0C0, linethick1 ;

副线11:IF(趋势<=108,105,100),Color00FF00,linethick2;

顶:IF(趋势<=118,115,110),Color0000FF,linethick1;

负线:IF(趋势>=-8,-6,-5),Color0000FF,linethick1;

底:IF(趋势>=-18,-15,-10),Color00FF00,linethick3;

线8:IF(方向线<=8,-12,-15),Color0000FF ,linethick1;

线20:IF(方向线<=28,-10,-15),Color00FFFF,linethick1;

线40:IF(方向线<=48,-8,-15),Color00FF00,linethick1;

线60:IF(方向线<=68,115,108),,ColorCD7F32 ,linethick1;

线80:IF(方向线<=88,115,110),ColorFFFFFF,linethick1;

线100:IF(方向线<=108,115,112),Color0000FF ,linethick1;

 




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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