ihzx 发表于 2021-8-21 12:52:34

买入安全区远离危险区(飞狐)

<p>VAR1:=LLV(LOW,37);<br />
VAR2:=HHV(HIGH,21);<br />
VAR3:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,20)*0.998;<br />
100,STICK,LINETHICK7, COLORFFCC33;<br />
90,,COLORred;<br />
95,,COLORyellow;<br />
80, STICK,LINETHICK7, COLORFF9933;<br />
50,STICK,LINETHICK7, COLORBLUE;<br />
20,STICK,LINETHICK7,COLORCC0033;<br />
20,,COLORWHITE;<br />
10,,COLORred,LINETHICK2;<br />
50,,COLORYELLOW;<br />
80,,COLORCYAN;<br />
DRAWTEXT(FILTER(CLOSE&gt;0,25),10,'高安全区'), COLORWHITE;<br />
DRAWTEXT(FILTER(CLOSE&gt;0,25),30,'安全区'),   COLORWHITE;<br />
DRAWTEXT(FILTER(CLOSE&gt;0,25),65,'危险区'),   COLORWHITE;<br />
DRAWTEXT(FILTER(CLOSE&gt;0,25),88,'极度危险区'),   COLORWHITE;<br />
当前安全度: EMA(0.667*REF(VAR3,1)+0.333*VAR3,1),CIRCLEDOT,LINETHICK2 ,COLORRED;<br />
STICKLINE(当前安全度&lt;=13,0,当前安全度,1,1),COLORyellow,LINETHICK3;<br />
STICKLINE(当前安全度&gt;=90,90,当前安全度,1,1),COLORgreen,LINETHICK3;</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 买入安全区远离危险区(飞狐)