通达信牛启动主图指标 源码 无未来

好多股友买了股票后整天询问压力位在那,支撑位置在那,什么时间上涨,这个主图指标全部告诉你,本指标简单易懂,没有未来函数上面提示的有未来函数是画线函数,可以放心使用。指标只是个参考,据此买入风险自负。我发的是源码大家还可以自行优化。欢迎多多交流。


 用法
 指标实线代表的是从上向下跌时的支撑提前把压力位和支撑位就给出来了。实战中看线操作就行啦。


 虚线代表的是从下向上的上涨时所遇到的压力位也提前给出来啦。


 牛:COSTEX(ISLASTBAR+453,ISLASTBAR),COLORYELLOW;
启:MA(牛,10),COLORMAGENTA;
动:MA(牛,35),COLORCYAN;
 {判断倒数第6天涨停}
C_7:=REF(C,7);
 C_6:=REF(C,6);
 YU_S:=MOD(C_7*100,10);
 JIN_W:=IF(YU_S>4,1,0);
 JUDGE_ZT:=C_6=C_7+INTPART(C_7*10)/100+JIN_W/100;
 {判断当天收盘价高于5日均线}
JUDGE_2:=C>MA(C,5);
 {画线}
DRAWTEXT(JUDGE_ZT*JUDGE_2,L,'神奇7日'),COLORWHITE;

A:=IF(HHV(H,100)=H,HHV(H,100)/1.24,0);
 B:=IF(HHV(H,100)=H,HHV(H,100)/1.46,0);
 D:=IF(HHV(H,100)=H,HHV(H,100)/1.66,0);
 E:=IF(HHV(H,100)=H,HHV(H,100)/1.86,0);
 F:=IF(HHV(H,100)=H,HHV(H,100)/2.18,0);
 Z:=IF(HHV(H,100)=H,HHV(H,100)/2.46,0);

A1:=IF(LLV(L,100)=L,LLV(L,100)*1.066,0);
 B1:=IF(LLV(L,100)=L,LLV(L,100)*1.18,0);
 D1:=IF(LLV(L,100)=L,LLV(L,100)*1.32,0);
 E1:=IF(LLV(L,100)=L,LLV(L,100)*1.44,0);
 F1:=IF(LLV(L,100)=L,LLV(L,100)*1.75,0);
 Z1:=IF(LLV(L,100)=L,LLV(L,100)*1.95,0);
 S1:=IF(LLV(L,100)=L,LLV(L,100)*2.28,0);
 K1:=IF(LLV(L,100)=L,LLV(L,100)*2.88,0);
 R1:=IF(LLV(L,100)=L,LLV(L,100)*3.28,0);
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,A,REF(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,1),REF(A,1),1);
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,B,REF(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,1),REF(B,1),1);
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,D,REF(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,1),REF(D,1),1);
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,E,REF(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,1),REF(E,1),1);
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,F,REF(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,1),REF(F,1),1);
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,Z,REF(CURRBARSCOUNT=CONST(BARSLAST(HHV(H,100)=H))+1,1),REF(Z,1),1);

DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,A1,REF(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,1),REF(A1,1),1),DOTLINE,COLORGREEN;
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,B1,REF(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,1),REF(B1,1),1),DOTLINE,COLORRED;

DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,D1,REF(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,1),REF(D1,1),1),DOTLINE,COLORBLUE;
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,E1,REF(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,1),REF(E1,1),1),DOTLINE,COLORMAGENTA;

DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,F1,REF(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,1),REF(F1,1),1),DOTLINE,COLORWHITE;
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,Z1,REF(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,1),REF(Z1,1),1),DOTLINE,COLORYELLOW;
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,S1,REF(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,1),REF(S1,1),1),DOTLINE,COLORCYAN;
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,K1,REF(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,1),REF(K1,1),1),DOTLINE,COLORBROWN;
 DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,R1,REF(CURRBARSCOUNT=CONST(BARSLAST(LLV(L,100)=L))+1,1),REF(R1,1),1),DOTLINE,COLORLIBLUE;




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

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

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