‘壹’ 通达信主图指标源码,求老师看有没有未来,并帮改成选股和预警公式,谢谢
(1)无未来函数
(2)选股公式如下(买入):
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DIR1:=ABS(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=DIR1/VIR1;
CS1:=ER1*(0.8-2/8)+2/8;
CQ1:=CS1*CS1;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
CROSS(VAR2,MA(VAR3,6));
‘贰’ 赢在龙头的指标 个股资金强弱 源码 哪位知道!
{修改以后,通达信已通过测试}
20,POINTDOT;
50,POINTDOT;
80,POINTDOT;
个股线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,;
大盘线:MA(FORCAST(个股线,20),6),,COLORGREEN,;
YYA4:=MA(CLOSE,20);
YYA5:=(CLOSE > MA(CLOSE,5));
YYA6:=(MA(CLOSE,5) > MA(CLOSE,10));
YYA7:=(CLOSE > MA(CLOSE,10));
YYA8:=(MA(CLOSE,5) > MA(CLOSE,20));
YYA9:=(CLOSE > MA(CLOSE,20));
YYA10:=REF(YYA4,1);
YYA11:=(YYA4 > YYA10);
YYAVX:=(((((IF(YYA5,10,(0 - 10)) + IF(YYA6,10,(0 - 10))) + IF(YYA7,10,(0 - 10))) + IF(YYA8,10,(0 - 10))) + IF(YYA9,10,(0 -
10))) + IF(YYA11,10,(0 - 10)));
DSLX:=(CLOSE / INDEXC);
DSLX1:=MA(DSLX,5);
YYV1:=MA(VOL,5);
YYV2:=MA(VOL,10);
MA75:=MA(CLOSE,144);
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
LC:=REF(C,1);
K9:=SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1);
D9:=SMA(K9,3,1);
J9:=3*K9-2*D9;
VAR1:=DYNAINFO(17)*REF(MA(V,5),1);
VAR2:=DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT;
VAR3:=IF(DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT,VAR1,VAR2);
预量:=IF(V>=VAR3 AND PERIOD=5,V,VAR3);
TT:=240/FROMOPEN;
比:=TT;
比1:=预量/V;
买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,(DYNAINFO(23)*比),(IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8))));
卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,(DYNAINFO(22)*比),(IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7))));
买盘1:=DYNAINFO(23)*比1;
卖盘1:=DYNAINFO(22)*比1;
MFI:=(HIGH-LOW)*1000000/(VOL*比);
XXX:=EMA((C-LLV(L,11))/(HHV(H,25)-LLV(L,11))*4,8)+1;
XX:=IF(1=1,POW(XXX,2)-10,DRAWNULL);
DRAWTEXT((CONST(IF(((CROSS(YYAVX,1) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,4),COLORFF00FF;
DRAWTEXT((CONST(IF(((CROSS(YYAVX,1) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,5),COLORFF00FF;
DRAWTEXT((CONST(IF(((CROSS(YYAVX,1) AND (YYV1 > YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,6),COLORFF00FF;
DRAWTEXT((CONST(IF(((CROSS(YYAVX,1) AND (YYV1 <= YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,7),COLORFF00FF;
DRAWTEXT((CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,8),COLORYELLOW;
DRAWTEXT((CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,9),COLORYELLOW;
DRAWTEXT((CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,10),COLORYELLOW;
DRAWTEXT((CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,11),COLORYELLOW;
DRAWTEXT((CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,12),COLOR00FFFF;
DRAWTEXT((CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,13),COLORYELLOW;
DRAWTEXT((CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,14),COLORYELLOW;
DRAWTEXT((CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,15),COLORYELLOW;
DRAWTEXT((CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,16),COLORYELLOW;
DRAWTEXT((CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,17),COLORFFFF00;
DRAWTEXT((CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,18),COLORFFFF00;
DRAWTEXT((CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,19),COLORFFFFFF;
DRAWTEXT((CONST(IF((CROSS(YYAVX,1) AND (YYV1 >= YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,20),COLOR00FF00;
DRAWTEXT((CONST(IF((CROSS(YYAVX,1) AND (YYV1 < YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,21),COLORFF00FF;
DRAWTEXT((CONST(IF((CROSS(1,YYAVX) AND (YYV1 >= YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,22),COLORAAAAAA;
DRAWTEXT((CONST(IF((CROSS(1,YYAVX) AND (YYV1 < YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,23),COLORFF0000;
DRAWTEXT((CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,24),COLOR00FFFF;
DRAWTEXT((CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,25),COLOR00FF00;
DRAWTEXT((CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,26),COLORFFFFFF;
DRAWTEXT((CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,27),COLORFFFFFF;
DRAWTEXT(CONST(MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1)) AND CURRBARSCOUNT=59,40,28),COLORFFFFFF;
DRAWTEXT(CONST(MFI<REF(MFI,1)AND VOL*比<REF(VOL,1)) AND CURRBARSCOUNT=59,40,29),COLORGREEN;
DRAWTEXT(CONST(MFI>=REF(MFI,1)AND VOL*比<REF(VOL,1)) AND CURRBARSCOUNT=59,40,30),COLORGREEN;
DRAWTEXT(CONST(MFI<REF(MFI,1)AND VOL*比>=REF(VOL,1)) AND CURRBARSCOUNT=59,40,31),COLORYELLOW;
DRAWTEXT(CONST((卖盘+买盘)/REF(VOL,1)>2) AND CURRBARSCOUNT=59,30,32),COLORGREEN;
DRAWTEXT(CONST(REF(VOL,1)/(卖盘+买盘)>1.5) AND CURRBARSCOUNT=59,30,33),COLORYELLOW;
DRAWTEXT(CONST((卖盘-买盘)/买盘>0.4) AND CURRBARSCOUNT=59,20,34),COLORGREEN;
DRAWTEXT(CONST((买盘-卖盘)/卖盘>0.4) AND CURRBARSCOUNT=59,20,35),COLORYELLOW;
DRAWTEXT(CONST(IF(预量=LLV(预量,10),1,0)) AND CURRBARSCOUNT=59,10,36),COLOR00FF00;
DRAWTEXT(CONST(IF(预量=LLV(预量,10) AND J9<70,1,0)) AND CURRBARSCOUNT=59,10,37),COLOR00FF00;
DRAWTEXT(CONST(IF(C>LC AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND C>MA(C,5) AND REF(MA(C,5),1)>=REF(MA(C,5),2) AND YYV1<=YYV2 AND (预量<REF (预量,1) AND 预量<YYV1) AND 买盘1>卖盘1,1,0)) AND CURRBARSCOUNT=28,20,38),COLORFF00FF;
DRAWTEXT(CONST(IF(C<LC AND C<MA(C,5) AND 买盘1<卖盘1 AND 预量>REF(预量,1) AND 预量>YYV1,1,0)) AND CURRBARSCOUNT=28,3,39),COLOR00FF00;
DRAWTEXT(CONST(IF(C<LC*0.96 AND C<MA(C,5) AND 买盘1>卖盘1*1.15 AND 预量>REF (预量,1) AND 预量>YYV1,1,0)) AND CURRBARSCOUNT=28,10,40),COLOR00CCCC;
DRAWTEXT(CONST(IF(C<LC AND MA(C,5)<REF(MA(C,5),1) AND MA(C,10)<=REF(MA(C,10),1) AND 买盘1<卖盘1 AND C<MA(C,5) AND C<MA(C,10)AND 预量>LLV(预量,10),1,0)) AND CURRBARSCOUNT=28,20,41),COLORFFFF00;
DRAWTEXT(CONST(IF((C>MA(C,5) AND C<MA(C,10)) OR (C<=MA(C,5) AND (C>=MA(C,10) OR MA(C,10)>=REF(MA(C,10),1))),1,0)) AND C<LC AND CURRBARSCOUNT=59,90,42),COLORFF77CC;
DRAWTEXT((CONST(IF(CLOSE>=MA(CLOSE,13),1,0))) AND CURRBARSCOUNT=59,80,43),COLORGREEN;
DRAWTEXT((CONST(IF(CLOSE<MA(CLOSE,13) AND C<MA(CLOSE,5),1,0))) AND CURRBARSCOUNT=59,80,44),COLORGREEN;
DRAWTEXT((CONST(IF(CROSS(MA(CLOSE,13),CLOSE),1,0))) AND CURRBARSCOUNT=49,90,45),COLORGREEN;
DRAWTEXT((CONST(IF(C>=MA75,1,0))) AND CURRBARSCOUNT=49,80,46),COLORGREEN;
DRAWTEXT((CONST(IF(C<MA75,1,0))) AND CURRBARSCOUNT=49,80,47),COLORGREEN;
‘叁’ 求专业老师把这个大智慧分时主图公式修改成通达信可以通过的分时主图公式,下面是公式源码和大效果图
KJ2:ref(D,barslast(20130125<date+19000000)),COLORf00ff0,LINETHICK1,CIRCLEDOT; {日线级别强势线,潜力股,站在此线上,为建仓信号}
KJ4:ref(Z,barslast(20130125<date+19000000)),COLORGREEN,LINETHICK1,CIRCLEDOT; {日线级别强弱分界线,在此线之上,可以一直持仓}
KJ5:ref(Y,barslast(20130125<date+19000000)),COLORYELLOW,LINETHICK1,CIRCLEDOT;{日线级别强压力线,注意风险和趋势的强弱}
KJ6:ref(K,barslast(20130125<date+19000000)),COLORWHITE,LINETHICK1,CIRCLEDOT; {日线级别空头线,破此线,坚决清仓}
DRAWTEXT(DISPSTATUS=2,KJ2,'强势线'+NUMTOSTRN(KJ2,2)+'元'),colorwhite,LINETHICK2;
DRAWTEXT(DISPSTATUS=2,KJ4,'强弱分界线'+NUMTOSTRN(KJ4,2)+'元'),colorwhite,LINETHICK2;
DRAWTEXT(DISPSTATUS=2,KJ5,'突破线'+NUMTOSTRN(KJ5,2)+'元'),colorwhite,LINETHICK2;
DRAWTEXT(DISPSTATUS=2,KJ6,'破位线'+NUMTOSTRN(KJ6,2)+'元'),colorwhite,LINETHICK2;
DRAWTEXTABS(0,10,'板块:'+BKNAME ),linethick5;
DRAWTEXTABS(0,50,'流通盘:'+NUMTOSTRN( CAPITAL/1000000,2 )+'亿股' ),linethick5,COLORF000F0;
DRAWTEXTABS(250,50,'流通市值:'+NUMTOSTRN( CAPITAL/1000000*close,2 )+'亿元' ),linethick5,COLORF000F0;
DRAWTEXTABS(550,50,'市盈率:'+NUMTOSTRN( DYNAINFO(39),0)+'倍' ),linethick5,COLORF000F0;
‘肆’ 找龙回头主图源码公式
公式指标来源于网络.不知道是不是你要的.
{龙回头--主图指标}
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
MA5:MA(CLOSE,60);
强势线:MA(C,25)+MA(C,25)*20/100,LINETHICK2,COLORRED;
DM1:=C/REF(C,1)>1.09 AND C>=O;
DM2:=REF(C,4)<REF(O,4) AND REF(C,4)/REF(C,5)<0.96 AND REF(C,2)/REF(C,3)<1.02 AND REF(C,1)/REF(C,2)<1.02;
DM3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.036
AND MAX(REF(C,3),REF(O,3))/MIN(REF(C,3),REF(O,3))<1.036;
DXGM:=COUNT(REF(DM1,1),10) AND DM2 AND DM3;
AM1:=C/REF(C,1)>1.09 AND C>=O;
AM2:=REF(C,3)<REF(O,3) AND REF(C,3)/REF(C,4)<0.96 AND REF(C,2)/REF(C,3)<1.02 AND REF(C,1)/REF(C,2)<1.02;
AM3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.036;
AXGM:=COUNT(REF(AM1,1),10) AND AM2 AND AM3;
BM1:=C/REF(C,1)>1.09 AND C>=O;
BM2:=REF(C,2)<REF(O,2) AND REF(C,2)/REF(C,3)<0.96;
BM3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.05;
BXGM:=COUNT(REF(BM1,1),10) AND BM2 AND BM3;
CM1:=C/REF(C,1)>1.09 AND C>=O;
CM2:=REF(C,1)<REF(O,1) AND REF(C,1)/REF(C,2)<0.96;
CXGM:=COUNT(REF(CM1,1),10) AND CM2;
SGX:=MA(C,25)+MA(C,25)*20/100;
GYTJ1:=(BETWEEN(O/MA(C,10),1.02,0.99) OR BETWEEN(L/MA(C,10),1.04,0.99) OR (BETWEEN(L/SGX,1.01,0.995) AND SGX/MA(C,10)<1.08))AND C>MA(C,10)
AND BETWEEN(C/REF(C,1),1.05,0.97) AND MA(C,5)>MA(C,10) AND MA(C,5)/MA(C,10)>1.01 AND H/MAX(C,O)<1.04
AND C>MA(C,120)AND MA(C,20)>MA(C,60) AND MA(C,20)>MA(C,120) AND REF(L,1)/REF(MA(C,10),1)>0.998;
GYTJ2:=REF(C,1)<REF(MA(C,5),1) AND O<MA(C,5) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30);
ABXG:=(DXGM OR AXGM OR BXGM OR CXGM) AND GYTJ1 AND GYTJ2;
DRAWICON(ABXG,L*0.98,11);
DRAWTEXT(ABXG,L*0.94,'龙回头'),COLORWHITE;
SCMXG:=COUNT(ABXG,5) AND CROSS(MA(C,10),MA(C,5));
DRAWICON(SCMXG,L*0.98,9);
DRAWTEXT(SCMXG,L*0.94,'二次尾买'),COLORYELLOW;
‘伍’ 谁能把这个同花顺指标修改为通达信主图源码在下面 VAR2:=(2*CLOSE+HIGH+LOW)/4; VAR4:=LLV(LOW,5); VAR5
参数要加到公式上面的小格子里的,为了方便,我加到公式里了。您直接输入进去,就能用了。指标已经在通达信上调试通过。您也可以根据实际情况把下面四个参数做些修改,以更好的配合走势。
(这是主图指标,记得在 画线方法那里选择 主图叠加)
N:=20;
P1:=80;
P2:=100;
M:=32;
VAR1:=(C+H+O+L)/4;
卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
买入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;
幅度:100*(卖出-买入)/买入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;
STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;
STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;
STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA;
STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;
DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'B'),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'S'),COLORGREEN;
‘陆’ 股市当中有哪些好用的指标,带源码的
指标不是万能的,不是万能钥匙,灵丹妙药,指标五花八门,林林总总,不计其数。每一类指标只能反映股票运行规律的一个侧面。
我自以为是的适合自己的好用的主图指标如下:
DRAWKLINE(H,O,L,C);
涨停1:=(C/REF(C,1))>=1.095 AND (C/REF(C,1))<=1.105;
STICKLINE(涨停1,O,C,4,0),COLORYELLOW;
涨停2:=(C/REF(C,1))>1.105 AND (C/REF(C,1))<=1.195;
STICKLINE(涨停2,O,C,4,0),COLORLIRED;
涨停3:=(C/REF(C,1))>1.195 ;
STICKLINE(涨停3,O,C,4,0),COLORMAGENTA;
EXPMA17:EXPMEMA(C,17)COLORMAGENTA LINETHICK2;
MA55:MA(C,55) COLORWHITE;
MA89:MA(C,89)COLORYELLOW ;
MA144:MA(C,144) COLORRED LINETHICK2;
CCL:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DDL:=DMA(CLOSE,CCL);
上:=(1+7/100)*DDL,DOTLINE,COLORGREEN;
下:=(1-7/100)*DDL,DOTLINE,COLORGREEN;
中:=(上+下)/2,DOTLINE,COLORGREEN;
上上:=EMA(上,181),DOTLINE,COLORRED;
下下:=EMA(下,181),DOTLINE,COLORRED;
中中:=EMA(中,181),DOTLINE,COLORRED;
DRAWICON(上>=上上,上上,17);
主十增仓:10*WINNER(CLOSE*0.9)*8,NODRAW COLORYELLOW;
十换手:SUM(VOL/CAPITAL*100,10),NODRAW COLORWHITE;
ER:=V/FINANCE(7)*100;
MAXCYC:=DMA((C+O)/2,ER/TMA(ER,(1-ER),1));
T1T:=BARSLAST(C>MAXCYC*POW(1.1,0.9));
T2T:=BARSLAST(C<maxcyc*pow(1.1,-0.9)); p=""> </maxcyc*pow(1.1,-0.9));>
T3T:=CROSS(T1T,T2T) OR CROSS(T2T,T1T) OR BARSSINCE(T1T+1)=0 OR BARSSINCE(T2T+1)=0 OR BARSCOUNT(C)=0;
T4T:=REF(MAXCYC,BARSLAST(T3T));
主力盈利:LN(C/T4T)/LN(1.1)*10,NODRAW;
{盈利天:BARSLASTCOUNT(主力盈利>0) COLORMAGENTA,NODRAW;}
获利比例:WINNER(CLOSE)*100,NODRAW;
DRAWICON(获利比例>0 AND 获利比例<=2,L*0.98,9);
DRAWICON(获利比例>2 AND 获利比例<=5,L*0.98,23);
P1:=90;
AO:=P1+(100-P1)/2;
BO:=(100-P1)/2;
CCO:=COST(AO);
DDO:=COST(BO);
筹码集中度:(CCO-DDO)/(CCO+DDO)*100/2,COLORRED,NODRAW;
DRAWICON(获利比例>80 AND 筹码集中度<10,L*0.98,25);
翻倍:=REFDATE(REF(LLV(LOW,90),3),DATE)=LOW AND (CLOSE-LOW>0-CLOSE OR OPEN-LOW>CLOSE-OPEN);
STICKLINE(翻倍,H,H*1.2,2,0),COLORLIRED;
DRAWTEXT(翻倍,H*1.2,'机会来了'),COLORYELLOW;
DRAWTEXT(翻倍,H*1.15,'坚决持有'),COLORCYAN;
DRAWTEXT(翻倍,H*1.1,'后市暴涨'),COLORMAGENTA;
N:=1.5;
M:=3;
DIFF:=EMA((EMA(CLOSE,N*12)-EMA(CLOSE,N*26))/EMA(CLOSE,N*26)*1000,M);
DEAF:=EMA(DIFF,N*9),COLOR000088;
加仓:IF(DIFF>=REF(DIFF,1) AND DEAF<ref(deaf,1),diff,drawnull),colorlired,nodraw; p=""> </ref(deaf,1),diff,drawnull),colorlired,nodraw;>
短线出局:=IF(DIFF REF(DEAF,1),DIFF,DRAWNULL),NODRAW;
STICKLINE(加仓 ,C,C*1.0015,8,0),COLORYELLOW;
在告诉你答案之前,先简短的讲讲我的经历吧!十多年前,我是世界500强企业的一名职员。通过自学,考试后现在转行为证券公司的一名投顾。在我转行之前也是到处找资料学习。相关的书籍啊,指标啊等等,但掌握了一些基础知识后发现即使学会了这些东西还是远远不能在这个市场上生存的。通过认真思考我发现,如果做投资没有自己的交易体系,那是很危险的一件事。在自己的交易体系建立之前,我做过外汇,做过权证,做过商品期货,做过期权,当然也有股票。现在从业了,所以也就只是做做股票的模拟盘。所以对于指标类的东西还是有所发言权的。言归正传,下面来回答一下你的问题吧!
1.如果你真的想在这个投资市场上畅意的行走,你首先应该建立自己的交易体系。
2.在你建立交易体系之后,我现在正式回答你的问题。正常情况下,你只需要认真研究系统默认的几个指标就可以了,K线,均线,量,KDJ,MACD就这几个,其它杂乱的指标都是通过这几个基础指标编辑演变而成的,因为是手机截图,所以这里截了两个图,如果需要操盘,建议最好是用电脑。
3.K线,K线就是红绿柱,他代表最高价,最低价,开盘价和收盘价。在这里我就不详细赘述了。
4.均线,均线分日,月,周,季,年均线等。那要看你是什么周期,比如日均线m5就是五天内的平均价,也就是五日均线。M10就是十天均线等等。
5.量,量就比较复杂一点,常常需要配合其他指标使用,它代表成交量或成交额。周期也是和均线一样。
6.MACD和KDJ,同样需要结合周期来使用,最常见的就是金叉和死叉,但是也需要结合市场环境来看。
给大家一个去掉不适合自己参与的过滤选股器吧,懂代码的可以自己修改,不懂得那就直接用,有几个参数最好自己做一下修改,比如,股价,交易密度,等等。
它的功能是选出适合自己的带有涨停板的活跃股,他不是操作的依据,只是帮你过滤掉那些不适合参与的股票,每天盘后下载数据,复盘选股,他不适合最预警,只适合复盘高效选股。
仅供参考(通达信使用者)
公式名称:去掉无效选股
参数:N=2:2000:60(周期数)
N1=1:200:3(涨停板个数)
SS=2:2000:50(股价)
NN=2:30:15(交易密度)
ENTERLONG:=CROSS(MA(CLOSE,5),MA(CLOSE,20));{这是一个均线自动交易代码暂时先保存着以备后用}
EXITLONG:=CROSS(MA(CLOSE,5),MA(CLOSE,3));{这是一个均线自动交易代码暂时先保存着以备后用}
ZTTJ1:=(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1));
ZTTJ:=(CLOSE>=ZTPRICE(REF(CLOSE,1),IF(FINANCE(3)=3,0.2,0.1)));
ZTTM:=COUNT(ZTTJ,N)>=N1;
AR2:=EVERY(ZTTJ,2);
AR3:=COUNT(AR2,60)>=1;
RZ1:=INBLOCK('壳资源')=0; RZ2:=INBLOCK('商誉减值')=0; RZ4:=INBLOCK('风险品种')=0;
RZ6:=INBLOCK('细分龙头')=1; RZ7:=INBLOCK('已高送转')=0;
{通达信去掉创业板*ST} S1:=IF(CODELIKE(馄'),1,0);
{通达信去掉退市股}{去掉不需要的板块}{通达信去掉*、S、ST}
S2:=IF(NAMELIKE('S'),0,1); S3:=IF(NAMELIKE('*'),0,1);
{通达信去掉停牌}
S4:=DYNAINFO(17)>0;
S5:= BETWEEN(FINANCE(7)/10000000,1,400) AND FINANCE(7)*C/100000000<360 AND C<ss p="" ;
{去掉融券融资 AND S6}
S6:=FINANCE(52)=0;
S7:=IF(CODELIKE(鬈'),0,1);{通达信去掉科创板}
S10:=FINANCE(30)>=-5;
S12:=DYNAINFO(39)<500;
S13:=SUM(DYNAINFO(37),20)>0.2;
S14:=FINANCE(30)/FINANCE(20)*100>-50;
ST:S2 AND S3 AND S4 AND S7 AND RZ4 AND S13 AND ZTTM AND C<ss;{and p="" s1}
AA1:=C/REF(C,1)>1.03 AND C<ss p="" s7;{强势选股}
AB1:=FROMOPEN*NN;
AB2:=DYNAINFO(50)>AB1;
S11:=IF(AB2,AA1,DRAWNULL);
大家好,给大家分享一个监测庄家动向的指标——猎庄擒牛。指标通过对庄家资金的监测,可以捕捉到庄家何时进场拉升,何时出货离场。洞察到庄家的这些动向之后,散户猎庄擒牛并不只是说说而已。
“猎庄擒牛”指标要点:
一、指标提示“庄家出现”信号时,表明监测到此处有庄家大资金进场,行情即将开启拉升,可跟进建仓。
二、指标提示“庄家出货”信号时,表明监测到此处庄家在进行筹码派发,应果断止盈离场,落袋为安。
效果图:
“猎庄擒牛”主要作用就是对庄家大资金动向的监测,从而给出预警信号。当然指标还有其它关于筹码和趋势的信号判断,这里就不做过多讲解,大家拿到后可以去慢慢摸索。
大道至简,简单有效不要复杂。股市中最有效的技术指标就是那些最贴近市场本质的数据跟踪指标,我最常用的就是K线,均线,MACD和量能及均量线,够用了。
在一个多变复杂的市场中,越简单反而才是越有效,过于复杂的技术工具适应能力太差。
通达信精准指标——趋势布林线主图+神针起爆副图+源码 给大家分享一个趋势布林线主图,搭配神针起爆副图,适用于短线和中长线,是基于系统布林线而研发的,比系统自带的更加精准。 主图当出现红色箭头为建仓信号,当出现绿色箭头为减仓或者平仓信号。 副图红色趋势为上升趋势,绿色趋势为下跌趋势,红色趋势变为绿色交叉点为减仓信号。 绿色趋势变为红色为建仓信号,出现神针起爆红柱可作为启动点和建仓点。
主副图点位一一对应,产生共振。 源码
这套指标主要利用主副图共振点来进行操作,精准率很高,喜欢的朋友可以关注我的首页,留言指标二字,我会免费分享给大家。
好用的公式有很多,但是适合自己才行!今天我分享几个我自己经常用的公式分享给大家!
擒牛大中短
这个公式主要就是抓买卖点的指标,不含未来函数,可以放心操作!
主力波段吸筹该公式是精准判断操作位置,依然没有未来函数!
其次,如果大家想炒股,先学习一些基本的炒股知识,并且少量投入,切不可一梭哈。不要迷信技术指标,所谓的指标都是事后才出来的,有精力的可以去看看指标编程,无非都出自于成交量、成交额、均线等等,所以都是滞后的。简单的K线、成交量、2条均线,辅助参考判断即可。技术指标越复杂,越难以付诸实施。
所以,还请大家不要迷恋技术指标,我曾经花了1年多的时间研究、编写各种技术指标,到现在,我已经放弃了,只留了交易软件里面最原始的指标,做辅助判断而已,记住只是辅助判断。还请大家不要走弯路,一入股市深似海,到处都是坑,切记!!!
这个我认为因人而异,毕竟适合自己的指标才是好指标。这里我们来分享下我常用的指标
第一,均线,均线是时候非常实用的指标,无论是短线,中线,长线都非常实用。
(1)如果是短线,5日均线就够了。5日均线比较神奇。
①当K线从5日均线下方上穿5日均线,而且均线开始拐头,结合量能,底部放量,那么短线就可以把我了,而且是超短机会。基本都有不错的收益。
②当市场均线多头排列,只要K线在5日均线上方,沿着5日均线上行,那么也是一个持仓的机会。
(2)中线,中线一般就是看20日均线,这个均线比较实用,也称为万能均线,只要K线站稳在20日均线上方,而且拐头向上,结合筹码,筹码低位单峰,中线就可以把握。
(3)长线,长线就是60日均线上穿120日均线,而且趋势上行。
第二,MACD,领略到精髓,赚钱非常简单。
1、 MACD在0轴上方——每发生一次金叉,股价将创新高,但是二次金叉不要追。2、 MACD在0轴下方——每发生一次死叉,股价将创新低新低后可以适当的补仓。3, MACD在0轴上方——金叉死叉次数越多越好、牛股,4,, MACD在0轴下方——金叉死叉次数越多越差、熊股。5,MACD水下两次金叉,第二次金叉就是买入机会。6.MACD的黄白两线不能和柱状形成背离,背离则会产生行情反转。
好了我就分享了我常用的这两个希望对大家有帮助。
如果想听实话,我就告诉你。最好用的指标是:K线、成交量(手)、均线和MACD。其它指标都可以忽略。
你进入丛林,容易绕花眼睛,七选八选-选个漏眼。其实最显眼的就是最好的。
‘柒’ 缠论主图通达信指标公式源码
搜索缠论选股缠论工具包