通达信股道生银副图+选股源码


VAR1:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
VAR2:=SMA(VAR1,20,1);
VAR3:=SMA(VAR2,15,1);
VAR4:=100-3*VAR2+2*VAR3;
VAR5:=IF(VAR4>REF(VAR4,1),VAR4,VAR4-5);
VAR6:=HHV(HIGH,25);
VAR7:=LLV(LOW,25);
VAR8:=EMA((CLOSE-VAR7)/(VAR6-VAR7)*100,5);
VAR9:=VAR4>VAR5 AND VAR8>=REF(VAR8,1);
VAR10:=VAR4>VAR5;
VAR11:=MAX(CLOSE,EMA(CLOSE, 13));
VAR12:=REF(C,1);
VAR13:=HHV(VAR12,2);
VAR14:=REF(VAR13,1);
VAR15:=LLV(VAR12,2);
VAR16:=REF(VAR15,1);
VAR17:=BARSLAST(C< VAR15 AND VAR12>=VAR16);
VAR18:=REF(VAR17,1);
VAR19:=BARSLAST(C>VAR13 AND VAR12<=VAR14);
VAR20:=REF(VAR19,1);
VAR21:=IF(VAR17-VAR19>0 AND VAR18<=VAR20,1,IF(VAR19-VAR17>0 AND VAR20<=VAR18,0,2));
VAR22:=MAX(CLOSE, VAR11);
VAR23:=MIN(CLOSE, VAR22);
VAR24:=VAR21=1;
VAR25:=VAR23>=REF(VAR23,1) AND VAR23=VAR22;
VAR26:=VAR23=VAR22;
蓝色空仓阶段:STICKLINE(VAR8,0,2,10,0),COLORBLUE;
短线持仓阶段:STICKLINE(VAR9 AND VAR25,0,2,10,0),COLORRED;
中线上涨趋势:STICKLINE(VAR10 AND VAR26,0,1,10,0),COLORGREEN;
DRAWTEXT((VAR9 AND VAR25) AND REF((VAR9 AND VAR25),1)=0,1.5,'关注'),COLORYELLOW;
DRAWICON(VAR24 AND VAR9 AND VAR25 ,2,5);

笑脸选股公式如下 : 


VAR1:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
VAR2:=SMA(VAR1,20,1);
VAR3:=SMA(VAR2,15,1);
VAR4:=100-3*VAR2+2*VAR3;
VAR5:=IF(VAR4>REF(VAR4,1),VAR4,VAR4-5);
VAR6:=HHV(HIGH,25);
VAR7:=LLV(LOW,25);
VAR8:=EMA((CLOSE-VAR7)/(VAR6-VAR7)*100,5);
VAR9:=VAR4>VAR5 AND VAR8>=REF(VAR8,1);
VAR11:=MAX(CLOSE,EMA(CLOSE, 13));
VAR12:=REF(C,1);
VAR13:=HHV(VAR12,2);
VAR14:=REF(VAR13,1);
VAR15:=LLV(VAR12,2);
VAR16:=REF(VAR15,1);
VAR17:=BARSLAST(C< VAR15 AND VAR12>=VAR16);
VAR18:=REF(VAR17,1);
VAR19:=BARSLAST(C>VAR13 AND VAR12<=VAR14);
VAR20:=REF(VAR19,1);
VAR21:=IF(VAR17-VAR19>0 AND VAR18<=VAR20,1,IF(VAR19-VAR17>0 AND VAR20<=VAR18,0,2));
VAR22:=MAX(CLOSE, VAR11);
VAR23:=MIN(CLOSE, VAR22);
VAR24:=VAR21=1;
VAR25:=VAR23>=REF(VAR23,1) AND VAR23=VAR22;
选股:VAR24 AND VAR9 AND VAR25;




来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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