通达信【三五成牛】主副图 短线擒牛不失手 短线思路 源码附图

{三五成牛F源码如下}

M13:=MA(CLOSE,13);
M55:=MA(CLOSE,55);
VAR1:=BARSLAST(CROSS(M13,CLOSE));
VAR2:=M55/MIN(CLOSE,OPEN);
VAR3:=M13/M55;
VAR4:=EVERY(VAR2<1.025,VAR1);
VAR5:=EVERY(VAR3<1.12,VAR1);
VAR7:=EVERY(M55>=REF(M55,1) AND M13>M55,VAR1+1);
VAR8:=COUNT(CROSS(C,M13),VAR1+1)=1 AND CROSS(C,M13);
VAR9:VAR4 AND VAR5 AND VAR7 AND VAR8 AND BETWEEN(VAR1,5,10) AND VAR3<1.03;


{三五成牛主源码如下}

M13:MA(CLOSE,13);
M55:MA(CLOSE,55);
VAR1:=BARSLAST(CROSS(M13,CLOSE));
VAR2:=M55/MIN(CLOSE,OPEN);
VAR3:=M13/M55;
VAR4:=EVERY(VAR2<1.025,VAR1);
VAR5:=EVERY(VAR3<1.12,VAR1);
VAR7:=EVERY(M55>=REF(M55,1) AND M13>M55,VAR1+1);
VAR8:=COUNT(CROSS(C,M13),VAR1+1)=1 AND CROSS(C,M13);
VAR9:=VAR4 AND VAR5 AND VAR7 AND VAR8 AND BETWEEN(VAR1,5,10) AND VAR3<1.03;
DRAWTEXT_FIX(C>O,0,0.07,0,'VAR7VAR8:VAR9'),COLORMAGENTA;
DRAWICON(VAR9,LOW*0.95,1);
STICKLINE(VAR9,CLOSE,OPEN,2,0),COLORYELLOW;
STICKLINE(VAR9,HIGH,LOW,0,0),COLORYELLOW;


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

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

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

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