通达信启动买入指标公式源码副图
<p data-first-child >通达信启动买入指标公式源码副图</p><p >HJ_1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;<br/>HJ_2:=SMA(Sma(HJ_1,3,1),3,1)/28.57;<br/>HJ_3:=EMA(HJ_2,5);<br/>HJ_4:=3*HJ_2-2*HJ_3;<br/>HJ_5:=crOSS(HJ_4,HJ_2) AND HJ_2<2.1 AND CLOSE>OPEN;<br/>stICKLINE(HJ_5,82,0,0.005,0),COLORRED;<br/>DRAWICON(HJ_5>0,85,13),COLORYELLOW;<br/>HJ_6:=CROSS(HJ_4,HJ_2) AND HJ_2<2.1 AND CLOSE>OPEN;<br/>HJ_7:=(2*CLOSE+HIGH+LOW)/4;<br/>HJ_8:=LLV(LOW,13);<br/>HJ_9:=HHV(HIGH,13);<br/>HJ_10:=EMA((HJ_7-HJ_8)/(HJ_9-HJ_8)*100,13);<br/>HJ_11:=EMA(0.667*REF(HJ_10,1)+0.333*HJ_10,2);<br/>HJ_12:=HJ_10;<br/>STICKLINE(HJ_10>HJ_11,HJ_10,HJ_11,3,0),COLOR0055AA;<br/>STICKLINE(HJ_10>HJ_11,HJ_10,HJ_11,2.8,0),COLOR0066BB;<br/>STICKLINE(HJ_10>HJ_11,HJ_10,HJ_11,2.5,0),COLOR0077CC;<br/>STICKLINE(HJ_10>HJ_11,HJ_10,HJ_11,2.2,0),COLOR0088DD;<br/>STICKLINE(HJ_10>HJ_11,HJ_10,HJ_11,1.7,0),COLOR0099EE;<br/>STICKLINE(HJ_10>HJ_11,HJ_10,HJ_11,1.2,0),COLOR00AAFF;<br/>STICKLINE(HJ_10>HJ_11,HJ_10,HJ_11,0.7,0),COLOR00CCFF;<br/>STICKLINE(HJ_10>HJ_11,HJ_10,HJ_11,0.2,0),COLORYELLOW;<br/>STICKLINE(HJ_10<=HJ_11,HJ_10,HJ_11,3,0),COLOR990099;<br/>STICKLINE(HJ_10<=HJ_11,HJ_10,HJ_11,2.8,0),COLOR990088;<br/>STICKLINE(HJ_10<=HJ_11,HJ_10,HJ_11,2.5,0),COLOR990077;<br/>STICKLINE(HJ_10<=HJ_11,HJ_10,HJ_11,2.2,0),COLOR990066;<br/>STICKLINE(HJ_10<=HJ_11,HJ_10,HJ_11,1.7,0),COLOR990055;<br/>STICKLINE(HJ_10<=HJ_11,HJ_10,HJ_11,1.2,0),COLORBB00BB;<br/>STICKLINE(HJ_10<=HJ_11,HJ_10,HJ_11,0.7,0),COLORDD00DD;<br/>STICKLINE(HJ_10<=HJ_11,HJ_10,HJ_11,0.2,0),COLORMAGENTA;<br/>DRAWTEXT(HJ_6,78,5),COLORCYAN;<br/>HJ_13:=10;<br/>底部区域:20,COLORLIRED;<br/>中轨:50,COLORYELLOW;<br/>高位:80,COLORLIBLUE;<br/>启动:EMA(0.382*REF(HJ_10,2)+0.618*HJ_10,6),COLORRED;<br/>IF(启动>REF(启动,1),启动,DRAWNULL),COLORRED,LINETHICK4;<br/>IF(启动<REF(启动,1),启动,DRAWNULL),COLORLIBLUE,LINETHICK2;<br/>买入:IF(CROSS(4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1),8),58,0),STICK,COLORYELLOW,LINETHICK3;<br/>STICKLINE(买入,50,0,3.5,0),COLORGREEN;<br/>STICKLINE(买入,50,0,3.4,0),COLORGREEN;<br/>STICKLINE(买入,50,0,3.1,0),COLORGREEN;<br/>STICKLINE(买入,50,0,2.8,0),COLOR009900;<br/>STICKLINE(买入,50,0,2.5,0),COLOR009900;<br/>STICKLINE(买入,50,0,2,0),COLOR009900;<br/>STICKLINE(买入,50,0,1.5,0),COLOR00BB00;<br/>STICKLINE(买入,50,0,0.9,0),COLOR00DD00;<br/>STICKLINE(买入,50,0,0.3,0),COLORGREEN;</p><p></p> thanks 很好的内容,感谢分享!
页:
[1]