ihzx 发表于 2021-8-21 14:01:55

大智慧红色主图指标公式

<p>这个公式B点很好用,结合红K白底买入,红色K线坚持持股,值的收藏!</p>
<p>MA5:MA(C,5),color000099;<br />
MA10:MA(C,10),color006600;<br />
MA20:MA(C,20),color005555;<br />
STICKLINE(c&gt;=ref(c,1),o,c,7,0),colorwhite;<br />
STICKLINE(c&lt;ref(c,1),o,c,7,0),colorgreen;<br />
A1:=EMA(CLOSE,5)&gt;EMA(CLOSE,6) and EMA(CLOSE,6)&gt;EMA(CLOSE,7) and EMA(CLOSE,7)&gt;EMA(CLOSE,8) and EMA(CLOSE,8)&gt;EMA(CLOSE,9)<br />
and EMA(CLOSE,9)&gt;EMA(CLOSE,10) and EMA(CLOSE,10)&gt;EMA(CLOSE,11) and EMA(CLOSE,11)&gt;EMA(CLOSE,12)<br />
and EMA(CLOSE,12)&gt;EMA(CLOSE,13) and EMA(CLOSE,13)&gt;EMA(CLOSE,14) and EMA(CLOSE,14)&gt;EMA(CLOSE,15)<br />
and EMA(CLOSE,15)&gt;EMA(CLOSE,20) and EMA(CLOSE,20)&gt;EMA(CLOSE,30) and EMA(CLOSE,30)&gt;EMA(CLOSE,60) and EMA(CLOSE,60)&gt;EMA(CLOSE,90)<br />
and EMA(CLOSE,90)&gt;EMA(CLOSE,120) and EMA(CLOSE,120)&gt;EMA(CLOSE,250);<br />
A2:=EMA(CLOSE,5)&gt;EMA(CLOSE,6) and EMA(CLOSE,6)&gt;EMA(CLOSE,7) and EMA(CLOSE,7)&gt;EMA(CLOSE,8) and EMA(CLOSE,8)&gt;EMA(CLOSE,9)<br />
and EMA(CLOSE,9)&gt;EMA(CLOSE,10) and EMA(CLOSE,10)&gt;EMA(CLOSE,11) and EMA(CLOSE,11)&gt;EMA(CLOSE,12)<br />
and EMA(CLOSE,12)&gt;EMA(CLOSE,13) and EMA(CLOSE,13)&gt;EMA(CLOSE,14);<br />
B1:=IF(a1,1,2);<br />
VAR1:=((CLOSE &gt; REF(CLOSE,1)) AND (CLOSE &gt; REF(CLOSE,2)));<br />
VAR2:=((REF(VAR1,1) AND (CLOSE &lt;= REF(CLOSE,1))) AND (CLOSE &gt;= REF(CLOSE,2)));<br />
VAR3:=((REF(VAR2,1) AND (CLOSE &gt;= REF(CLOSE,1))) AND (CLOSE &lt;= REF(CLOSE,2)));<br />
VAR4:=((REF(VAR3,1) AND (CLOSE &lt;= REF(CLOSE,1))) AND (CLOSE &gt;= REF(CLOSE,2)));<br />
VAR5:=((REF(VAR4,1) AND (CLOSE &gt;= REF(CLOSE,1))) AND (CLOSE &lt;= REF(CLOSE,2)));<br />
VAR6:=((REF(VAR5,1) AND (CLOSE &lt;= REF(CLOSE,1))) AND (CLOSE &gt;= REF(CLOSE,2)));<br />
VAR7:=((REF(VAR6,1) AND (CLOSE &gt;= REF(CLOSE,1))) AND (CLOSE &lt;= REF(CLOSE,2)));<br />
VAR8:=((REF(VAR7,1) AND (CLOSE &lt;= REF(CLOSE,1))) AND (CLOSE &gt;= REF(CLOSE,2)));<br />
VAR9:=((REF(VAR8,1) AND (CLOSE &gt;= REF(CLOSE,1))) AND (CLOSE &lt;= REF(CLOSE,2)));<br />
VARA:=((REF(VAR9,1) AND (CLOSE &lt;= REF(CLOSE,1))) AND (CLOSE &gt;= REF(CLOSE,2)));<br />
VARB:=((REF(VARA,1) AND (CLOSE &gt;= REF(CLOSE,1))) AND (CLOSE &lt;= REF(CLOSE,2)));<br />
VARC:=((REF(VARB,1) AND (CLOSE &lt;= REF(CLOSE,1))) AND (CLOSE &gt;= REF(CLOSE,2)));<br />
STICKLINE((((((((((((VAR1 OR VAR2) OR VAR3) OR VAR4) OR VAR5) OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR VARC),C,REF(C,1),7,0),Color0000DD;<br />
STICKLINE((((((((((((VAR1 OR VAR2) OR VAR3) OR VAR4) OR VAR5) OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR VARC),L,H,0.7,0),Color0000DD;<br />
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);<br />
HY1:=REF(EMA(V1,3),1);<br />
DRAWTEXT(CROSS(CLOSE,HY1),LOW,'B'),LINETHICK2,COLORYELLOW;</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 大智慧红色主图指标公式