牛启动主图 通达信主图指标 源码 贴图 无未来 指标用法
牛启动主图 通达信主图指标 源码 贴图 无未来 指标用法
好多股友买了股票后整天询问压力位在那,支撑位置在那,什么时间上涨,这个主图指标全部告诉你,本指标简单易懂,没有未来函数上面提示的有未来函数是画线函数,可以放心使用。指标只是个参考,据此买入风险自负。我发的是源码大家还可以自行优化。
公式用法说明:
指标实线代表的是从上向下跌时的支撑提前把压力位和支撑位就给出来了。实战中看线操作就行啦。
虚线代表的是从下向上的上涨时所遇到的压力位也提前给出来啦。
牛: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);
{画线}{WWW.GPXIAZAI.COM}
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;