dxf17 发表于 2024-1-27 11:35:08

通达信指标公式分享:追庄之王

<p>效果图如下:仅供参考</p><p>指标不是万能的,请自我测试,注意投资风险。</p><p><br></p><p class="pgc-img-caption"></p><p>公式源码:</p><p>A:=LLV(L,34);</p><p>XD:=SMA(ABS(L-REF(L,1)),34,1);</p><p>CD:=SMA(MAX(L-REF(L,1),0),34,2);</p><p>收盘买:=-(EMA(IF(L&lt;=A,XD/CD,-3),9));</p><p>抢反弹:收盘买&lt;0 AND 收盘买&gt;REF(收盘买,1) AND REF(EVERY(收盘买&lt;REF(收盘买,1),3),1),COLORYELLOW;</p><p>RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);</p><p>J:=3*K-2*D;X2:=LLV(J,2)=LLV(J,8);B:CROSS(J,REF(J+0.01,1)) AND X2 AND J&lt;20 AND 收盘买&lt;0 AND 收盘买&gt;REF(收盘买,1),COLORRED;</p><p>B2:CROSS(J,REF(J+0.01,1)) AND X2 AND J&lt;20,COLORMAGENTA;DRAWTEXT(B2,0.35,&#39;★关注★&#39;),COLOR109090;B3:=抢反弹 AND REF(B2,1);</p><p>DRAWBAND(B2,RGB(255,100,30),B3,RGB(255,20,20));DRAWTEXT(B3,0.45,&#39;★不买更后悔★&#39;);</p><p>B4:=抢反弹 AND REF(B2,1)OR REF(B2,2);DRAWTEXT(B3,0.35,&#39;★反弹确认★&#39;),COLORYELLOW;STICKLINE(B3,0,0.43,2,0),COLORYELLOW;</p><p>STICKLINE(B,0,0.43,2,0),COLORRED;DRAWTEXT(B,0.35,&#39;★不买后悔★&#39;),COLORRED;</p><p>B8:=REF((CROSS(J,REF(J+0.01,1)) AND X2 AND J&lt;20),2) AND 抢反弹;</p><p>DRAWTEXT(B8,0.8,&#39;★阶段底部确认★&#39;),COLORYELLOW;DRAWBAND(B2,RGB(255,100,50),B8,RGB(255,30,30));</p><p>STICKLINE(B2,0,0.36,2,0),COLOR109090;STICKLINE(B2 AND REF(PSY&lt;=10,1),0,0.68,2,0),COLOR801090;</p><p>DRAWTEXT(B2 AND REF(PSY&lt;=10,1),0.68,&#39;★买点★&#39;),COLOR801090;</p><p>STICKLINE(B2 AND H&gt;O AND C=H AND L&lt;O AND L&gt;REF(L,1) AND C&gt;O AND REF((C&lt;O),1),0,0.18,2,0)COLOR801090;</p><p>DRAWTEXT(B2 AND H&gt;O AND C=H AND L&lt;O AND L&gt;REF(L,1) AND C&gt;O AND REF((C&lt;O),1),0.18,&#39;阶段底部低吸★&#39;),COLOR801090;</p><p>STICKLINE(B2 AND REF(RSI&lt;=20,1),0,0.10,2,0),COLOR900000;</p>

眼睛不能坏惫 发表于 2024-2-18 23:46:09

路过,学习下

慧眼识刚勾 发表于 2024-3-25 23:05:40

感谢楼主分享好资源

江仅鱼舜 发表于 2024-3-26 08:05:33

感谢分享好资源
页: [1]
查看完整版本: 通达信指标公式分享:追庄之王