通达信强势买入副图 一气呵成强拉升 用法详解 源码附图

VAR1:=DATE>=2012120199-19000000;
VAR2:=VAR1=1 AND DAY>=1 AND DAY<=15 AND MOD(MONTH,2)=MOD(INTPART(2012120199/100),2);
VAR3:=COUNT(VAR1=1,0)=1 OR VAR2>REF(VAR2,1);
VAR4:=VAR3=1 AND COUNT(VAR3=1,20)<2 AND CURRBARSCOUNT<=20 AND FROMOPEN>60;
VAR5:=VAR1=1 AND BARSLAST(VAR4=1)>=5=1;
VAR6:=(INDEXC-MA(INDEXC,2*20))/MA(INDEXC,2*20)*100;
VAR7:=IF(INDEXC>0,EMA(VAR6,20),DRAWNULL);
VAR8:=IF(INDEXC>0,EMA(VAR7,20/2),DRAWNULL);
VAR9:=(C-MA(C,2*20))/MA(C,2*20)*100;
VAR10:=EMA(EMA(VAR9,20),20/2);
VAR11:=EMA(EMA(VAR9,20)-VAR10,20/4)*2;
VAR12:=IF(VAR5,DRAWNULL,VAR8);
VAR13:=IF(VAR5,DRAWNULL,VAR10);
VAR14:=IF(VAR5,DRAWNULL,VAR10-VAR8);
VAR15:=IF(VAR5,DRAWNULL,EMA(VAR9,20));
VAR16:=IF(VAR5,DRAWNULL,VAR11);
VAR17:=VAR16>REF(VAR16,1) AND REF(VAR16,1)<=REF(VAR16,2);
VAR18:=VAR15>REF(VAR15,1) AND REF(VAR15,1)<=REF(VAR15,2);
VAR19:=((VAR18=1 AND VAR16>REF(VAR16,1)) OR (VAR17=1 AND VAR15>REF(VAR15,1))) AND VAR15<VAR13;
VAR20:=CROSS(VAR15,VAR13);
VAR21:=CROSS(VAR15,0)=1 AND VAR15>VAR13;
VAR22:=VAR16<REF(VAR16,1) AND REF(VAR16,1)>=REF(VAR16,2);
VAR23:=VAR22=1 AND VAR15>VAR13;
VAR24:=VAR15<REF(VAR15,1) AND REF(VAR15,1)>=REF(VAR15,2);
VAR25:=((VAR24=1 AND VAR16<REF(VAR16,1)) OR (VAR22=1 AND VAR15<REF(VAR15,1))) AND VAR15>VAR13;
VAR28:=CROSS(VAR13,VAR15);
VAR29:=CROSS(0,VAR15)=1 AND VAR15<VAR13;
适度介入区:(VAR12-REF(VAR12,1)>0 AND VAR12<0)*0.60,STICK,COLOR00FFFF;
介入区:(VAR12-REF(VAR12,1)>0 AND VAR12>=0)*0.80,STICK,COLOR0000FF;
适度撤离区:(VAR12-REF(VAR12,1)<0 AND VAR12>=0)*0.40,STICK,COLOR00FF00;
撤离区:(VAR12-REF(VAR12,1)<0 AND VAR12<0)*0.20,STICK,COLORFFFF00;
买入点:VAR19=1 OR VAR20=1=1 OR VAR21=1,NODRAW,COLOR00FFFF;
卖出点:VAR25=1 OR VAR28=1=1 OR VAR29=1,NODRAW,COLOR00FF00;
强势:VAR15>VAR13 AND VAR14>0.005 AND VAR14>REF(VAR14,1),COLORFFFFFF;
强势起点:CROSS(VAR15,VAR13) OR CROSS(VAR14,0.005) OR CROSS(VAR14,REF(VAR14,1)) AND 强势=1,NODRAW,COLORFF00FF;
DRAWICON(VAR17=1 AND VAR15<VAR13=1 AND IF(VAR5,0,1),1.25,26);
DRAWICON(VAR23=1 AND IF(VAR5,0,1),1.25,24);
DRAWICON(VAR19=1 AND NOT(VAR20=1 OR VAR21) AND IF(VAR5,0,1),0.08,11);
DRAWICON(VAR20=1=1 OR VAR21=1 AND IF(VAR5,0,1),IF(VAR15>0,0.5,0.28),1);
DRAWICON(VAR25=1 AND NOT(VAR28=1 OR VAR29) AND IF(VAR5,0,1),0.95,12);
DRAWICON(VAR28=1=1 OR VAR29=1 AND IF(VAR5,0,1),IF(VAR15<0,0.5,0.75),2);
DRAWICON(强势起点=1 AND IF(VAR5,0,1),0.85,5);



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

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

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

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