Ⅰ 请求高手把这个通达信指标改成公式(1)短牛大牛(2)短牛中牛大牛(3)短牛各三个选股公式
您好,难听的话说前头,这个指标有未来函数。最好别用。但是我还是把指标改好了,短牛中牛大牛,自己选股的时候组合一下就好了。对了,通常含有未来函数的指标都有很多无用的代码,恕我私自把没用的代码都删除了。
再说一次,有未来函数的话,信号会漂移的。
VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),0) ;
DOWN:DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),0) ;
BT:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND
REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
STICKLINE(BT,0,3,0.22,0),COLOR0000FF;
DRAWTEXT(BT,3,'短牛'),COLOR0000FF;
TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;
STICKLINE(TJ1,0,2,0.2,0),COLORFF00FF;
DRAWTEXT(TJ1,2,'中牛'),COLORFF00FF;
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:= REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
STICKLINE(TJ2,0,1,0.2,0),COLOR00FFFF;
DRAWTEXT(TJ2,1,'大牛'),COLOR00FFFF;
ST:=REF(UP,1)>REF(UP,2) AND DOWN<REF(UP,1);
STICKLINE(ST,10,9,0.2,0),COLOR00FF00;
DRAWTEXT(ST,9,'卖');
短牛:BT;
中牛:TJ1;
大牛:TJ2;
Ⅱ 高手改通达信指标公式为选股公式有4个一大牛买二中牛买三小牛买四大中小牛买
VAR1:=LLV(LOW,10);
VAR2:=HHV(HIGH,15);
动力线:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4);
趋势:=MA(动力线,2);
B:=趋势;
G:=MA(B,2);
D:=CROSS(B,G)*1000;
W:=CROSS(G,B)*1000;
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0);
短牛买:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
中牛买:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
大牛买:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
买牛:短牛买 OR 中牛买 OR 大牛买;
Ⅲ 哪位老师可以分享庄家游资主力资金进场的涨停牛股妖股选股
通达信【主力进场】套装指标公式源码,专为捕捉短线波段强势牛股而设计,成功率高。
主力进场主图指标公式如下:
涨跌分界线:MA(C,10);
IF(涨跌分界线>REF(涨跌分界线,1),涨跌分界线,DRAWNULL),LINETHICK2,COLORMAGENTA;
好运大牛线:=EMA(C,3);
主力进场:EMA(SLOPE(C,32)*20+C,65);
IF(主力进场>REF(主力进场,1),主力进场,DRAWNULL),LINETHICK2,COLORRED;
BU:=CROSS(好运大牛线,主力进场);
SEL:=CROSS(主力进场,好运大牛线);
DRAWTEXT (BU,L*0.989,'主力进场'),COLORYELLOW,LINETHICK3;
DRAWTEXT (SEL,H*1.01,'主力离场'),COLOR33FF33,LINETHICK3;
STICKLINE(好运大牛线>=主力进场,L,H,0,0),COLORMAGENTA;
STICKLINE(好运大牛线>=主力进场,C,O,3,0),COLORMAGENTA;
STICKLINE(好运大牛线>=主力进场,C,O,2,0),COLORMAGENTA;
STICKLINE(好运大牛线
STICKLINE(好运大牛线
STICKLINE(好运大牛线
STICKLINE(CROSS(好运大牛线,主力进场),O,C,3,0),COLORRED;
STICKLINE(CROSS(主力进场,好运大牛线),O,C,3,0),COLORFF3333 ;
主力进场吸筹副图指标公式如下:
ABC1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
ABC2:=SMA(ABS(LOW-ABC1),13,1)/SMA(MAX(LOW-ABC1,0),10,1);
ABC3:=EMA(ABC2,10);
ABC4:=LLV(LOW,33);
ABC5:=EMA(IF(LOW<=ABC4,ABC3,0),3);
主力吸筹:IF(ABC5>REF(ABC5,1),ABC5,0),COLORRED,NODRAW;
STICKLINE(ABC5>REF(ABC5,1),0,ABC5,3,0 ),COLORRED;
洗盘:=IF(ABC5
收盘:(REF(C,2)+REF(C,1)+O)/3,COLORCYAN,NODRAW;
大主力进场选股指标公式如下:
涨跌分界线:MA(C,10);
IF(涨跌分界线>REF(涨跌分界线,1),涨跌分界线,DRAWNULL),LINETHICK2,COLORMAGENTA;
好运大牛线:=EMA(C,3);
主力进场:EMA(SLOPE(C,32)*20+C,65);
IF(主力进场>REF(主力进场,1),主力进场,DRAWNULL),LINETHICK2,COLORRED;
BU:=CROSS(好运大牛线,主力进场);
SEL:=CROSS(主力进场,好运大牛线);
DRAWTEXT (BU,L*0.989,'主力进场'),COLORYELLOW,LINETHICK3;
DRAWTEXT (SEL,H*1.01,'主力离场'),COLOR33FF33,LINETHICK3;
STICKLINE(好运大牛线>=主力进场,L,H,0,0),COLORMAGENTA;
STICKLINE(好运大牛线>=主力进场,C,O,3,0),COLORMAGENTA;
STICKLINE(好运大牛线>=主力进场,C,O,2,0),COLORMAGENTA;
STICKLINE(好运大牛线
STICKLINE(好运大牛线
STICKLINE(好运大牛线
STICKLINE(CROSS(好运大牛线,主力进场),O,C,3,0),COLORRED;
STICKLINE(CROSS(主力进场,好运大牛线),O,C,3,0),COLORFF3333 ;
Ⅳ 通达信指标公式改为选股公式,帮忙看下是否有未来,要求分别选出,“短牛”“中牛“大牛”3个选股公式。
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0),COLOR00FF00;
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
大牛:REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0),COLOR00FF00;
中牛:REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;
VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0),COLOR00FF00;
短牛:(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
有划线函数DRAWLINE潜在的未来函数谨慎使用