通达信【擒牛先锋】主图指标 强势上涨趋势启动 源码

{擒牛先锋主图源码如下}

操作线:MA(CLOSE,5)DOTLINE;

趋势线:MA(CLOSE,10);

好股网:=MA(C,3);

AA:=C>MA(C,10);

ABC1:=好股网>REF(好股网,1) AND 好股网>REF(好股网,2) AND V>0;

ABC2:=REF(ABC1,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC3:=REF(ABC2,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC4:=REF(ABC3,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC5:=REF(ABC4,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC6:=REF(ABC5,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC7:=REF(ABC6,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC8:=REF(ABC7,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC9:=REF(ABC8,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABCA:=REF(ABC9,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABCB:=REF(ABCA,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABCC:=REF(ABCB,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABCD:=好股网<REF(好股网,1) AND 好股网<REF(好股网,2);

ABCE:=REF(ABCD,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABCF:=REF(ABCE,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC10:=REF(ABCF,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC11:=REF(ABC10,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC12:=REF(ABC11,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC13:=REF(ABC12,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC14:=REF(ABC13,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC15:=REF(ABC14,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC16:=REF(ABC15,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC17:=REF(ABC16,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC18:=REF(ABC17,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC19:=REF(ABCD OR ABCE OR ABCF OR ABC10 OR ABC11 OR ABC12 OR ABC13 OR ABC14 OR ABC15 OR ABC16 OR

ABC17 OR ABC18,1) AND ABC1;

STICKLINE(ABC1 OR ABC2 OR ABC3 OR ABC4 OR ABC5 OR ABC6 OR ABC7 OR ABC8 OR ABC9 OR ABCA

OR ABCB OR ABCC,CLOSE,O,2.8,0),COLORRED;

ABC1A:=REF(ABC1 OR ABC2 OR ABC3 OR ABC4 OR ABC5 OR ABC6 OR ABC7 OR ABC8 OR ABC9 OR ABCA OR ABCB OR ABCC,1)

AND ABCD;

STICKLINE(ABC1A,MAX(C,O),(H+L)/2,2.8,0),COLORFF00FF;

STICKLINE(ABC1A,MAX(C,O),(H+L)/2,2.8,0),COLORFF00FF;

STICKLINE(ABC1A,MAX(C,O),(H+L)/2,2.8,0),COLORFF00FF;

STICKLINE(ABC1A,MAX(C,O),(H+L)/2,2.8,0),COLORFF00FF;

STICKLINE(ABC1A,MAX(C,O),(H+L)/2,2.8,0),COLORFF00FF;

STICKLINE(ABCD OR ABCE OR ABCF OR ABC10 OR ABC11 OR ABC12 OR ABC13 OR ABC14 OR ABC15 OR ABC16 OR

ABC17 OR ABC18,O,C,2.8,0);

STICKLINE(ABCD OR ABCE OR ABCF OR ABC10 OR ABC11 OR ABC12 OR ABC13 OR ABC14 OR ABC15 OR ABC16 OR

ABC17 OR ABC18,O,C,2.8,0);

STICKLINE(ABCD OR ABCE OR ABCF OR ABC10 OR ABC11 OR ABC12 OR ABC13 OR ABC14 OR ABC15 OR ABC16 OR

ABC17 OR ABC18,O,C,2.8,0);

STICKLINE(ABCD OR ABCE OR ABCF OR ABC10 OR ABC11 OR ABC12 OR ABC13 OR ABC14 OR ABC15 OR ABC16 OR

ABC17 OR ABC18,O,C,2.8,0);

STICKLINE(ABCD OR ABCE OR ABCF OR ABC10 OR ABC11 OR ABC12 OR ABC13 OR ABC14 OR ABC15 OR ABC16 OR

ABC17 OR ABC18,O,C,2.8,0);

STICKLINE(ABCD OR ABCE OR ABCF OR ABC10 OR ABC11 OR ABC12 OR ABC13 OR ABC14 OR ABC15 OR ABC16 OR

ABC17 OR ABC18,O,C,2.8,0),COLORC0C0C0;

ABC20:=ABC1 OR ABC2 OR ABC3 OR ABC4 OR ABC5 OR ABC6 OR ABC7 OR ABC8 OR ABC9 OR ABCA

OR ABCB OR ABCC;

ABC21:=BARSLASTCOUNT(ABC20 AND AA)=1;

STICKLINE(ABC19 AND AA,O,(H+L)/2,2.8,0),COLORYELLOW;

STICKLINE(ABC19 AND AA,O,(H+L)/2,2.8,0),COLORYELLOW;

STICKLINE(ABC19 AND AA,O,(H+L)/2,2.8,0),COLORYELLOW;

STICKLINE(ABC19 AND AA,O,(H+L)/2,2.8,0),COLORYELLOW;

STICKLINE(ABC19 AND AA,O,(H+L)/2,2.8,0),COLORYELLOW;

DRAWTEXT(ABC19 AND AA,L*1.00,'←擒'),COLORYELLOW;

DRAWICON(ABC19 AND AA ,L*1.002,25);

DRAWICON(ABC21 ,L*0.98,27);



E:=(HIGH+LOW+OPEN+2*CLOSE)/5;

阻力:=2*E-LOW;

支撑:=2*E-HIGH;

DRAWTEXT_FIX(C!=0,0.90,0.90,0,STRCAT('参考阻力:',STRCAT(CON2STR(阻力,2),' '))),COLORFFFF00;

DRAWTEXT_FIX(C!=0,0.90,0.96,0,STRCAT('参考支撑:',STRCAT(CON2STR(支撑,2),' '))),COLOR8E8EFF;

X1:=IF(MA(C,5)>MA(C,10),20,0);

X2:=IF(MA(C,20)>MA(C,60),10,0);

X3:=IF(KDJ.J>KDJ.K,10,0);

X4:=IF(MACD.DIF>MACD.DEA,10,0);

X5:=IF(MACD.MACD>0,10,0);

X6:=IF(V>MA(V,60),10,0);

X7:=IF(WINNER(C)>0.5,10,0);

X8:=IF(C/REF(C,1)>1.03,10,0);

XX:=X1+X2+X3+X4+X5+X6+X7+X8;

DRAWTEXT_FIX(V>O,0.80,0.02,0,STRCAT('擒牛评分:',STRCAT(CON2STR(XX,2),' '))),COLORRED;


{擒牛先锋副图源码如下}


好股网:=MA(C,3);

AA:=C>MA(C,10);

QXS:=NOT(CODELIKE('4'));

QKC:=NOT(CODELIKE('688'));

QST:=IF(NAMELIKE('S'),0,1);

QXX:=IF(NAMELIKE('*'),0,1);

QBJ:=NOT(CODELIKE('8'));

ABC1:=好股网>REF(好股网,1) AND 好股网>REF(好股网,2) AND V>0;

ABC2:=REF(ABC1,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC3:=REF(ABC2,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC4:=REF(ABC3,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC5:=REF(ABC4,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC6:=REF(ABC5,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC7:=REF(ABC6,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC8:=REF(ABC7,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC9:=REF(ABC8,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABCA:=REF(ABC9,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABCB:=REF(ABCA,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABCC:=REF(ABCB,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABCD:=好股网<REF(好股网,1) AND 好股网<REF(好股网,2);

ABCE:=REF(ABCD,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABCF:=REF(ABCE,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC10:=REF(ABCF,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC11:=REF(ABC10,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC12:=REF(ABC11,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC13:=REF(ABC12,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC14:=REF(ABC13,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC15:=REF(ABC14,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC16:=REF(ABC15,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC17:=REF(ABC16,1) AND 好股网<=REF(好股网,1) AND 好股网>=REF(好股网,2);

ABC18:=REF(ABC17,1) AND 好股网>=REF(好股网,1) AND 好股网<=REF(好股网,2);

ABC19:=REF(ABCD OR ABCE OR ABCF OR ABC10 OR ABC11 OR ABC12 OR ABC13 OR ABC14 OR ABC15 OR ABC16 OR

ABC17 OR ABC18,1) AND ABC1;

ABC20:=ABC1 OR ABC2 OR ABC3 OR ABC4 OR ABC5 OR ABC6 OR ABC7 OR ABC8 OR ABC9 OR ABCA

OR ABCB OR ABCC;

ABC200:=QXS AND QST AND QKC AND QXX AND QBJ;

ABC21:=BARSLASTCOUNT(ABC20 AND AA)=1 AND ABC200;

擒牛先锋:ABC19 AND AA AND MA(CLOSE,10)>REF(MA(CLOSE,10),1);


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

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

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