通达信指标公式源码五行量化副图指标
<p data-first-child></p><p class="ztext-empty-paragraph"><br/></p><p >公式源码:<br/></p><p >X_1:=EMA(100*(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)),13)/4;</p><p >X_2:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);</p><p >X_3:=(X_2-LLV(X_2,21))/(HHV(X_2,21)-LLV(X_2,21))*4*25;</p><p >X_4:=CROSS(X_3,18);</p><p >X_5:=MA(CLOSE,20);</p><p >X_6:=CLOSE>MA(CLOSE,5);</p><p >X_7:=MA(CLOSE,5)>MA(CLOSE,10);</p><p >X_8:=CLOSE>MA(CLOSE,10);</p><p >X_9:=MA(CLOSE,5)>MA(CLOSE,20);</p><p >X_10:=CLOSE>MA(CLOSE,20);</p><p >X_11:=REF(X_5,1);</p><p >X_12:=X_5>X_11;</p><p >X_13:=IF(X_6,10,0-10)+IF(X_7,10,0-10)+IF(X_8,10,0-10)+IF(X_9,10,0-10)+IF(X_10,10,0-10)+IF(X_12,10,0-10);</p><p >X_14:=CLOSE>MA(LOW,20)*1.1;</p><p >X_15:=EMA(100*(1-WINNER(1.1*CLOSE)),1)=0;</p><p >X_16:=VOL*(CLOSE-OPEN)/(CLOSE+OPEN);</p><p >X_17:=EMA(VOL*(CLOSE-OPEN)/(CLOSE+OPEN),38);</p><p >X_18:=EMA(X_17,8);</p><p >X_19:=MA(X_18,3);</p><p >X_20:=MA(X_18,10);</p><p >X_21:=X_19>X_20 AND X_20>0;</p><p >X_22:=(MA(CLOSE,1)+MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,7)+MA(CLOSE,9))/5;</p><p >X_23:=(MA(CLOSE,2)+MA(CLOSE,4)+MA(CLOSE,6)+MA(CLOSE,8)+MA(CLOSE,10))/5;</p><p >X_24:=EMA(X_22,3);</p><p >X_25:=EMA(X_23,10);</p><p >X_26:=EMA(AMOUNT,1)/EMA(VOL,1)/100;</p><p >X_27:=DMA(X_24,X_26);</p><p >X_28:=DMA(X_25,X_26);</p><p >X_29:=MAX(2*(X_27-X_28),0)*100;</p><p >X_30:=X_29>0 AND X_29>REF(X_29,1);</p><p >STICKLINE(CLOSE,0,1,4,1),COLORGRAY;</p><p >STICKLINE(CLOSE,0,0.8,4,1),COLORGRAY;</p><p >STICKLINE(CLOSE,0,0.6,4,1),COLORGRAY;</p><p >STICKLINE(CLOSE,0,0.4,4,1),COLORGRAY;</p><p >STICKLINE(CLOSE,0,0.2,4,1),COLORGRAY;</p><p >X_31:=X_14>0 AND X_30>0 AND X_21>0 AND X_13=60 AND X_1>10;</p><p >DRAWICON(X_14>0,1,41);</p><p >DRAWICON(X_30>0,0.7,30);</p><p >DRAWICON(X_4>0,0.7,28);</p><p >DRAWICON(X_21>0,0.5,40);</p><p >DRAWICON(X_13=60,0.3,1);</p><p >DRAWICON(X_1>10,0.1,38);</p> 找了很久的东西! 找到好贴不容易,我顶你了,谢了 感谢! 居然有免费的,很好 相当不错,感谢无私分享精神!
页:
[1]