同花顺仿操盘手波段操作主图源码

红色持股,蓝色持币,波段操作一目了然

EMA13:EMA(C,13),colorwhite;
 EMA21:EMA(C,21),coloryellow;
 EMA34:EMA(C,34),COLORFF00FF;
 EMA60:MA(C,60),COLORFFCC66;
 X1:=(C+L+H)/3;
 X2:=EMA(X1,6);
 X3:=EMA(X2,5);
 STICKLINE(X2>X3 AND C>EMA13,LOW,HIGH,0,1),colorred;
 STICKLINE(X2>X3 AND C>EMA13,CLOSE,OPEN,3,1),colorred;
 STICKLINE(X2<X3 AND C<EMA13,LOW,HIGH,0,1),COLORFFFF52;
 STICKLINE(X2<X3 AND C<EMA13,CLOSE,OPEN,3,0),COLORFFFF52;
 GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5));
 GR2:=EMA13>EMA21 AND EMA21>EMA34 AND EMA13>REF(EMA13,1);
 GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);
 GR4:=H=HHV(H,GR1);
 GR5:="MACD.MACD"(9,17,8)<REF("MACD.MACD"(9,17,8),1);
 GR6:=GR2 AND GR3 AND GR4;
 GR7:=GR2 AND GR3 AND GR4 AND GR5;
 GR8:=GR6 AND GR7;
 LC := REF(CLOSE,1);
 RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
 BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
换手:=100*V/CAPITAL;
 BB13:=ATAN(EMA13-REF(EMA13,1))*3.1416*10;
 EMA8:=EMA(C,8);
 AA1:=AMOUNT/VOL;
 BB1:=L<AA1*0.9;
 CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
 DD1:=L<MA(C,6)*0.921;
 EE1:=VOL<MA(V,5)*1.5;
 FF1:=BB1 AND CC1 AND DD1 AND EE1;
 DRAWTEXT(FF1,L*0.99,'买点'),COLOR00FF00;
 STICKLINE(FF1,H,L,0,0),COLOR00FF00;
 STICKLINE(FF1,O,C,3,1),LINETHICK2,COLOR00FF00;
 A2:=(C-REF(C,1))/REF(C,1)*100<1.02;
 A3:=H>MA(C,5)*1.12;
 AA:= A2 AND A3;
 DRAWTEXT(AA,H*1.05,'卖点'),COLORFF0000;
 STICKLINE(AA,H,L,3,0),COLORFF0000;





未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图