A股小妖女 发表于 2024-5-14 04:25:06

通达信公式AI机器狗主图指标公式源码

<p data-first-child >指标源码:</p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p >MA5:MA(C,5);<br/>MA10:MA(C,10);<br/>MA20:MA(C,20);<br/>VAR1:=(CLOSE+HIGH+LOW)/3;<br/>VAR2:=EMA(VAR1,10);<br/>VAR3:=REF(VAR2,1);<br/>STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.8,0),COLOR000088;<br/>STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.6,0),COLOR000099;<br/>STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.4,0),COLOR0000AA;<br/>STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.2,0),COLOR0000BB;<br/>STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.0,0),COLOR0000CC;<br/>STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.8,0),COLOR0000DD;<br/>STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.5,0),COLOR0000EE;<br/>STICKLINE((VAR2>VAR3),CLOSE,OPEN,1,0),COLOR0000FF;<br/>STICKLINE((VAR2>VAR3),LOW,HIGH,0.0,0),COLOR0000FF;<br/>STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.8,0),COLOR888800;<br/>STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.6,0),COLOR999900;<br/>STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.4,0),COLORAAAA00;<br/>STICKLINE((VAR3>VAR2),CLOSE,OPEN,2,2),COLORBBBB00;<br/>STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.0,0),COLORCCCC00;<br/>STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.8,0),COLORDDDD00;<br/>STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.5,0),COLOREEEE00;<br/>STICKLINE((VAR3>VAR2),CLOSE,OPEN,1,0),COLORFFFF00;<br/>STICKLINE((VAR3>VAR2),LOW,HIGH,0.0,0),COLORFFFF00;<br/>STICKLINE((OPEN>CLOSE),CLOSE,OPEN,0,0),COLORFFFF00;<br/>STICKLINE((OPEN<CLOSE),CLOSE,OPEN,0,0),COLORRED;<br/>C4:=CROSS(VAR2,VAR3);<br/>C5:=CROSS(VAR3,VAR2);<br/>DRAWICON(C4,LOW-0.2,7);<br/>DRAWICON(C5,HIGH+0.2,8);<br/>A1AA:=9;<br/>A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);<br/>DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.03),'小心变盘'),COLORFFFFFF;<br/>DRAWTEXT(CROSS(83,RSI),H*1.04,' 逃顶')COLORYELLOW;</p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p >选股源码:</p><p >MA5:=MA(C,5);<br/>MA10:=MA(C,10);<br/>MA20:=MA(C,20);<br/>VAR1:=(CLOSE+HIGH+LOW)/3;<br/>VAR2:=EMA(VAR1,10);<br/>VAR3:=REF(VAR2,1);<br/>C4:CROSS(VAR2,VAR3);</p><p >指标买卖点出现的比较频繁,结合一些指标去做上升趋势的个股成功率很高。缺点卖点有时候有点不靠谱,都要亏成狗了。</p>
页: [1]
查看完整版本: 通达信公式AI机器狗主图指标公式源码