花花白银 发表于 2010-3-7 08:28

<P>具体想法:有一个MACD零轴下二次金叉公式,想修改成零轴下(包括零轴)三次金叉,不知能做到否?先在这谢谢了!</P>
<P>二次金叉公式如下:DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);<BR>DEA:=EMA(DIFF,9);<BR>MACD:=2*(DIFF-DEA);<BR>JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA&gt;=0));<BR>二次金叉:CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=2,21)=1;</P>
<P>修改成三次金叉选股公式.通达信版<BR></P>

虎虎妞妞 发表于 2010-3-7 10:35

舜江侯 发表于 2010-3-8 13:08

<P>将其中的&nbsp;&nbsp; COUNT(JCCOUNT=2,21)=1;</P>
<P>改成</P>
<P>COUNT(JCCOUNT=3,21)=1;</P>
<P>试试~~</P>

花花白银 发表于 2010-3-11 19:07

thank you .tong guo

李战防新疆 发表于 2011-1-14 15:53

<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">七日线</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">:MA(CLOSE,7</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">十四日线</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">:MA(CLOSE,14</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">二十二日线</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">:MA(CLOSE,22</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">五十日线</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">:MA(CLOSE,50</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">);</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">A1:=CLOSE&gt;OPENANDCLOSE/OPEN&gt;1.03;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">A2:=</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">十四日线</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">&gt;</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">二十二日线</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">ANDCROSS(</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">七日线,十四日线</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">)</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">A3:=OPEN&lt;</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">二十二日线</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">ANDCLOSE&gt;</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">七日线;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; tab-stops: center 207.65pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">B1:= A1 AND A2 AND A3;<SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">DRAWTEXT (B1,LOW,</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">‘剑气冲天’</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT face="Times New Roman">)</FONT></SPAN><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,</SPAN><SPAN lang=EN-US style="FONT-SIZE: 14pt"><FONT
页: [1]
查看完整版本: 请求帮助,帮助修改通达信公式