xx5566 发表于 2024-7-5 15:40:59

大智慧龙凤吉祥指标公式

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


<p>FILLRGN(9,10),color996633;<br>
FILLRGN(2,3),color993366;<br>
RSV:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;<br>
K:=SMA(RSV,13,1);<br>
龙凤吉祥:=SMA(K,3,1);<br>
我心依旧:=3*K-2*龙凤吉祥;<br>
龙凤吉祥1:=EMA(龙凤吉祥,2);<br>
龙凤吉祥2:=EMA(龙凤吉祥,5);<br>
龙凤吉祥3:=EMA(龙凤吉祥,8);<br>
STICKLINE(龙凤吉祥2&gt;=龙凤吉祥3,龙凤吉祥1,龙凤吉祥3,8,0),color00AAFF;<br>
STICKLINE(龙凤吉祥2&gt;=龙凤吉祥3,龙凤吉祥1,龙凤吉祥3,6.6,0),color00BBFF;<br>
STICKLINE(龙凤吉祥2&gt;=龙凤吉祥3,龙凤吉祥1,龙凤吉祥3,4.4,0),color00CCFF;<br>
STICKLINE(龙凤吉祥2&gt;=龙凤吉祥3,龙凤吉祥1,龙凤吉祥3,3.3,0),color00DDFF;<br>
STICKLINE(龙凤吉祥2&gt;=龙凤吉祥3,龙凤吉祥1,龙凤吉祥3,2.2,0),color00EEFF;<br>
STICKLINE(龙凤吉祥2&gt;=龙凤吉祥3,龙凤吉祥1,龙凤吉祥3,1.1,0),color00FFFF;<br>
STICKLINE(龙凤吉祥2&lt;=龙凤吉祥3,龙凤吉祥1,龙凤吉祥3,8,0),color10A210;<br>
STICKLINE(龙凤吉祥2&lt;=龙凤吉祥3,龙凤吉祥1,龙凤吉祥3,6,0),color10B210;<br>
STICKLINE(龙凤吉祥2&lt;=龙凤吉祥3,龙凤吉祥1,龙凤吉祥3,4,0),color10C210;<br>
STICKLINE(龙凤吉祥2&lt;=龙凤吉祥3,龙凤吉祥1,龙凤吉祥3,1.1,0),color10D210;<br>
T1:=龙凤吉祥2&gt;=龙凤吉祥3 AND 龙凤吉祥&lt;REF(龙凤吉祥,1);<br>
T2:=龙凤吉祥2&lt;龙凤吉祥3 AND 龙凤吉祥&gt;REF(龙凤吉祥,1);<br>
STICKLINE(T1,龙凤吉祥1,龙凤吉祥3,7,0),colorA0A0C0;<br>
STICKLINE(T1,龙凤吉祥1,龙凤吉祥3,3,0),colorDDDDFD;<br>
STICKLINE(T2,龙凤吉祥1,龙凤吉祥3,7,0),color338FDD;<br>
STICKLINE(T2,龙凤吉祥1,龙凤吉祥3,3,0),color33FFDD;<br>
【龙】:我心依旧,LINETHICK0,colorred;<br>
【凤】:龙凤吉祥,LINETHICK0,coloryellow;<br>
【龙】1:=EMA(【龙】,2);<br>
【龙】2:=EMA(【龙】,5);<br>
【龙】3:=EMA(【龙】,8);<br>
STICKLINE(【龙】2&gt;=【龙】3,【龙】1,【龙】3,8,0),color0000BB;<br>
STICKLINE(【龙】2&gt;=【龙】3,【龙】1,【龙】3,6,0),color0000CC;<br>
STICKLINE(【龙】2&gt;=【龙】3,【龙】1,【龙】3,4,0),color0000DD;<br>
STICKLINE(【龙】2&gt;=【龙】3,【龙】1,【龙】3,2,0),color0000EE;<br>
STICKLINE(【龙】2&gt;=【龙】3,【龙】1,【龙】3,1,0),color0000FF;<br>
STICKLINE(【龙】2&lt;=【龙】3,【龙】1,【龙】3,8,0),colorFFBB11;<br>
STICKLINE(【龙】2&lt;=【龙】3,【龙】1,【龙】3,6,0),colorFFCC22;<br>
STICKLINE(【龙】2&lt;=【龙】3,【龙】1,【龙】3,4,0),colorFFDD33;<br>
STICKLINE(【龙】2&lt;=【龙】3,【龙】1,【龙】3,1.1,0),colorFFEE44;<br>
T1A:=【龙】2&gt;=【龙】3 AND 【龙】&lt;REF(【龙】,1);<br>
T2A:=【龙】2&lt;【龙】3 AND 【龙】&gt;REF(【龙】,1);<br>
STICKLINE(T1A,【龙】1,【龙】3,8,0),color10A210;<br>
STICKLINE(T1A,【龙】1,【龙】3,6,0),color10B210;<br>
STICKLINE(T1A,【龙】1,【龙】3,4,0),color10C210;<br>
STICKLINE(T1A,【龙】1,【龙】3,1.1,0),color10D210;<br>
龙凤吉祥5:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;<br>
【龙凤吉祥】:IF(龙凤吉祥5&lt;=0,龙凤吉祥5,21),LINETHICK0,colorFF00ff;<br>
vertline(【龙凤吉祥】&gt;=0.1,2),coloryellow;<br>DRAWTEXTABS(1,10,'~☆~更多精选指标请访问:995168.cn'),COLORRED;</p>
<p></p>
</div>
页: [1]
查看完整版本: 大智慧龙凤吉祥指标公式