同花顺趋势线指标公式
-
相关简介:同花顺趋势线指标公式 关注下跌时趋势线与副线的关系,和上涨时关系.判断底顶非常有效,仔细研究.加如了强弱线,趋势线在强弱线之上运行时,参与安全性高些. 源码 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:=
-
文章来源:股海网作者:股海网发布时间:2016-01-10浏览次数:
同花顺趋势线指标公式
关注下跌时趋势线与副线的关系,和上涨时关系.判断底顶非常有效,仔细研究.加如了强弱线,趋势线在强弱线之上运行时,参与安全性高些.
源码
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;