通达信车水马龙主图 突破行情迎主升 用法详解 源码附图



所属地区:DRAWTEXT_FIX(1,0,0.05,0,'地区: '),COLORCYAN;
DRAWTEXT_FIX(1,0.05,0.05,0,DYBLOCK),COLORCYAN;
所属行业:DRAWTEXT_FIX(1,0,0.1,0,'行业: '),COLORCYAN;
DRAWTEXT_FIX(1,0.05,0.1,0,HYBLOCK),COLORCYAN;
所属概念:DRAWTEXT_FIX(1,0,0.15,0,'概念: '),COLORCYAN;
DRAWTEXT_FIX(1,0.05,0.15,0,GNBLOCK),COLORCYAN;
所属风格:DRAWTEXT_FIX(1,0,0.2,0,'风格: '),COLORCYAN;
DRAWTEXT_FIX(1,0.05,0.2,0,FGBLOCK),COLORCYAN;
VAR1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
VAR2:=(EMA(MEMA(CLOSE,8),8)+EMA(MEMA(CLOSE,13),13)+EMA(MEMA(CLOSE,21),21))/3;
VAR3:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR4:=CROSS(VAR3,EMA(VAR3,9)) AND EMA(VAR3,9)<0;
VAR5:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*110,10);
VAR6:=VAR5>REF(VAR5,1) AND VAR5<20 OR CROSS(VAR5,20);
VAR7:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR8:=SMA(VAR7,3,1)>SMA(SMA(VAR7,3,1),3,1);
VAR9:=MA(VOL,5)>MA(VOL,10);
VAR10:=(CLOSE-MA(C,5))/MA(C,5)*100;
VAR11:=(CLOSE-MA(C,30))/MA(C,30)*100;
VAR12:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416;
VAR13:=SMA(EMA((MA(C,5)-REF(MA(C,5),1))/REF(MA(C,5),1),3)*100,3,1);
VAR14:=EMA(VAR13-REF(VAR13,1),3);
VAR15:=COUNT(CROSS(VAR12,30),5)>=1 AND MA(C,5)>REF(MA(C,5),1);
VAR16:=VAR15 AND VAR11>REF(VAR11,1) AND MA(C,10)>REF(MA(C,10),1);
VAR17:=FILTER(VAR16 AND VAR14>REF(VAR14,1) AND VAR13>REF(VAR13,1),10);
VAR18:=COUNT(CROSS(VAR10,0),3)>=1 AND VAR11>REF(VAR11,1);
VAR19:=VAR18 AND MA(C,5)>REF(MA(C,5),1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA(C,30);
VAR20:=EMA((VAR1-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13);
VAR21:=EMA(VAR20,3);
VAR28:=V>=REF(V,1)*2 AND C>=REF(C,1)*1.045 AND REF(C,1)<=REF(C,5)*1.05;
VAR29:=VAR28 AND HHV(REF(H,1),5)/LLV(REF(L,1),5)<=1.1 AND CROSS(VAR20,VAR21);
龙马线:WMA(VAR1,8),COLORYELLOW,LINETHICK2;
IF(龙马线<=REF(龙马线,1) AND CLOSE<=龙马线,龙马线,DRAWNULL),COLORGREEN,LINETHICK2;
IF(龙马线>=REF(龙马线,1) AND CLOSE>=龙马线,龙马线,DRAWNULL),COLORRED,LINETHICK2;
趋势线:(EMA(MEMA(C,21),21)+EMA(MEMA(C,34),34)+EMA(MEMA(C,55),55))/3,COLOR0080FF,LINETHICK2;
中线:EXPMA((MA(C,3)+MA(C,5)+MA(C,8)+MA(C,13))/4,34),DOTLINE,COLORYELLOW;
乾线:EXPMA(VAR2*1.1,10),COLORMAGENTA;
坤线:EMA(VAR2*0.9,10),COLORGREEN;
DRAWICON(VAR4 AND VAR6+VAR9+VAR8>=2 AND (FILTER(VAR19,10) OR VAR17),L,9);
DRAWICON(VAR29,LOW*0.97,25);


{选股源码:
VAR1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
VAR19:=EMA((VAR1-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13);
VAR28:=EMA(VAR19,3);
VAR29:=V>=REF(V,1)*2 AND C>=REF(C,1)*1.045 AND REF(C,1)<=REF(C,5)*1.05;
XG:VAR29 AND HHV(REF(H,1),5)/LLV(REF(L,1),5)<=1.1 AND CROSS(VAR19,VAR28);
}
;






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

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

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

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