金金乐 发表于 2024-7-8 14:45:45

大智慧追击反转改进版指标公式

      <div class="stock-fc-code-box">


<p>AA1:=filter(low=llv(low,13),8);<br>
AA2:=if(LLV(low,3)=llv(low,13) and close&lt;ref((high+low)/2,1),max(ref(llv(low,12),barslast(AA1)+1)-low,0),0);<br>
AA3:=ema(AA2,3)*3;<br>
AA4:=sumbars(AA3&gt;0,21);<br>
AA5:=sum(AA3,AA4)/21;<br>
AA6:=ref(AA3,1)=hhv(AA3,3) and ref(AA3,1)&gt;AA5*3 and count(close/ref(close,1)&lt;0.9025,8)=0 and isup and llv(low,3)/hhv(high,18)&lt;0.88;<br>
AA7:=(count("ddx.ddx"&gt;0,5)&gt;0 or not("ddx.ddx1"&lt;"ddx.ddx2" and "ddx.ddx2"&lt;"ddx.ddx3")) and count("ddx.ddx"&gt;ref("ddx.ddx",1),10)&gt;=4;<br>
反转:filter(AA6 and AA7,5),colorblack;<br>
stickline(close,0,AA3,8,1),coloryellow;<br>
stickline(反转,0,AA3,8,0),colorred;<br>
AA8:=filter(HIGH=HHv(HIGH,13),8);<br>
AA9:=if(HHV(HIGH,3)=HHv(HIGH,13) and close&gt;ref((high+low)/2,1),mIN(ref(HHv(HIGH,12),barslast(AA8)+1)-HIGH,0),0);<br>
AA10:=ema(AA9,3)*3;<br>
AA11:=sumbars(AA10&lt;0,21);<br>
AA12:=sum(AA10,AA11)/21;<br>
AA13:=ref(AA10,1)=hhv(AA10,3) and ref(AA10,1)&lt;AA12*3 and count(close/ref(close,1)&gt;0.9025,8)=0 and isup and HHV(HIGH,3)/hhv(high,18)&gt;0.88;<br>
AA14:=(count("ddx.ddx"&lt;0,5)&lt;0 or not("ddx.ddx1"&gt;"ddx.ddx2" and "ddx.ddx2"&gt;"ddx.ddx3")) and count("ddx.ddx"&gt;ref("ddx.ddx",1),10)&lt;=4;<br>
反转1:filter(AA13 and AA14,5),colorblack;<br>
stickline(close,0,AA10,8,1),coloryellow;<br>
stickline(反转1,0,AA10,8,0),colorred;<br>DRAWTEXTABS(1,10,'~☆~更多精选指标请访问:995168.cn'),COLORRED;</p>
<p></p>
</div>
页: [1]
查看完整版本: 大智慧追击反转改进版指标公式