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

[复制链接]
查看67 | 回复0 | 2022-7-11 10:03:52 | 显示全部楼层 |阅读模式
好多股友买了股票后整天询问压力位在那,支撑位置在那,什么时间上涨,这个主图指标全部告诉你,本指标简单易懂,没有未来函数上面提示的有未来函数是画线函数,可以放心使用。指标只是个参考,据此买入风险自负。我发的是源码大家还可以自行优化。欢迎多多交流。
用法
指标实线代表的是从上向下跌时的支撑提前把压力位和支撑位就给出来了。实战中看线操作就行啦。
虚线代表的是从下向上的上涨时所遇到的压力位也提前给出来啦。


牛: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;

20207128343323467.png

20207128343323467.png


20207128343896335.png

20207128343896335.png


20207128344241693.png

20207128344241693.png

2020712836712964.rar

3.49 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

2020712836712964.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则