通达信一线擒牛主图\洗盘杀入线源码

M11=81   N11=10   K=10

 {洗盘杀入线源码:}
T11:=CONST(LLVBARS(LOW,10));
 T11HIGH:=CONST(REF(HIGH,T11));
 CC1:=CONST(CURRBARSCOUNT);
 T22:=CONST(BARSLAST(CURRBARSCOUNT>CC1+T11 AND H>T11HIGH));
 T22HIGH:=CONST(REF(HIGH,T22));
 T33:=CONST(BARSLAST(CURRBARSCOUNT>CC1+T22 AND HIGH>T22HIGH));
 T33HIGH:=CONST(REF(HIGH,T33));
 {C>=T33HIGH AND REF(C,1)<T33HIGH AND DYNAINFO(17)>2;}
 N:=10;
 T1K:=CONST(LLVBARS(LOW,N));
 T1HIGH:=CONST(REF(HIGH,T1K));
 CC:=CONST(CURRBARSCOUNT);
 T2K:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T1K)) AND (HIGH>T1HIGH)));
 T2HIGH:=CONST(REF(HIGH,T2K));
 T3K:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T2K)) AND (HIGH>T2HIGH)));
 T3HIGH:=CONST(REF(HIGH,T3K));
洗盘杀入线:DRAWLINE(CURRBARSCOUNT=10+1,T3HIGH,ISLASTBAR, T3HIGH,1),LINETHICK1,COLORYELLOW;
 DRAWTEXT(ISLASTBAR, T3HIGH,'杀入线')LINETHICK2,COLORYELLOW;

 DIF1:=EMA(CLOSE,3) - EMA(CLOSE,9),COLORRED;
 DEA1:=EMA(DIF1,3),COLORGREEN;
 MACD:=(DIF1-DEA1)*2;
 DRAWICON(CROSS(DIF1,0) AND MACD>REF(MACD,1),L*0.95,1);
 M5:=MA(C,5),COLORWHITE,LINETHICK2;
 M3:=MA(C,3),COLOR777777,LINETHICK1;
 {DRAWBAND(M3,RGB(255,0,255),M5,RGB(0,255,0));}

 MID :=MA(CLOSE,26);
 UPPER:= MID + 20/10*STD(CLOSE,26);
 LPPER:= MID - 20/10*STD(CLOSE,26);
牛熊线:(MID+UPPER+M5)/3,COLORCYAN;
空仓线:(MID*0.382+UPPER*0.618),COLOR777777;
 DRAWBAND(牛熊线,RGB(250,255,0) ,空仓线,RGB(0,200,0) );
多空线:MID*0.618+UPPER*0.382,LINETHICK2,COLORRED;
多空线2:((MID*0.382+LPPER*0.618)+多空线+M5)/3,LINETHICK1,COLORAA0044;


 DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
 ZT:=C>REF(C,1)*1.0988;
 STICKLINE(ZT,C,O,2,0),COLORYELLOW;
 DT:=C<REF(C,1)*0.901 AND C>REF(C,1)*0.898;
 STICKLINE(DT,C,O,2,0),COLORGREEN;
 MA5:MA(C,5),COLORWHITE,LINETHICK2;
 A1:=MA(CLOSE,13)+ABS(MA(CLOSE,13)-REF(MA(CLOSE,13),1));
 B1:=MA(CLOSE,13)+MA(CLOSE,13)-REF(MA(CLOSE,13),1);
分水岭:=IF(MA(CLOSE,13)<B1,B1,MA(CLOSE,13)),COLORFF00FF,LINETHICK1;
 PMA:=分水岭;
操作线:分水岭-(EMA(C,2)-分水岭),COLORBLUE,LINETHICK2;
 




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

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

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