一区二区三区日韩精品-日韩经典一区二区三区-五月激情综合丁香婷婷-欧美精品中文字幕专区

分享

精品6

 多空先生 2010-06-16

強勢股選股---我常用的選股公式,!自感不錯
{qsgxg強勢股選股}
v1:=c>o and c>ref(c,1) and v>ref(v,1) and v/capital*100>3 and
(h-c)/c<0.05;
v1a:=c>o and c>ref(c,1) and v>ref(v,1) and v/capital*100>3 and
(h-c)/c<0.05 and ma(c,5)>ref(ma(c,5),1) and ma(c,3)>ref(ma(c,3),1);
v0:=count(v1a,1)=1;
v2:=count(v1a,2)=2;
v3:=count(v1,3)=3;
一天強勢選股:if(v0,1,0);
兩天強勢選股:if(v2,1,0);
三天強勢選股:if(v3,1,0);

=================================================

 自用主圖

STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR000055;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000088;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR0000AA;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000CC;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000FF;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000EE;
STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLOR666600;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR555500;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR888800;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORAAAA00;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBB00;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORCCCC00;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOREEEE00;
STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR555555;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;
動力線:MA(C,5),LINETHICK3,COLOR00CCFF;
牛熊線:MA(C,13),LINETHICK1,COLORYELLOW;
生命線:MA(C,34),LINETHICK1,COLORMAGENTA;
MA05:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
五日乖離率:=(C-MA05)/MA05*100;
BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;
IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED;
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
IF(BB05<0 AND MA05<REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORGREEN;
三拾日乖離率:=(C-MA30)/MA30*100,NODRAW;
VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) AND MA30<REF(MA30,1);
BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;
強勢狙擊:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
加倉:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA05>REF(MA05,1)  AND 三拾日乖離率>REF(三拾日乖離率,1) AND MA10>REF(MA10,1)
AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1)  ,10) ;
清倉:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05<REF(MA05,1)  AND 三拾日乖離率<REF(三拾日乖離率,1) AND MA10<REF(MA10,1),10);
JC:=CROSS(0,五日乖離率) AND 三拾日乖離率<REF(三拾日乖離率,1) AND MA10>REF(MA10,1) ;
減倉:=FILTER(JC,10);
MR:=COUNT(CROSS(五日乖離率,0),3)>=1 AND 三拾日乖離率>REF(三拾日乖離率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30;
DRAWTEXT(減倉,HIGH*1.02,'風(fēng)險'),COLORCYAN;
DRAWTEXT(清倉 ,HIGH*1.00,'清倉'),COLORGREEN;
VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));
VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;
TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
TYX4:=MA((C+L+O+H)/4,13);
TYX5:=EMA((C+L+O+H)/4,21);
STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,1,0),COLOR00CCFF;
MA18:=MA(CLOSE,18);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
買:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));
DRAWICON(FILTER(買=1,5),LOW,1),COLORRED;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,LOW*0.99,'老鼠倉'),COLOR4080FF;
{預(yù)測明天}
XXS:=MA(LOW,5)*(1-5/100);
XXS1:=MA(HIGH,5)*(1+5/100);
均線:=C,COLORGREEN;
AAAA:=CLOSE/REF(CLOSE,3)<=0.85 AND CROSS(C,XXS) AND C>REF(C,1),LINETHICK0 ;
DRAWTEXT(AAAA,L*0.95,'下影買'),COLORRED;
BBAA:=CROSS(XXS1,C);
DRAWICON(CROSS(XXS1,C),H,2),COLORWHITE;
DDDD:=CROSS(C,XXS1);
DRAWTEXT(DDDD,H,'明日走'),COLORYELLOW;

============================================================

原創(chuàng)趨勢線---拉升潛入,仔細(xì)研究有妙用!!!


 

趨勢主圖公式,原碼通用!!!趨勢向上,做空下穿K線就買入!!!
到底有沒有人發(fā)現(xiàn)公式有什么妙用和秘密呀!!??? 發(fā)現(xiàn)有的請短信聯(lián)系我交流以下哦!!呵呵!!!!!
正式命名為:"拉升潛入"
yc:=FORCAST((C+L+H)/3,5);
潛入趨勢:EMA(3*yc-2*SMA(yc,2,1),15),COLORYELLOW;
DD:=FORCAST(潛入趨勢,40);
做多:(3)*(潛入趨勢) - (2)*(DD),LINETHICK1,COLORGREEN;
做空:(3)*(DD) - (2)*(潛入趨勢),LINETHICK2,COLORC0C0C0;

======================================================================

一些自己收集的指標(biāo)

莊動力線
input:YINGL(13,1,999),LI(24,1,999);
莊長期:SUM((VOL * ((CLOSE / (REF(CLOSE,1))) - 1)),LI),linethick2;
莊短期:SUM((VOL * ((CLOSE / (REF(CLOSE,1))) - 1)),YINGL),linethick2,colorGreen;
WJ:=(HIGH+LOW+CLOSE)/3;
V1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
V2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
V3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
V4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
買賣差:=(V3+V4)-(V1+V2);
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VOL買:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))/10000;
VOL賣:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2))/10000;
AMV0:=(VOL買-VOL賣)* 買賣差;
BS:(SUM(AMV0,88)/SUM((VOL買-VOL賣),88)),LINETHICK2,colorred;
BS空頭線:LLV(BS,88),LINETHICK2,colorGREEN;

特別注意當(dāng)長短兩條線密集粘合上穿BS空頭線的時候,后市往往會有一波比較大的拉升
--------------------------------------------------------------------------------------------------------------------------

莊家請喝酒(轉(zhuǎn)載)
x1:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
x2:=SMA(x1,72,1);
x3:=SMA(x2,34,1);
x4:=3*x2-2*x3;
x5:=(x4-ref(x4,1))>=0;
x6:=(MA(C,5)-REF(MA(C,5),1))>=0;
x7:=(MA(C,10)-REF(MA(C,10),1))>=0;
x8:=(2*C+H+L)/4;
x9:=EMA((x8-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,13)-50;
x10:=EMA(0.618*REF(x9,1)+0.382*x9,3);
x11:=IF(x9>=x10 AND x6 AND x7 AND x5 AND x10<0,1,0);
AA:= x11 AND COUNT(x11,5)=1;
DRAWTEXT(RANGE(BARPOS,SYSPARAM(1)-118,SYSPARAM(1)+1)&&FILTER(AA,5),68,'朋友請→'),ALIGN2,COLORMAGENTA;//顯示文字
{啤酒瓶畫圖源碼}
STICKLINE(AA,0,30,40,1),coloryellow;
STICKLINE(AA,16,29,38,0),colorgreen;
STICKLINE(AA,1,14,38,0),colorgreen;
STICKLINE(AA,15,15,40,1),coloryellow;
STICKLINE(AA,30,50,10,0),coloryellow;
STICKLINE(AA,53,55,10,1),colorred;
STICKLINE(AA,57,59,10,1),colorred;
STICKLINE(AA,61,63,10,1),colorred;
STICKLINE(AA,65,67,10,1),colorred;
STICKLINE(AA,69,75,12,0),colorffcccc;
{線}
x1:=EMA(((2*C+H+L)/4-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,13)-21;
x2:=EMA(0.618*REF(x1,1)+0.382*x1,3);
PARTLINE(RANGE(BARPOS,SYSPARAM(1)-100,SYSPARAM(1)+1)&&x1>x2 AND x1>=ref(x1,1),x1),COLORRED;
PARTLINE(RANGE(BARPOS,SYSPARAM(1)-100,SYSPARAM(1)+1)&&x1>x2 AND x1< ref(x1,1),x1),COLORWHITE;
PARTLINE(RANGE(BARPOS,SYSPARAM(1)-100,SYSPARAM(1)+1)&&x1>=x2,x2),COLORMAGENTA;
PARTLINE(RANGE(BARPOS,SYSPARAM(1)-100,SYSPARAM(1)+1)&&x1<x2,x2),COLORcyan;

對照大盤,做波段,結(jié)合量價情況,有一定的參考價值。注意線條的變化,個人認(rèn)為如果只有酒瓶出現(xiàn)而沒有線條,那么只是超跌反彈,操作上要抱著撈一把就走得想法快進(jìn)快出,如果底部同時出現(xiàn)線條,那么則代表有波段行情,不出綠線不離場。指標(biāo)只是參考,切莫死板的生搬硬套!

----------------------------------------------------------------------------------------------------------

籌碼轉(zhuǎn)移,一個很好的指標(biāo)


 

個人認(rèn)為做股票,其實就是做背離和拐點,發(fā)生背離關(guān)注,出現(xiàn)拐點考慮買和賣。話說起來容易,但要想真得很好的做到卻又比較困難。
主力就是籌碼搬運工,因此研究籌碼的轉(zhuǎn)移,對于操作股票有很大的幫助。
籌碼轉(zhuǎn)移源碼如下:(注:WINNER被定義為未來函數(shù),恐未者慎用?。?br>Var1:=REF(CLOSE,5);
Var2:=REF(WINNER(CLOSE)*100,5);
Var3:=WINNER(Var1)*100;
籌轉(zhuǎn)5: Var2-Var3;
Var4:=REF(CLOSE,10);
Var5:=REF(WINNER(CLOSE)*100,10);
Var6:=WINNER(Var4)*100;
籌轉(zhuǎn)10: Var5-Var6;
Var7:=REF(CLOSE,20);
Var8:=REF(WINNER(CLOSE)*100,20);
Var9:=WINNER(Var7)*100;
籌轉(zhuǎn)20: Var8-Var9;
VarA:=REF(CLOSE,30);
VarB:=REF(WINNER(CLOSE)*100,30);
VarC:=WINNER(VarA)*100;
籌轉(zhuǎn)30: VarB-VarC;

實戰(zhàn)中特別關(guān)注籌轉(zhuǎn)20的運行態(tài)勢。
------------------------------------------------------------------------

一個多指標(biāo)共振附圖,又名六指金叉(轉(zhuǎn)載)
源碼如下:
DRAWGBK(1, COLORRGB(0,0,30),COLORRGB(0,0,100),1);
//MACD金叉
DIFF:=EMA(CLOSE,N3) - EMA(CLOSE,N4);
DEA:=EMA(DIFF,N2);
DRAWICON(DIFF>DEA,1,4);
DRAWICON(DIFF<DEA,1,5);
DRAWTEXTEX(1,1,980,950,'MACD');
A1:=DIFF>DEA;
//KDJ金叉
RSV:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
K:=SMA(RSV,N1,1);
D:=SMA(K,N1,1);
DRAWICON(K>D,2,4);
DRAWICON(K<D,2,5);
DRAWTEXTEX(1,1,980,770,'KDJ');
A2:=K>D;
//RSI金叉
LC:= REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N4,1)/SMA(ABS(CLOSE-LC),N4,1)*100;
DRAWICON(RSI1>RSI2,3,4);
DRAWICON(RSI1<RSI2,3,5);
DRAWTEXTEX(1,1,980,560,'RSI');
A3:=RSI1>RSI2;
//LW&R金叉
RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
LWR1:=SMA(RSV,N1,1);
LWR2:=SMA(LWR1,N1,1);
DRAWICON(LWR1>LWR2,4,4);
DRAWICON(LWR1<LWR2,4,5);
DRAWTEXTEX(1,1,980,370,'LW&R');
A4:=LWR1>LWR2;
//BBI金叉
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
DRAWICON(C>BBI,5,4);
DRAWICON(C<BBI,5,5);
DRAWTEXTEX(1,1,980,170,'BBI');
A5:=C>BBI;
//ZLMM金叉
mtm:=c-ref(c,1);
mmS:=100*ema(ema(mtm,n2),n1)/ema(ema(abs(mtm),n2),n1);
mmM:=100*ema(ema(mtm,n4),n3)/ema(ema(abs(mtm),n4),n3);
DRAWICON(MMS>MMM,6,4);
DRAWICON(MMS<MMM,6,5);
DRAWTEXTEX(1,1,980,-15,'ZLMM');
A6:=MMS>MMM;
//

//買點
TOTAL:=A1 AND A2 AND A3 AND A4 AND A5 AND A6;
VERTLINE(TOTAL),COLORYELLOW;
持股:TOTAL,COLORCYAN;
買入:((TOTAL)=1 and REF(TOTAL,1)=0)*2,COLORRED,LINETHICK1;
DRAWICON(DIFF>DEA,1,4);
DRAWICON(DIFF<DEA,1,5);
DRAWICON(K>D,2,4);
DRAWICON(K<D,2,5);
DRAWICON(RSI1>RSI2,3,4);
DRAWICON(RSI1<RSI2,3,5);
DRAWICON(LWR1>LWR2,4,4);
DRAWICON(LWR1<LWR2,4,5);
DRAWICON(C>BBI,5,4);
DRAWICON(C<BBI,5,5);
DRAWICON(MMS>MMM,6,4);
DRAWICON(MMS<MMM,6,5);
{n1 1,360,3   n2 1,360,5  n3 1,360,8   n4  1,360,13}

----------------------------------------------------------------------------------------

福版的只爭朝夕是個不錯的指標(biāo),轉(zhuǎn)貼與大家分享。內(nèi)有個人對于其使用些許心得,如有不當(dāng)之處還請福版和各位指正。
源碼如下:
input:N(5,1,50),N1(25,10,200);
A:=(N-HHVBARS(H,N))/N*100;
B:=(N-LLVBARS(L,N))/N*100;
P:=(N1-HHVBARS(H,N1))/N1*100;
Q:=(N1-LLVBARS(L,N1))/N1*100;
短高:(N-HHVBARS(H,N))/N*80,colorgreen;
短低:(N-LLVBARS(L,N))/N*80,colorred;
長高:(N1-HHVBARS(H,N1))/N1*90,colorcyan;
長低:(N1-LLVBARS(L,N1))/N1*90,colormagenta;
賣:if(ref(P,1)=ref(A,1) and ref(A,1)=100 and (A and P)<100 and Q<=40 and B<=50 ,100,110),colorgreen,linethick3;
買:if(ref(Q,1)=ref(B,1) and ref(B,1)=100 and (B and Q)<100 and P<=40 and A<=50 ,0,-10),coloryellow,linethick3;

stickLINE(b=100 and q=100 and 買=0 ,120,-20,0.5,0),colorwhite,POINTDOT;
stickLINE(a=100 and p=100 and 賣=100,120,-20,0.5,0),colorred,POINTDOT;
-----------------------------------------------------------------------------------------------------------

共振攻擊,一個有一定參考價值的指標(biāo)


 

指標(biāo)是選股公式,源碼如下:(各股軟通用)(轉(zhuǎn)載,原作者已記不清是誰,見諒)
MID := MA(CLOSE,7);
HH:=MID + 2*AVEDEV(CLOSE,10);
LL:=MID - 2*AVEDEV(CLOSE,10);
RSV:= (CLOSE-MID)/AVEDEV(CLOSE,20)*7;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D;


VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
T:=VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC;
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
XG:IF((K>D and T and VAR19),1,0);

 

在振蕩市超短線賺取差價的好幫手,底部振蕩時出現(xiàn)該信號很可能有波段行情。上升通道中出現(xiàn)很多情況下股價會出現(xiàn)加速攻擊態(tài)勢。在下降通道中慎用!

------------------------------------------------------------------------------

此指標(biāo)是當(dāng)年在M論壇看到的,原創(chuàng)者刀小,公式與用法都很簡單:線上操盤,線下休息。追求主升浪行情。
源碼如下:
K:cost(80),Linethick1;
呵呵,真的很簡單。
------------------------------------------------------------------------------------------------------------

量價買賣,轉(zhuǎn)載,源碼如下:
DRAWGBK(1,COLORRGB(0,0,20),COLORRGB(0,60,50),1);
DRAWTEXTEX(CLOSE,1,0,22,STKLABEL+' '+STKNAME+''),colorDDFF;
BB:=BARPOS=SYSPARAM(1);
VARIABLE:WDAY[7]='星期六';
WDAY[1]:='星期日';
WDAY[2]:='星期一';
WDAY[3]:='星期二';
WDAY[4]:='星期三';
WDAY[5]:='星期四';
WDAY[6]:='星期五';
FY:=YEAR;
FM:=MONTH;
FD:=DAY;
WD:=WEEKDAY;
P:=SYSPARAM(1);
STR1:=''+'今日: '+NUMTOSTR(FY[P],0)+'年'+NUMTOSTR(FM[P],0)+'月'+NUMTOSTR(FD[P],0)+'日 '+WDAY[WD[P]+1];
DRAWTEXTEX(CLOSE,1,460,22,STR1),colorDDFF;
50,LINEDOT;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD1:=2*(DIFF-DEA);
日轉(zhuǎn)紅:=MACD1>=0 AND REF(MACD1,1)<0;
CS1:=100;
CS2:=HHV(ABS(MACD1),CS1);
CS3:=ABS(100/CS2);
MACD:(MACD1*CS3+100)/2,LINETHICK3,color00FF00;
CS:=MACD;
日紅:=CS>=REF(CS,1);
日轉(zhuǎn)紅:=日紅 AND REF(日紅,1)=0;
PARTLINE(日紅,CS),LINETHICK3,colorred;
AA:=0;
V1:=LLV(LOW,10);
V2:=HHV(HIGH,25);
價位線:=EMA((CLOSE-V1)/(V2-V1)*4,4);
DRAWTEXT(CROSS(價位線,0.3),AA,'買'),color0000FF;
DRAWTEXT(CROSS(3.7,價位線),AA,'賣'),colorFF00;
VERTLINE(CROSS(價位線,0.3)),color0000FF,LINEDASHDOT;
VERTLINE(CROSS(3.7,價位線)),colorFF00,LINEDASHDOT;
-----------------------------------------------------------------------------------------

合并見高點,一個不錯的指標(biāo),轉(zhuǎn)載,向原作者致敬!
源碼如下:
DRAWGBK(1, COLORRGB(100,100,100),COLORRGB(50,50,50),0);
KLINE(O,H,L,C,0);
A02:=(WINNER((CLOSE *  1.100)) *H);
A03:=(WINNER((CLOSE *  0.9)) *  c);
A04:MA(A02,5),COLORGREEN;
a05:ma(a04,5),COLORRED;
STICKLINE(A04>A05,A04,A05,1,1),COLORRED;
STICKLINE(A04<A05,A04,A05,1,1),COLORGREEN;
PARTLINE(a04>ref(a04,1),A04),COLORRED;
PARTLINE(a05<ref(a05,1),A05),COLORGREEN;
STICKLINE(a04>ref(a04,1),2*a04-ref(a04,1),a04,8,1),COLOR000088;
STICKLINE(a04>ref(a04,1),2*a04-ref(a04,1),a04,7,1),COLOR000077;
STICKLINE(a04>ref(a04,1),2*a04-ref(a04,1),a04,6,1),COLOR000066;
STICKLINE(a04>ref(a04,1),2*a04-ref(a04,1),a04,5,1),COLOR0000bb;
STICKLINE(a04>ref(a04,1),2*a04-ref(a04,1),a04,4,1),COLOR0000cc;
STICKLINE(a04>ref(a04,1),2*a04-ref(a04,1),a04,3,1),COLOR0000dd;
STICKLINE(a04>ref(a04,1),2*a04-ref(a04,1),a04,2,1),COLOR0000ee;
STICKLINE(a04>ref(a04,1),2*a04-ref(a04,1),a04,1,1),COLOR0000FF;
STICKLINE(a04<ref(a04,1),2*a04-ref(a04,1),a04,8,1),color009900;
STICKLINE(a04<ref(a04,1),2*a04-ref(a04,1),a04,7,1),COLOR008800;
STICKLINE(a04<ref(a04,1),2*a04-ref(a04,1),a04,6,1),COLOR007700;
STICKLINE(a04<ref(a04,1),2*a04-ref(a04,1),a04,5,1),COLOR00bb00;
STICKLINE(a04<ref(a04,1),2*a04-ref(a04,1),a04,4,1),COLOR00cc00;
STICKLINE(a04<ref(a04,1),2*a04-ref(a04,1),a04,3,1),COLOR00dd00;
STICKLINE(a04<ref(a04,1),2*a04-ref(a04,1),a04,2,1),COLOR00ee00;
STICKLINE(a04<ref(a04,1),2*a04-ref(a04,1),a04,1,1),COLOR00FF00;
----------------------------------------------------------------------------------------------------------

K線合并見低點,一個波段操作的好幫手。用法顧名思義,呵呵。轉(zhuǎn)載,感謝原創(chuàng)者!
源碼如下:
DRAWGBK(1, COLORRGB(100,100,100),COLORRGB(50,50,50),0);
KLINE(O,H,L,C,0);
AA02:=((1-WINNER((CLOSE*1.1))) *C);
AA03:=((1-WINNER((C*1)))* C);
AA04:MA(AA02,5),COLOR00ffFF;
AA05:ma(AA04,5),COLORffFF00;
STICKLINE(AA04<AA05,AA04,AA05,1,1),COLORffFF00;
STICKLINE(AA04>AA05,AA04,AA05,1,1),COLOR00ffFF;
PARTLINE(AA04<ref(AA04,1),AA04),COLORffFF00;
PARTLINE(AA05>ref(AA05,1),AA05),COLOR00ffFF;
STICKLINE(AA04<ref(AA04,1),2*AA04-ref(AA04,1),AA04,8,1),COLORff7700;
STICKLINE(AA04<ref(AA04,1),2*AA04-ref(AA04,1),AA04,7,1),COLORff8800;
STICKLINE(AA04<ref(AA04,1),2*AA04-ref(AA04,1),AA04,6,1),COLORff9900;
STICKLINE(AA04<ref(AA04,1),2*AA04-ref(AA04,1),AA04,5,1),COLORffbb00;
STICKLINE(AA04<ref(AA04,1),2*AA04-ref(AA04,1),AA04,4,1),COLORffcc00;
STICKLINE(AA04<ref(AA04,1),2*AA04-ref(AA04,1),AA04,3,1),COLORffdd00;
STICKLINE(AA04<ref(AA04,1),2*AA04-ref(AA04,1),AA04,2,1),COLORffee00;
STICKLINE(AA04<ref(AA04,1),2*AA04-ref(AA04,1),AA04,1,1),COLORffFF00;
STICKLINE(AA04>ref(AA04,1),2*AA04-ref(AA04,1),AA04,8,1),color0099ff;
STICKLINE(AA04>ref(AA04,1),2*AA04-ref(AA04,1),AA04,7,1),COLOR0088ff;
STICKLINE(AA04>ref(AA04,1),2*AA04-ref(AA04,1),AA04,6,1),COLOR0077ff;
STICKLINE(AA04>ref(AA04,1),2*AA04-ref(AA04,1),AA04,5,1),COLOR00bbff;
STICKLINE(AA04>ref(AA04,1),2*AA04-ref(AA04,1),AA04,4,1),COLOR00ccff;
STICKLINE(AA04>ref(AA04,1),2*AA04-ref(AA04,1),AA04,3,1),COLOR00ddff;
STICKLINE(AA04>ref(AA04,1),2*AA04-ref(AA04,1),AA04,2,1),COLOR00eeff;
STICKLINE(AA04>ref(AA04,1),2*AA04-ref(AA04,1),AA04,1,1),COLOR00FFff;

-------------------------------------------------------------------------------------------------------------------

macd與KDJ結(jié)合,專捕波段行情?
源碼如下:
RSV:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*200-100)/2;
k:SMA(SMA( RSV,3,1),3,1);                                    
D:MA(EMA(k,3),3);                                       
J:3*k-2*D,COLOR3D,COLORffff00;                    
空頭:(-(3*k-2*D)),COLOR00ff00;            
DIFF:=EMA(CLOSE,13)-EMA(CLOSE,26)*100;           
DEA:=EMA(DIFF,3);                              
多頭MACD:(-3*(DIFF-DEA)),LINETHICK2,COLOR0000ff;
STICKLINE(多頭MACD>0,多頭MACD,0,2,1),COLORRED,LINETHICK2;
STICKLINE(多頭MACD<0,多頭MACD,0,2,1),COLOR00ff00,LINETHICK1;
短買:IF((CROSS(k,d) and k<0 ),10,0),color005aff,LINETHICK0;
DRAWICON((CROSS(k,d) and k<0 ),k,12);
追擊:IF(CROSS(多頭MACD,空頭),25,0),color00ffff,LINETHICK2;
-----------------------------------------------------------------------------------------------

最近比較忙,今天抽空來發(fā)個小指標(biāo)


 

籌碼集中度:=COST(10)/(COST(80)-COST(10));
籌碼1:EMA(籌碼集中度,1)*10,LINETHICK2,COLOR3399ff;
籌碼3:EMA(籌碼集中度,3)*10,LINETHICK2,COLORRED;
籌碼13:EMA(籌碼集中度,13)*10,LINETHICK1;
籌碼34:EMA(籌碼集中度,34)*10,LINETHICK1;
籌碼55:EMA(籌碼集中度,55)*10,LINETHICK1;
籌碼90:EMA(籌碼集中度,90)*10,LINETHICK1,COLORff00ff;
籌碼250:EMA(籌碼集中度,250)*10,LINETHICK1,COLORblue;
籌碼集中度,注意短期籌碼集中度由高向低轉(zhuǎn)換的時候,配合成交量,往往能夠抓住一波行情,呵呵
---------------------------------------------------------------------------------------------------------------------------------------

忙了好幾個月,難得現(xiàn)在有些空閑時間了。呵呵。下面與大家分享一個主圖趨勢指標(biāo),并附個人小小心得。
源碼如下:
MA8:EMA(CLOSE,8),COLORWHITE;
MA20:EMA(CLOSE,20),COLORYELLOW;
STICKLINE(MA8>MA20,MA20,MA8,0.2,1),COLORRED;
STICKLINE(MA8<=MA20,MA8,MA20,0.2,1),COLORGREEN;
Z1:=EMA(CLOSE,20);
趨勢指導(dǎo):EMA(Z1,20),COLOR00FF66;
JC1:= CROSS(MA8,MA20) AND CLOSE>趨勢指導(dǎo);
JC:= JC1;
ZS1:= CROSS((0-MA8),(0-MA20));
ZS:= ZS1;
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:= EMA(DIFF,9);
MACD0:= 2*(DIFF-DEA);
ZT:= COUNT(MACD0>=REF(MACD0,1),4)=1 AND MACD0>=REF(MACD0,1) AND  MACD0<0;

====================================================================================

大智慧2籌碼突破

源碼如下:
參數(shù)名        缺省         最小        最大
N                  21             0            100
N1                34             0            100

主籌估算:EMA(WINNER(CLOSE)*70,3),STICK,LINETHICK3,COLORRED;
散籌估算:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*70,3),LINETHICK2,color009900;
籌碼鎖定:散籌估算-主籌估算, COLORFFBB00;
總股本:=FINANCE2( 35);
動態(tài)底部:EMA(IF(LOW<= LLV(LOW,99),SMA(ABS(LOW-REF(LOW,1)),99,1)/SMA(MAX(LOW-REF(LOW,1),0),99,1),0)*5,3),COLOR62B3FF;
FILLRGN(籌碼鎖定,散籌估算,籌碼鎖定>0),color009900;
FILLRGN(籌碼鎖定,散籌估算,籌碼鎖定<=0),color009900;
FILLRGN(0,籌碼鎖定,籌碼鎖定>0),COLORFFBB00;
FILLRGN(0,籌碼鎖定,籌碼鎖定<=0),COLORFFBB00;
FILLRGN(0,動態(tài)底部,動態(tài)底部>0),COLOR62B3FF;
主籌估算,LINETHICK2,COLORRED;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VARA:=IF(VAR9>100,VAR9-100,0);
VARB:=HHV(HIGH,34);
AA:= VARA*2;
BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
CC:= SMA(VAR5,20,1);
VARD:=SMA(AA,2,1)-AA;
VARE:=EMA(0.667*REF(BB,1)+0.333*BB,2)-BB;
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
低抄:=IF(VAR6A>N,VAR6A-N,0);
端莊窩:=IF(VAR6A>N1,VAR6A-N1,0);
抄底:IF(CROSS(低抄,0.01),8,0),STICK,COLOR0000CC,LINETHICK2;
起步:CROSS(主籌估算,籌碼鎖定),COLORWHITE;
跑步:CROSS(主籌估算,散籌估算),COLORYELLOW;
鎖定拉升:CROSS(0,籌碼鎖定),COLORCYAN;
DRAWICON(鎖定拉升>0,0,7),LAYER0,ALIGN1;
STICKLINE(起步,0,籌碼鎖定,4,0),COLORWHITE;
STICKLINE(跑步,0,散籌估算,4,0),COLORYELLOW;
主力籌碼:=EMA(WINNER(CLOSE)*70,10);
散戶籌碼:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,10);
開始高控:CROSS(主力籌碼,散戶籌碼),COLORMAGENTA;
STICKLINE(開始高控,0,主力籌碼,4,0),COLORMAGENTA;
CD1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))-0.7;
CD2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
CD3:=SMA(SMA(CD2,3,1),3,1);
CD4:=(CD3-SMA(CD1,9,1))-0.5;
CD5:=IF(CD4>0.00,CD4,0.00);
CD6:=REF(CD5,1);
VAR81:=MA(CLOSE,9);
空頭:=IF(CD6-CD5,CD6,CD5);
減倉空倉:IF(CROSS(CD6,CD5),18,0),STICK ,COLORGREEN;
DRAWICON(減倉空倉>0,18,8),LAYER0,ALIGN1;
DRAWFLAGTEXT(抄底,C,'關(guān)注[抄底]信號,底部已確認(rèn),趕快抄底,做波小行情!'),COLORYELLOW;
DRAWFLAGTEXT(減倉空倉,C,'形態(tài)變壞,股價要回調(diào)了,重倉者建議減倉或空倉!'),COLORGREEN;
DRAWFLAGTEXT(1,C,'============================================='),Color326C2C;
DRAWFLAGTEXT(1=1,C,'★☆使用者,請注意:本指標(biāo)的買賣提示和解盤建議,只作參考,據(jù)此入市,風(fēng)險自負(fù)!'),COLOR4682B4;
DRAWFLAGTEXT(1,C,'============================================='),Color326C2C;
DRAWFLAGTEXT(起步,C,'關(guān)注[起步]信號,該信號是主力準(zhǔn)備拉升提示,可適量建倉!'),COLORCYAN;
DRAWFLAGTEXT(跑步,C,'關(guān)注[跑步]信號,通常是鎖定和加速拉升的提示,可考慮加倉,若遇上主升段要耐心持股!。'),COLORMAGENTA;
DRAWFLAGTEXT(開始高控,C,'關(guān)注[開始高控]信號,據(jù)此提示,意味著主力已經(jīng)進(jìn)入高度控盤區(qū)域,若遇上主升行情,要好好把握,預(yù)防主力洗盤、震倉出局!'),COLORRED;
==============================================================================

莊稼克星の神奇均線主圖源碼
本指標(biāo)由“神奇中線”(A1~A7)、“神奇短線”(A8~A9)和“安全線”(綠色)構(gòu)成。從圖形的簡單變化即可確定多空雙方主力誰占優(yōu)勢,大盤或個股 是漲還是跌。本指標(biāo)操作方便,準(zhǔn)確率高。本指標(biāo)既適用于中線波段炒作,也適用于短線炒作,是“看長線做短線”的有力工具。在具體操作中,“神奇中線” (A1~A7)適用于中線操作,“神奇短線”(A8~A9)適用于短線操作。
操作要領(lǐng):
1、買點:當(dāng)“神奇中線”由向下發(fā)散轉(zhuǎn)變?yōu)橄蛏鲜諗n并即將或已經(jīng)開始向上發(fā)散時為極佳的買點。當(dāng)“神奇短線”A8與A9發(fā)生“金叉”時為短線“買點”。
2、賣點:當(dāng)“神奇中線”由向上發(fā)散轉(zhuǎn)變?yōu)橄蛳率諗n并即將或已經(jīng)開始向下發(fā)散時為最后的賣點。當(dāng)“神奇短線”A9與A8發(fā)生“死叉”時為短線“賣點”。
3、注意事項:
A、當(dāng)“神奇中線”、“神奇短線”發(fā)出買入信號時,如果K線在“安全線”(綠色)之下,可以試建倉,做反彈,但必須快進(jìn)快出;一旦K線站在“安全線”(綠 色)之上,并且有成交量的配合即可加碼建倉,此時為較佳的買點。然后可看長做短,一路持股并等待短線指標(biāo)或“神奇中線”或“神奇短線”發(fā)出賣出信號,然后 回避短線調(diào)整或清倉離場?!吧衿婢€”的特色功能,除能實時提示相對安全的“買點”之外,非常重要的是它從A1~A7的形態(tài)特征上可以清晰的作出判斷其基 本的“趨勢”是上升還是下降。在具體操作中我們可以““神奇中線”(A1~A7)不封閉,繼續(xù)持股不持幣”的原則確定是否繼續(xù)持股待漲

Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1: (EMA(Var1,3)+EMA(Var1,6)+EMA(Var1,12)+EMA(Var1,24))/4;
A2: EMA(A1,2);
A3: EMA(A2,2);
A4: EMA(A3,2);
A5: EMA(A4,2);
A6: EMA(A5,2);
A7: EMA(A6,2);
A8: EMA(Var1,2.78)*1.028;
A9: MA(OPEN,3.2)*1.028;
安全線: EMA(CLOSE,55), CIRCLEDOT;
===============================================

自用主圖獻(xiàn)給大家
 

2010-01-09_232542.png (1.09 KB)

2010-1-9 23:35


EXP1:EXPMA(CLOSE,N1);
EXP2:EXPMA(CLOSE,N2);
STICKLINE(C>=EXP1,H,L,0,0),COLORMAGENTA;
STICKLINE(C>=EXP1,C,O,3,0),COLORLIMAGENTA;
STICKLINE(C<EXP1,H,L,0,0),COLORGREEN;
STICKLINE(C<EXP1,C,O,3,0),COLORLIGREEN;
MID:MA(CLOSE,20);
UPPER:MID+2*STD(CLOSE,20);
LOWER:MID-2*STD(CLOSE,20);
DRAWTEXT(CROSS(CLOSE,EXP1)AND CROSS(CLOSE,EXP2)AND EXP2>REF(EXP2,1)AND V/REF(V,1)>1,LOW,'穿天神鼠');
DRAWTEXT(CLOSE>UPPER AND V/REF(V,1)>2,L,'虎山行');
-------------------------------------------------------------------------------------------

副圖源碼:
VOLUME:VOL,VOLSTICK;
主力啟動線:MA(VOLUME,5),COLORRED,LINETHICK2;
主力洗盤線:MA(VOLUME,35),COLORYELLOW,LINETHICK2;
資金異動線:MA(VOLUME,135),COLORBLUE,LINETHICK2;
出擊:STICKLINE(CROSS(主力啟動線,資金異動線) OR ((主力洗盤線 > 資金異動線) AND CROSS(主力啟動線,主力洗盤線)),0,VOL,2,0),COLORYELLOW;
啟動:STICKLINE(主力啟動線>REF(主力啟動線,1) AND (CROSS(VOL,主力啟動線) AND (REF(VOL,1)<REF(資金異動線,1) AND REF(VOL,2)<REF(資金異動線,2))),0,VOL,3,0),COLORGREEN;
V1:=CLOSE/REF(CLOSE,3)>=1.1;
V2:=BACKSET(V1,2);
V3:=REF(CLOSE,3)*1.1;
V4:=CROSS(C,V3);
OK:STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,5,0),COLORRED;
COND:(CROSS(主力啟動線,資金異動線) OR ((主力洗盤線 > 資金異動線) AND CROSS(主力啟動線,主力洗盤線)))
OR (主力啟動線>REF(主力啟動線,1) AND (CROSS(VOL,主力啟動線) AND (REF(VOL,1)<REF(資金異動線,1) OR REF(VOL,2)<REF(資金異動線,2))))
OR (V2 AND COUNT(V2,2)=1),LINETHICK0;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
長期線:=A+100;
短期線:=B+100;
中期線:=D+100;
見頂:=((REF(中期線,1)>85 AND REF(短期線,1)>85 AND REF(長期線,1)>65) AND CROSS(長期線,短期線));
頂部區(qū)域:=(中期線=80) AND (REF(短期線,1)>95 OR REF(短期線,2)>95 ) AND 長期線>60 AND 短期線<83.5
AND 短期線<中期線 AND 短期線<長期線+4;
頂部:=FILTER(頂部區(qū)域,4);
STICKLINE( {見頂 OR} 頂部,VOL,VOL*1.1,20,1 ),COLORBLUE,LINETHICK2;
VAR6:=REF(CLOSE,1);
VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;
STICKLINE( CROSS(84,VAR7),VOL,VOL*1.05,20,1 ),COLOR0099FF,LINETHICK2;
均勢一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) + REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9);
均勢二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) / 4);
趨勢一:=((((均勢一 - REF(均勢一,1)) / REF(均勢一,1)) * 1000) + 50);
趨勢二:=((((均勢二 - REF(均勢二,1)) / REF(均勢二,1)) * 1000) + 50);
波段高位:=(CROSS(趨勢一,趨勢二) AND (COUNT((CLOSE > REF(HIGH,1)),12) > 5));
STICKLINE(波段高位,VOL,VOL*1.08,20,1 ),COLORGREEN,LINETHICK2;

===============================================================================

原創(chuàng)精簡bias指標(biāo),精簡rsi指標(biāo)姐妹篇,兩個指標(biāo)相互參考

1.當(dāng)股價的正乖離擴(kuò)大到一定極限時,股價會產(chǎn)生向下拉回的作用力;
2.當(dāng)股價的負(fù)乖離擴(kuò)大到一定極限時,股價會產(chǎn)生向上拉升的作用力;

乖離率往往能比其他的指標(biāo)更早的判斷買點,更早的判斷賣點


個人認(rèn)為買點以乖離率判斷更佳,賣點用rsi。

正所謂買入早一天,賣出晚一天。

當(dāng)趨勢不明時,乖離率更好用一些。


指標(biāo)操作方法:

黃色線持股,藍(lán)色線減倉、持幣。紅色柱代表股價向上乖離,股價上漲;綠色柱代表股價向下乖離,股價下跌。

指標(biāo)源碼:精簡bias

BIAS6 :(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,LINETHICK0;

STICKLINE(BIAS6>=REF(BIAS6,1),0,BIAS6,2.2,1),COLORRED;
STICKLINE(BIAS6<REF(BIAS6,1),0,BIAS6,2.2,1),COLORGREEN;
MA3:MA(BIAS6,3),COLORBLUE;

IF(MA3>REF(MA3,1) OR BIAS6>MA3,MA3,DRAWNULL),COLORYELLOW;
------------------------------------------------------------------------------------------------------------------

{【破解版DDE指標(biāo)排序】}
JUJ:=(HIGH+LOW+CLOSE)/3;
QUJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QUJ1:=IF(CAPITAL=0,QUJ0*(JUJ-MIN(CLOSE,OPEN)),QUJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QUJ2:=IF(CAPITAL=0,QUJ0*(MIN(OPEN,CLOSE)-LOW),QUJ0*IF(HIGH=LOW,1,(JUJ-MIN(CLOSE,OPEN))));
QUJ3:=IF(CAPITAL=0,QUJ0*(HIGH-MAX(OPEN,CLOSE)),QUJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QUJ4:=IF(CAPITAL=0,QUJ0*(MAX(CLOSE,OPEN)-JUJ),QUJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JUJ)));
QUJ5:=QUJ1+QUJ2;
QUJ6:=QUJ3+QUJ4;
DD:=(QUJ5-QUJ6)/(QUJ5+QUJ6)*100;
DDX:((QUJ1+QUJ2)-(QUJ3+QUJ4))/IF(CAPITAL=0,1000000,10000);
DDY:((QUJ2+QUJ4)-(QUJ1+QUJ3))/IF(CAPITAL=0,1000000,10000);
DDZ:DD*17;

下面是選股:
{破解版DDE均線多頭選股公式}
JUJ:=(HIGH+LOW+CLOSE)/3;
QUJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QUJ1:=IF(CAPITAL=0,QUJ0*(JUJ-MIN(CLOSE,OPEN)),QUJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QUJ2:=IF(CAPITAL=0,QUJ0*(MIN(OPEN,CLOSE)-LOW),QUJ0*IF(HIGH=LOW,1,(JUJ-MIN(CLOSE,OPEN))));
QUJ3:=IF(CAPITAL=0,QUJ0*(HIGH-MAX(OPEN,CLOSE)),QUJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QUJ4:=IF(CAPITAL=0,QUJ0*(MAX(CLOSE,OPEN)-JUJ),QUJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JUJ)));
QUJ5:=QUJ1+QUJ2;
QUJ6:=QUJ3+QUJ4;
DD:=(QUJ5-QUJ6)/(QUJ5+QUJ6)*100;
DDZ:=DD*17;
DDX:=((QUJ1+QUJ2)-(QUJ3+QUJ4))/IF(CAPITAL=0,1000000,10000);
DX:=MA(DDX,5)*20;
DDX1:=SMA(DX,3,1);
DDX2:=SMA(DDX1,3,1);
DDX3:=EMA(DDX2,5);
DDY:=((QUJ2+QUJ4)-(QUJ1+QUJ3))/IF(CAPITAL=0,1000000,10000);
DY:=MA(DDY,5)*22;
DDY1:=SMA(DY,3,1);
DDY2:=SMA(DDY1,3,1);
DDY3:=EMA(DDY2,5);
CC:=ABS(REF(CLOSE,1)-CLOSE)/CLOSE*100;
JJ:=CC>0 AND CC<3;
AA:=DDX1>DDX2 AND DDX2>DDX3 AND DDX1>DDX3;
BB:=DDY1>DDY2 AND DDY2>DDY3 AND DDY1>DDY3;
HH:=AA>0 AND BB>0 AND DDZ>300 AND JJ>0;
HH>0;


以上指標(biāo)為收集,非本人原創(chuàng)。

用法:輸入.401   ,然后更改排序指標(biāo),選擇破解DDE。
---------------------------------------------------------------------------------------

一個判斷背離的主圖

A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水嶺:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK1;
PMA:=分水嶺;
DD:=分水嶺<REF(分水嶺,1);
IF(DD,分水嶺,DRAWNULL),COLOR00FF00,LINETHICK1;
操作線:分水嶺-(EMA(C,3)-分水嶺),COLOR00FFFF,LINETHICK1;
S:=(PMA>操作線);
IF(S,分水嶺,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK1;
PM:MA(C,5),COLORFFFFCC,LINETHICK1;
IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK1;
IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;
IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK1;
DRAWTEXT(CROSS(分水嶺,操作線),分水嶺-0.1,'三底背離');
A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));
B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");
DRAWTEXT(B1>0,L-0.02,'M底背離'),COLOR00FFFF;
A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");
DRAWTEXT(B2,L-0.10,'K底背離'),COLORFF00FF;
A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");
DRAWTEXT(B3>0,L-0.18,'R底背離'),COLOR0000FF;
C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));
D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");
DRAWTEXT(D1>0,H+0.16,'M頂背離'),COLOR00FF00;
C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));
D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K");
DRAWTEXT(D2>0,H+0.08,'K頂背離'),COLORFFFFCC;
C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));
D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1");
DRAWTEXT(D3>0,H+0.04,'R頂背離'),COLORFF9900;

判斷個股和大盤的頂?shù)走€是有幫助的。

周期 日線 和 60分鐘 為主

重要性:
1、R背離
2、M背離
3、K背離

三底背離這種當(dāng)然最好了
-------------------------------------------------------------------------------------

奉獻(xiàn)混沌2系列指標(biāo) 鱷魚線 AO AC源碼,另加MFI視窗 [參透混沌,股市即提款機(jī)也]

鱷魚-線★

Y:=(H+L)/2;
AA:=REF((SMA(Y,5,1)),3);
BB:=REF((SMA(Y,8,1)),5);
CC:=REF((SMA(Y,13,1)),8);

鱷:CC,COLORFF6600;
齒:BB,COLORRED;
唇:AA,COLORGREEN;

R2:=REF(齒,5);
KU1:=IF(HIGH=HHV(HIGH,3),1,0);
KD1:=IF(LOW=LLV(LOW,3),1,0);
UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0)));
DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0)));
上分形:IF(HIGH>=R2,UL,REF(UL,BARSLAST(HIGH>R2))),POINTDOT,LINETHICK3,,COLORMAGENTA;
下分形:IF(LOW<=R2,DL,REF(DL,BARSLAST(LOW<=R2))),POINTDOT,LINETHICK3,COLORYELLOW;

DRAWICON(CLOSE>上分形 AND REF(CLOSE,1)<REF(上分形,1),HIGH*1.03,1);
DRAWICON(CLOSE<下分形 AND REF(CLOSE,1)>REF(下分形,1),LOW*0.99,2);

AO:=MA(Y,5)-MA(Y,34);
MAO:=MA(AO,5);
AC:=AO-MAO;
AC1:=REF(AC,1);
AO1:=REF(AO,1);
KAC:=IF(AC>AC1 AND AO>AO1,1,0);
KAO:=IF(AC<AC1 AND AO<AO1,-1,0);

STICKLINE(KAC=1 AND CLOSE>=OPEN,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(KAO=-1 AND CLOSE>=OPEN,OPEN,CLOSE,3,1),COLORGREEN;
STICKLINE(KAO=0 AND KAC=0 AND CLOSE>=OPEN,OPEN,CLOSE,3,1),COLORDDDDDD;
STICKLINE(CLOSE>=OPEN,HIGH,CLOSE,0.0.1,0),COLORRED;
STICKLINE(CLOSE>=OPEN,OPEN,LOW,0.0.1,0),COLORRED;
STICKLINE(KAC=1 AND CLOSE<OPEN,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(KAO=-1 AND CLOSE<OPEN,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(KAO=0 AND KAC=0 AND CLOSE<OPEN,OPEN,CLOSE,3,0),COLORDDDDDD;



AO動量★

VAR1:=(HIGH+LOW)/2;
AO:MA(VAR1,5)-MA(VAR1,34),LINETHICK0;
STICKLINE(AO>=REF(AO,1),0,AO,2.2,1),COLORRED;
STICKLINE(AO<REF(AO,1),0,AO,2.2,1),COLORGREEN;
AO5:MA(AO,5),COLORFF6600;

S1:=CROSS(0,AO);
DRAWTEXT(S1,AO,'S'),COLORWHITE;
DRAWICON(S1,AO,2);

S2:=AO<0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1);
DRAWTEXT(S2,AO,'S'),COLORWHITE;
DRAWICON(S2,AO,2);

SCOUNT:=BARSLAST(AO<0);
SD:=HHV(AO,SCOUNT);
SCOUNTD:=HHVBARS(AO,SCOUNT);
S3:=AO>0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1);
S31:=COUNT(S3,SCOUNTD);
DRAWTEXT(S31>=2 AND S3,AO,'S'),COLORWHITE;
DRAWICON(S31>=2 AND S3,AO,2);

B1:=CROSS(AO,0);
DRAWTEXT(B1,AO,'B'),COLORWHITE;
DRAWICON(B1,AO,1);

B2:=AO>0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1) ;
DRAWTEXT(B2,AO,'B'),COLORWHITE;
DRAWICON(B2,AO,1);

BCOUNT:=BARSLAST(AO>0);
BD:=LLV(AO,BCOUNT);
BCOUNTD:=LLVBARS(AO,BCOUNT);

B3:=AO<0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1);
B31:=COUNT(B3,BCOUNTD);
DRAWTEXT(B31>=2 AND B3,AO,'B'),COLORWHITE;
DRAWICON(B31>=2 AND B3,AO,1);



AC加速★

AO:=MA((HIGH+LOW)/2,5)-MA((HIGH+LOW)/2,34);
AO5:=MA(AO,5);
AC:AO-AO5,LINETHICK0;
STICKLINE(AC>=REF(AC,1),0,AC,2.2,1),COLORRED;
STICKLINE(AC< REF(AC,1),0,AC,2.2,1),COLORGREEN;
AC1:=REF(AC,1);
BUY1:=REF(AC,3)<REF(AC1,3) AND REF(AC,2)<REF(AC1,2) AND REF(AC,2)<REF(AC,3) AND REF(AC,1)>REF(AC1,1) AND AC>AC1 AND COUNT(AC>0,4)=4;
DRAWTEXT(BUY1,AC,'B'),COLORWHITE;
DRAWICON(BUY1,AC,1);
BUY2:=COUNT(AC<0,4)=4 AND REF(AC,3)<REF(AC1,3) AND COUNT(AC>AC1,3)=3;
DRAWTEXT(BUY2,AC, 'B'),COLORWHITE;
DRAWICON(BUY2,AC,1);
BUY3:=REF(AC,3)<REF(AC1,3) AND REF(AC,2)<REF(AC1,2) AND REF(AC,2)<REF(AC,3) AND COUNT(AC>AC1,2)=2 AND REF(AC,1)<0 AND AC>0;
DRAWTEXT(BUY3,AC, 'B'),COLORWHITE;
DRAWICON(BUY3,AC,1);
BUY4:=REF(AC,4)<REF(AC1,4) AND REF(AC,3)<REF(AC1,3) AND REF(AC,3)<REF(AC,4) AND COUNT(AC>AC1,3)=3 AND REF(AC,1)<0 AND AC>0;
DRAWTEXT(BUY4,AC, 'B'),COLORWHITE;
DRAWICON(BUY4,AC,1);
S1:=REF(AC,3)>REF(AC1,3) AND REF(AC,2)>REF(AC1,2) AND REF(AC,2)>REF(AC,3) AND REF(AC,1)<REF(AC1,1) AND AC<AC1 AND COUNT(AC<0,4)=4;
DRAWTEXT(S1,AC,'S'),COLORWHITE;
DRAWICON(S1,AC,2);
S2:=COUNT(AC>0,4)=4 AND REF(AC,3)>REF(AC1,3) AND COUNT(AC<AC1,3)=3;
DRAWTEXT(S2,AC,'S'),COLORWHITE;
DRAWICON(S2,AC,2);
S3:=REF(AC,3)>REF(AC1,3) AND REF(AC,2)>REF(AC1,2) AND REF(AC,2)>REF(AC,3) AND COUNT(AC<AC1,2)=2 AND REF(AC,1)>0 AND AC<0;
DRAWICON(S3,AC,2);



MFI視窗

MFI:(H-L)*1000000/V,STICK;
A1:=MFI>=REF(MFI,1)*1.1 AND V>=REF(V,1)*1.1;
A2:=MFI<=REF(MFI,1)*0.9 AND V<=REF(V,1)*0.9;
A3:=MFI>=REF(MFI,1)*1.1 AND V<=REF(V,1)*0.9;
A4:=MFI<=REF(MFI,1)*0.9 AND V>=REF(V,1)*1.1;   
STICKLINE(A1,0,MFI,0.1,1),COLORGREEN;
STICKLINE(A2,0,MFI,0.1,1),COLORBLUE;
STICKLINE(A3,0,MFI,0.1,1),COLORBROWN;
STICKLINE(A4,0,MFI,0.1,1),COLORMAGENTA;
MA5:MA(MFI,5);
綠燈:IF(A1,MFI,DRAWNULL),STICK,COLORGREEN;
衰退:IF(A2,MFI,DRAWNULL),STICK,COLORBLUE;
偽裝:IF(A3,MFI,DRAWNULL),STICK,COLORBROWN;
蟄伏:IF(A4,MFI,DRAWNULL),STICK,COLORMAGENTA;
--------------------------------------------------------------------------------

修改的獲利成交量和倍量成交拐點,另加無極量源碼

給獲利成交量加上5日和34日量線

給倍量拐點加上虛擬量

原作者見諒。

獲利成交量:
【手】:VOL,NODRAW,VOLSTICK;
額【億】:AMOUNT/100000000,NODRAW;
流通:CAPITAL/1000000,NODRAW;
成交流通比:AMOUNT/CAPITAL/100,NODRAW;
漲家數(shù):INDEXADV,COLOR0000EE,NODRAW;
跌家數(shù):INDEXDEC,COLOR00EE00,NODRAW;
大盤成交:INDEXV,COLOR00EEEE,NODRAW;
【5日】:MA(VOL,M1),COLORMAGENTA;
【34日】:MA(VOL,M2),COLORBLUE;
HL10:=WINNER(C/1.1)*V;
STICKLINE(((C/1.1)*V),HL10,0,0.1,0),COLOR00DD00;
HL20:=WINNER(C/1.2)*V;
STICKLINE(((C/1.2)*V),HL20,0,0.1,0)COLOR00DDDD;
HL30:=WINNER(C/1.3)*V;
STICKLINE(((C/1.3)*V),HL30,0,0.1,1),COLORDD0000;


(參數(shù):M1:2 500 5
M2:2 500 34)
------------------------------------------------------

倍量成交拐點:

〖虛量〗:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,〖虛量〗,0,-1,-1),COLORYELLOW;
〖量〗:VOL,NODRAW,VOLSTICK;
STICKLINE(V>=3*REF(V,1),V/3,V/3,3.9,0),COLORWHITE;
STICKLINE(V>=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW;
流通〖億〗:CAPITAL/1000000,LINETHICK0;
內(nèi)外比:DYNAINFO(51),COLORYELLOW,NODRAW;
單日量比:V/REF(V,1),COLORWHITE,NODRAW;
五日量比:V/(REF(MA(V,5),1)/240*FROMOPEN),COLORYELLOW,NODRAW;
5換:SUM(100*V/CAPITAL,5),LINETHICK0;
10換:SUM(100*V/CAPITAL,10),LINETHICK0;
20換:SUM(100*V/CAPITAL,20),LINETHICK0;
-------------------------------------------------------------------

無極量:
量:VOL,LINETHICK0;
STICKLINE(CLOSE>=REF(CLOSE,1),VOL,0,2.5.1,1),COLORRED;
STICKLINE(CLOSE< REF(CLOSE,1),VOL,0,2.5.1,1),COLORGREEN;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買盤:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL /2)),LINETHICK0,COLORRED;
賣盤:IF(CLOSE>OPEN,AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,AA*(HIGH-LOW),VOL /2)),LINETHICK0,COLORCYAN;
STICKLINE(買盤>0,0,買盤,0.1,0),COLORRED;

買盤大賣盤%:(買盤-賣盤)/買盤*100,COLORRED;
賣盤大買盤%:(賣盤-買盤)/賣盤*100,COLORGREEN;
流通盤:CAPITAL/1000000,LINETHICK0;
換手率:VOL/CAPITAL*100,LINETHICK0;
收益: FINANCE(33),COLORRED,LINETHICK0;
M1:MA(VOL,5),COLORMAGENTA;
M2:MA(VOL,15),COLORCYAN;
賣盤大:=(賣盤-買盤)/賣盤>0.50;
DRAWICON(賣盤大,1,2);
買盤大:=(買盤-賣盤)/買盤>0.50,LINETHICK0;
DRAWICON(買盤大,1,1);
-------------------------------------------------------------

大道至簡,原創(chuàng)精簡rsi指標(biāo),買入賣出,持股持幣

rsi還是屬于比較經(jīng)典的指標(biāo)的,指標(biāo)更多的用于頂?shù)妆畴x的判斷。

本指標(biāo)是利用6日rsi對6日均線的位置做買賣判斷的

根據(jù)均線大小變化做持幣還是持股判斷。

指標(biāo)操作方法:

紅線持股,綠線持幣

白線上穿均線為買點,下穿均線可以做減倉和賣出操作。

指標(biāo)設(shè)三條虛線,第一條為70線,rsi(白線)在70線以上形成頭肩頂,雙重頂,而股價繼續(xù)上升,形成R頂背離,說明股價見頂。

第三條虛線為30線,rsi(白線)在30線以下形成頭肩底,雙重底,而股價繼續(xù)下跌,形成R底背離,說明股價見底。

50線為多空分界,50線上位多頭區(qū),50線以下為空頭區(qū)。

指標(biāo)是參考,rsi需結(jié)合均線和量線操作。


源碼:精簡RSI

LC:=REF(CLOSE,1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,LINETHICK2;

MA6 :MA(RSI6,6),COLORGREEN;
IF(MA6>REF(MA6,1) OR RSI6>MA6,MA6,DRAWNULL),COLORRED,LINETHICK2;

=====================================================================

發(fā)一個vol的副圖
說明:關(guān)于vol的公式,密切關(guān)注必有收獲,特別是黃色段出現(xiàn)。
VAR22:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
獲利盤: WINNER(CLOSE)*100;
VAR33:=SMA(VAR22,3,1);
VAR44:=SMA(VAR33,9,1);
VAR55:=3*VAR33-2*VAR44;
VOLUME:VOL,VOLSTICK;
盤中虛擬:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,盤中虛擬,0,-1,-1),COLOR00C0C0;
量比: VOL/MA(VOL,5);
漲跌: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
角度: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
換手: VOL/CAPITAL*100;
VAR77:=SUM(換手,30);
VAR88:=LLV(INDEXL,5);
VAR99:=HHV(INDEXH,5);
VARAA:=EMA((INDEXC-VAR88)/(VAR99-VAR88)*100,4);
VARBB:=MA(EMA(0.667*REF(VARAA,1)+0.333*VARAA,2),9);
VARCC:=MA(VARBB,30);
VARDD:=EMA(獲利盤,4);
本盤億股: CAPITAL/1000000,;
V5: MA(VOL,5)*2;
VARE:=MA(V5,3);
V34: MA(VOL,34)*2;
VARF:=(漲跌>VARDD AND 角度<-30 AND 漲跌>3);
CROSS(VARBB,VARCC) AND VARCC<29;
CROSS(VARCC,VARBB) AND VARCC>58;
STICKLINE(VOL AND VAR33>VAR44,0,VOL,2.5,1),COLORRED;
STICKLINE(VOL AND VAR33<=VAR44,0,VOL,2.5,1),COLORCYAN;
{DRAWTEXT(CROSS(VARBB,VARCC) AND 角度<-18 AND VARCC<29,VOL*1.2,'買 '),COLORYELLOW;
W:DRAWTEXT(CROSS(VARCC,VARBB) AND VARCC>58,VOL*1.2,'賣'),COLORWHITE;}
{DRAWTEXT(CROSS(VARE,V5) AND 角度>22,V5,'<----');}
VAR2:=CLOSE-REF(CLOSE,1);
VAR3:=IF(CLOSE-REF(CLOSE,1)>=0,VAR2,0);
VAR4:=REF(CLOSE,1)-CLOSE;
VAR5:=IF(CLOSE-REF(CLOSE,1)<=0,VAR4,0);
VAR6:=SUM(VAR3,16)/SUM(VAR5,16);
VAR7:=100-100/(1+VAR6);
VAR8:=EMA(VAR7,16);
VAR9:=EMA(VAR8,8);
VARA:=EMA(VAR8,45);
MO:=(VAR8-VARA);
ML:=(VAR9-VARA);
VAR1A:=EMA(CLOSE,32);
VAR2A:=MA(OPEN,32);
趨勢:=(VAR1A-VAR2A);
STICKLINE(MO>ML AND 趨勢<0 AND MO>REF(MO,3) AND 趨勢>REF(趨勢,3),VOL,0,2.5,0) COLORYELLOW;

==================================================================

均線乖離率

通達(dá)信的
SXGL:=MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,40)>REF(MA(C,40),1)AND MA(C,60)>REF(MA(C,60),1);
JDZ:=MAX(MA(C,5),(MA(C,10),(MA(C,20),(MA(C,40),MA(C,60)))));
JXZ:=MIN(MA(C,5),(MA(C,10),(MA(C,20),(MA(C,40),MA(C,60)))));
IF(SXGL,(JDZ/JXZ-1)*100,100);

這個公式反映了均線之間的距離,距離越近數(shù)值越小,說明均線的粘合程度越高,越有可能爆發(fā)

公式只可以反映現(xiàn)象

具體到應(yīng)用還要從各方面考慮。

當(dāng)5條均線全部向上時,找這5條均線粘合度最高的。

=====================================================================


{福五日升跌}

五:50,COLORBROWN;
福:MA((((HHV(H,5)-REF(O,4))+(C-LLV(L,5)))*100)/((HHV(H,5)-LLV(L,5))*2),3);
臨:80,COLORLIRED;
門:20,COLORGREEN;
田交福線強:((C-LLV(L,5))*100)/(HHV(H,5)-LLV(L,5)),COLOR0000FF;
DRAWTEXT(CROSS(田交福線強,福),20,'=福作品='),COLOR404080;
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K1:=SMA(RSV,3,1);
D1:=SMA(K1,3,1);
KK:=INTPART(K1);
DD:=INTPART(D1);
TFXXS:=KK+DD;
TGLXS:=(TFXXS-REF(TFXXS,1));
換手率:VOL/CAPITAL*100,LINETHICK0;
STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),50,TGLXS+50,2.5,0),COLOR0000AA;
STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),50,TGLXS+50,1.5,0),COLOR0055FF;
STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),50,TGLXS+50,2.5,0),COLORAA00BB;
STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),50,TGLXS+50,1.5,0),COLORFF55BB;
STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),50,TGLXS+50,2.5,0),COLOR00AAFF;
STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),50,TGLXS+50,1.5,0),COLOR00FFFF;
STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),50,TGLXS+50,2.5,0),COLORFF7700;
STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),50,TGLXS+50,1.5,0),COLORFFFF55;
STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,50,TGLXS+50,8,0),COLORBROWN;
STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,50,TGLXS+50,8,0),COLORWHITE;
==================================================================

{田福$$愛妻號N:(1,35,2)}


S:0,COLOR00FFFF;
ZCHANGE:=IF(C>REF(C,1),C-REF(C,1),0);
FCHANGE:=IF(C<REF(C,1),C-REF(C,1),0);
ZCF:=IF(C>REF(C,1),ZCHANGE+REF(ZCHANGE,1),0);
FCF:=IF(C<REF(C,1),FCHANGE+REF(FCHANGE,1),0);
ZTCF:(SUM(ZCHANGE,N)-SUM(FCF,N)*(-1))*100,COLOR0000FF,LINETHICK1;
FTCF:(SUM(FCHANGE,N)*(-1)-SUM(ZCF,N))*100,COLOR00DE80,LINETHICK1;
進(jìn)場作多:STICKLINE(ZTCF>0 AND FTCF<0,ZTCF,FTCF,2,0)*100,COLOR0080FF;
進(jìn)場作空:STICKLINE(ZTCF<0 AND FTCF>0,ZTCF,FTCF,2,0)*100,COLORC0C0C0;
盤整:STICKLINE(ZTCF<0 AND FTCF<0,ZTCF,FTCF,2,0),COLORYELLOW;
多空差:ZTCF-FTCF,LINETHICK0;
DRAWTEXT(ZTCF=0 AND FTCF=0,300,'福$$愛'),COLORBLUE;
DRAWTEXT(ZTCF=0 AND FTCF=0,90,'↓'),COLORBLUE;
變盤:ZTCF=0 AND FTCF=0,LINETHICK0,COLORBLUE;
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(ABS(CLOSE-AA),21,1)*2000;
HHH:=BBB-LLV(BBB,27);
CCC:=LLV(BBB,27)-BBB;
田:(MA(HHH,2)*3+HHH*13)/16,COLORFF00FF,LINETHICK1;
福:(MA(CCC,2)*3+CCC*13)/16,COLORFF00FF,LINETHICK1;
夫:MA(HHH,5),LINETHICK1,COLORGREEN;
妻:MA(CCC,5),LINETHICK1,COLORGREEN;
愛:IF(田<夫 ,福,妻),LINETHICK1, COLORCYAN;
號:IF(福<妻 ,夫,田),COLORFFFFCC,LINETHICK1;
DRAWTEXT(CROSS((愛-8.8)*10,妻),-400,'  =田福$$愛妻號='),COLOR404080;

==============================================

個股資金生命線上拐的選股公式,準(zhǔn)確率很高

A:=MA(C,1)/MA(REF(C,18),18)*100;
B:=MA(FORCAST(A,20),6);
xg:B>REF(B,1)AND(A>B);
=========================

OSC (艾略特震蕩器)
Var1:=REF(CLOSE,1);
HSL:=VOL/CAPITAL*100;
ZDF:=(HHV(H,1)-LLV(L,1))/CLOSE;
Var2:=HSL/ZDF;
Var3:=(CLOSE-Var1)*Var2;
Var4:=SUM(Var3,0);
Var5:=SMA(Var4,3,1);
Var6:=SMA(Var4,5,1);
OSC: Var5-Var6, COLORSTICK,linethick3;
OSCMA: MA(OSC,4),linethick2;
VD: SUM(IF(OSC>0,OSC*1.003,OSC*1.003>0),8)/8;
VE: SUM(IF(OSC<=0,OSC*0.97,OSC*0.97<0),8)/8, ;
0;
信號效果優(yōu)于MACD指標(biāo),但是不適用股指。不能單獨使用,需要結(jié)合均線系統(tǒng)使用。
================================================================

獲利盤

VAR1:LWINNER(5,CLOSE)*100,COLORRED;
VAR2:LWINNER(10,CLOSE)*100,COLORYELLOW;
VAR3:LWINNER(20,CLOSE)*100,Color0080FF;
VAR4:LWINNER(30,CLOSE)*100,ColorFF8000;
VAR5:LWINNER(60,CLOSE)*100,COLORGREEN;

X:=REF((VAR1+VAR2+VAR3+VAR4+VAR5)/5,1);
五日:VAR1,STICK,LINETHICK9,COLORRED;
十日:VAR2,STICK,LINETHICK7,COLORYELLOW;
二十日:VAR3,STICK,LINETHICK5,Color0080FF;
三十日:VAR4,STICK,LINETHICK3,ColorFF8000;
六十日:VAR5,STICK,LINETHICK1,COLORGREEN;

平均成本:MA(X,3),LINETHICK3;,ColorFF00FF

=================================================

下面奉上自己的TDX絕品主圖源碼,絕無未來,以示感謝!
以后會慢慢把自己整合的一些極品源碼分享出來!
{D : 34,90,72   把這個填上}
壓力: BBI+3*STD(BBI,10),LINETHICK0;
支撐: BBI-3*STD(BBI,10),LINETHICK0;
{安全線: MA(CLOSE,30), CIRCLEDOT;}
VARF:=(2*CLOSE+HIGH+LOW)/4;
VA4:=LLV(LOW,34);
VA5:=HHV(HIGH,34);
VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);
VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),L*0.94,'出擊'),COLORYELLOW;
VAR27:=REF(CLOSE,1);
VAR28:=SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;
DRAWICON((IF(CROSS(76,VAR28),1,0)) OR CROSS(70,RSI),H*1.01,2);
DRAWICON((IF(CROSS(VAR28,21),1,0)),L*0.97,1);
DRAWTEXT((IF(CROSS(76,VAR28),1,0)) OR CROSS(84,RSI),H*1.03,'莫貪') ,COLORYELLOW;
股價:MA(C,3),COLORGREEN,LINETHICK2;
B:=股價<REF(股價,1);
短線:IF(B-1,股價,DRAWNULL)COLORMAGENTA,LINETHICK2;
VAR4A:=EMA(CLOSE,3);
DRAWICON(COUNT(REF(VAR4A,1)<REF(VAR4A,2),5)=5 AND VAR4A>REF(VAR4A,1),L*0.98,4);
DRAWTEXT(COUNT(REF(VAR4A,1)<REF(VAR4A,2),5)=5 AND VAR4A>REF(VAR4A,1),L*0.96,'出手');
弱: IF(MA(CLOSE,13)>SMA(LOW,13,2)*1.01,SMA(LOW,13,2)*1.01,SMA(LOW,13,2)*1.01),COLORWHITE,LINETHICK1;
強:IF(SMA(LOW,13,2)*1.01>=REF(SMA(LOW,13,2)*1.01,1),SMA(LOW,13,2)*1.01,DRAWNULL),COLORRED,LINETHICK1;
VAR32:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
VAR33:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
VAR2F:=VAR32<REF(VAR33,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(VAR2F AND COUNT(VAR2F,30)=1,L*0.99,'大資金進(jìn)場'),COLORMAGENTA;
頂部:HHV(HIGH,19),LINETHICK1,COLORGREEN;
底部:LLV(LOW,19),LINETHICK1,COLOR0099FF;
EMA7:=EMA(C,7);
EMA13:=EMA(C,13);
EMA34:=EMA(C,34);
EMA55:=EMA(C,55);
EMA120:=EMA(C,120);
CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;
CR2:=V>MA(V,5)*0.6;
CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;
CR4:=ABS(EMA34-EMA55)/EMA55<0.03;
CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);
CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);
DRAWTEXT(CROSS(EMA7,EMA13),H*1.01,'弱勢當(dāng)心'),COLORF00FF0;
DRAWTEXT(CROSS(EMA7,EMA34),H*1.02,'注意');
DRAWTEXT(CROSS(EMA13,EMA34),H*1.03,'危險'),COLORF00FF0;
DRAWTEXT(CR6,H*1.01,'明高賣'),COLORF00FF0;
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
AA10:=MA(CLOSE,8),COLOR0000FF;
AA12:=MA(CLOSE,12),COLOR0000FF;
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);
MA13:=MA(CLOSE,13);
X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),EMA8,'∠45上升'),COLORWHITE;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,90)*1.01,10);
DRAWTEXT(CROSS(V1,V2),V1+0.05,'牛起步'),COLOR00FF00;
VAR2AA:=MA(C,2);
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),45) AND (UPNDAY(VAR2AA,1)),(LOW)*(0.97),'大膽搏 '),COLORRED;
AAC:=CLOSE/REF(CLOSE,1)>=1.09;
DRAWTEXT(AAC,LOW*0.97,'追'), COLORYELLOW;
STICKLINE(AAC,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(AAC,LOW,HIGH,0,0 ),COLORYELLOW;
平衡:=SMA(EMA(SMA((CLOSE+LOW)/2,3,1),3),5,1);
限制:=EMA((((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3-EMA(LLV(((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,89),2))/(EMA(HHV (((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,21),2)-EMA(LLV(((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,89),2)),8)*100;
{DRAWICON(FILTER(平衡>REF(平衡,1)AND HHV(MA((HIGH+CLOSE)/2,13),10)<REF(HHV(MA((HIGH+CLOSE)/2,13),10),1)AND((CLOSE+LOW)/2)>REF((CLOSE+LOW)/2,1),5)AND 限制<88,LOW*0.98,5);}
DRAWTEXT(FILTER(平衡>REF(平衡,1)AND  HHV(MA((HIGH+CLOSE)/2,13),10)<REF(HHV(MA((HIGH+CLOSE)/2,13),10),1)AND((CLOSE+LOW)/2)>REF((CLOSE+LOW)/2,1),5)AND 限制<88,LOW*0.95,'放心追漲'),,COLORFFFF33;
YC_買進(jìn):=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;
買進(jìn)條件:=CROSS(CLOSE,YC_買進(jìn)) AND YC_買進(jìn)>REF(YC_買進(jìn),1),LINETHICK0;
YC_加倉:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;
加倉條件:=CROSS(CLOSE,YC_加倉) AND YC_加倉>REF(YC_加倉,1),LINETHICK0;
DRAWTEXT(買進(jìn)條件 AND 加倉條件,L*0.98,'滿倉');
AAA:=(3*C+H+L+O)/6;
VAR41:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR41;
立樁量:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(立樁量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立樁量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立樁量)=3 AND CLOSE>REF(HIGH,3),1,0)));
突破:=TJ2=1;
TJ3:=IF(BARSLAST(立樁量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立樁量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立樁量)=3 AND CLOSE>REF(LOW,3),1,0)));
三天法則:=TJ3=1;
成立:=三天法則 AND 突破;
條件成立:=FILTER(成立,3);
DRAWTEXT(條件成立,L*0.99,'立樁量'),COLORYELLOW;
=========================================================================

主力潛伏指標(biāo)原碼

N:=14;
M:=156;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.15*AVEDEV(TYP,N));

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
主力潛伏中:COUNT(MACD<0,10)=10,COLORRED,LINETHICK0;
STICKLINE(主力潛伏中,0,MACD*30,8,0),COLORRED;

---------------------------------------------------------------------------

再少:
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.15*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
主力潛伏中:COUNT(MACD<0,10)=10,COLORRED,LINETHICK0;
STICKLINE(主力潛伏中,0,MACD*30,8,0),COLORRED;


=============================================================

下面的副圖公式指標(biāo)“波段趨勢”是來自理想的,有BBD和主力持倉,還有一個是主力潛伏。三合一

主力持倉:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colorff00ff,linethick2;
指數(shù)趨勢:
EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFFAA66,LINETHICK3;
強弱分界: 80,coloryellow;
主力線:WINNER(C)*100 ,COLORRED,linethick2;
散戶線:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,colorgreen,linethick2;
B:=CROSS(主力線,散戶線);
D:=主力線>強弱分界;
主力強入:=B AND D;
STICKLINE( 主力強入,主力強入,80,2,0),COLORFFAA00,LINETHICK5;
DRAWTEXT(主力強入,80,'(主力)'),COLORFFAA00,LINETHICK3;


DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
主力潛伏中:COUNT(MACD<0,10)=10,COLORRED,LINETHICK0;
STICKLINE(主力潛伏中,0,MACD*80,8,0),COLORF00FF0;
100,COLOR1C1C1C;
0,COLOR1C1C1C;
-100,COLOR1C1C1C;
-100,STICK,COLOR1C1C1C;
zz:=(hhv(h,3)+llv(l,3))/2;a:=if(c>zz,vol,0);b:=if(c<zz,vol,0);總0:=(a-b);
BBD:EMA(總0,3)/sum(vol,5)*100,LINETHICK0;
STICKLINE(BBD>=0,0,BBD,8,0),COLOR000088;
STICKLINE(BBD>=0,0,BBD,5,0),COLOR0000AA;
STICKLINE(BBD>=0,0,BBD,3,0),COLOR0000CC;
STICKLINE(BBD>=0,0,BBD,1,0),COLOR0000FF;
STICKLINE(BBD<0,0,BBD,8,0),COLOR888800;
STICKLINE(BBD<0,0,BBD,5,0),COLORAAAA00;
STICKLINE(BBD<0,0,BBD,3,0),COLORCCCC00;
STICKLINE(BBD<0,0,BBD,1,0),COLORFFFF00;
XH1:=ref(bbd,1)<ref(bbd,2) and ref(bbd,1)<-10 and bbd>ref(bbd,1) and bbd>0;
XH2:=ref(bbd,1)>=ref(bbd,2) and ref(bbd,1)>8 and bbd<ref(bbd,1) and bbd<0;
DRAWICON(XH1,-25,4);DRAWICON(XH2,25,5);
DRAWTEXTABS(380,200,'證券代碼: '+STKLABEL+' 證券名稱: '+STKNAME+''),Color0000ff,LINETHICK3;
==============================================================================

公式名:逃頂
源碼:
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,3,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,2,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
S:IF(VAR6A>60,VAR6A-60,0);

用法及說明:
1、S線向下拐頭時賣出。背離理論也能適用。
2、賣出后股價繼續(xù)上揚怎么辦?在股價超過賣出日最高價時再買回來。公式總是灰色的,不是嗎?
3、想賣個好價錢,可以用60分鐘、30分鐘甚至15分鐘K線來判斷。(要有一定的功力喲)
4、有興趣可以優(yōu)化。你可以把常數(shù)值改成參數(shù),按想要的結(jié)果優(yōu)化。
==============================================================

"合上必長"選股公式

VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR3:=SMA(VAR0,3,1);
VAR1:=SMA(VAR3,4,1)-10;
VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR5:=SMA(VAR4,3,1);
VAR2:=SMA(VAR5,4,1)-90;
STICKLINE(REF(VAR1,1)<VAR1,VAR1,REF(VAR1,1),10,0),COLOR0000FF;
0, CIRCLEDOT;
STICKLINE(REF(VAR1,1)>VAR1,VAR1,REF(VAR1,1),5,0),COLOR00FF00;
STICKLINE(REF(VAR2,1)>VAR2,VAR2,REF(VAR2,1),10,0),COLOR0000FF;
STICKLINE(REF(VAR2,1)<VAR2,VAR2,REF(VAR2,1),5,0),COLOR00FF00;
0,COLOR0000FF;
選股公式:
VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR3:=SMA(VAR0,3,1);
VAR1:=SMA(VAR3,4,1)-10;

CROSS(VAR1,0);

============================

芝麻功選股、預(yù)警公式。

V1:=MA(V,40);
HSL:=V/CAPITAL*100;

A1:=COUNT(V/V1<1.3,14)>11;
A2:=CROSS(HSL,2);
A3:=C/REF(C,1)>1.025 AND C>OPEN;

ZTJ:A1 AND A2 AND A3;

[基礎(chǔ)知識]之K線曲形學(xué)習(xí) :底部芝麻功

第5節(jié):底部芝麻功

●圖形特征:

(1)成交量柱狀圖上的柱體小得像芝麻點一樣,比其5日、10日、20日均量線來顯得矮很多,連續(xù)出現(xiàn)這種小芝麻點說明接近底部區(qū)間。只有當(dāng)空方拋累了成交量才會減小,此地風(fēng)險不大;只有當(dāng)多方還沒有大量收購時成交量才能減小,此地可能有機(jī)會。此時只要等待多方大規(guī)模收購,即等待一根巨量出現(xiàn)就可買入了。

(2)日K線圖同樣出現(xiàn)小陰小陽或十字星,遠(yuǎn)遠(yuǎn)望去也是點點芝麻,這一帶很可能存在機(jī)會。

(3)在潛收集完成后會有一個回檔過程,此時將出現(xiàn)量芝麻點的圖形,這是買入股票的好機(jī)會。

●     市場意義:

(1)       當(dāng)莊家在潛收集過程中建倉完畢時,股價已有升高,為了清洗浮動籌碼,莊家開始震倉。

(2)       震倉是否有效的標(biāo)志是該拋的都已拋出,未拋的短期內(nèi)不一定會拋,這就是量極度萎縮。

(3)       震倉必須震到量極度萎縮才算股價見底。

●     操作方法:

(1)       在潛收集完畢后的回檔時觀察量芝麻點,并在量最萎縮的時候逢低吸納。

(2)       在量極度萎縮后又重新放量上升的瞬間介入,此時接近股價拉高的時機(jī)。

(3)       需要強調(diào)的是:回檔幅度越潛越好,量芝麻點越小越好。


小結(jié):芝麻點是比較重要的一課,可以這樣說,一個沒有出現(xiàn)過芝麻點的股票,就不可能是好股票!芝麻點是洗盤完成的標(biāo)志,而跌幅的深淺則是強弱的標(biāo)志!

所以請一定記?。夯貦n幅度越潛越好,量芝麻點越小越好。

=====================================================================

公式(1): 極限買賣價 {適合T+0 操作}      
說明:   買入價與次低價等同,買入極限出現(xiàn).賣出價與必賣價等同,賣出極限構(gòu)成.
如果股價處于: 買入與次低之間,參考中值.賣出與必賣之間,參考中值.
決策線作用: (A) 股價站在該線之上可買.回抽時該線支撐力度極強.(B) 股價立于該線之下可賣.反彈至該線必受反壓阻力.

(2)引用公式: 白線上穿 (無未來副圖 絕對準(zhǔn)確)
多頭線:(SUM((((2)*(CLOSE-CLOSE*0.2)+(OPEN-OPEN*0.2)+(HIGH-HIGH*0.2)+(LOW-LOW*0.2))/(5))*(VOL),8))/(SUM(VOL,8)),COLOR0099FF,LINETHICK1;
空頭線:LLV(多頭線,8),LINETHICK1,COLORGREEN;
C-C*0.2,COLORWHITE,LINETHICK1;
用法:3條線作多,白線上穿綠線或黃線漲幅一般大于7%

借用公式,添色優(yōu)化.a多頭線紅色時,出現(xiàn)信號可買入,并繼續(xù)持股 . b藍(lán)色時則宜減倉,此時出現(xiàn)信號,應(yīng)視偽信號,買后即套.決不能買.公式原韻絲毫未減,但當(dāng)檢測未來時,或許出現(xiàn)有未來,不足懼,不借用未來函數(shù),也就無法使信號出現(xiàn).c但箭頭所指是白線穿越黃.綠線乃不爭的現(xiàn)實.所以未來并不有害于結(jié)果.

(多空極限+白線上穿)源碼:
多頭線:(SUM((((2)*(CLOSE-CLOSE*0.2)+(OPEN-OPEN*0.2)+(HIGH-HIGH*0.2)+(LOW-LOW*0.2))/(5))*(VOL),8))/(SUM(VOL,8)),COLOR0099FF;
空頭線:LLV(多頭線,13),LINETHICK1,COLORGREEN;
白線:(C-C*0.2),COLORWHITE,LINETHICK1;
股:IF(白線>REF(多頭線,1),多頭線,DRAWNULL),COLORFF18FF,LINETHICK3;
幣:IF(白線<REF(空頭線,1),空頭線,DRAWNULL),COLORFF8300,LINETHICK3;
DRAWICON(CROSS(白線,多頭線),多頭線-0.09,1);
DRAWICON(CROSS(白線,多頭線),多頭線-0.09,1);
乖離%:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100,COLORFFFF00,NODRAW;
箱頂:MA(REF(HHV(C,30),1),2),COLOR0080FF,LINETHICK3;
箱底:MA(REF(LLV(C,30),1),2),COLOREECC00,LINETHICK3;
{漲停}
STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1),
COLOR00FFFF;
{跌停}
STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,4,-1),
COLORGREEN;
上漲值:=MA((H+REF(L,1))/2,3);
買進(jìn)高點:=MA((H+REF(H,1))/2,3);
VAR1:=((O+H+L+2*C)/5)*2-L;
突破買入值:=MA(VAR1,3);{LSS軸點突破買入值}
下跌值:=MA((REF(H,1)+L)/2,3);
賣出低點:=MA((REF(L,1)+L)/2,3);
VAR2:=((O+H+L+2*C)/5)*2-H;
突破賣出值:=MA(VAR2,3);
次日賣出點:=(上漲值+買進(jìn)高點+突破買入值+H)/4;
次日買入點:=(下跌值+賣出低點+突破賣出值+L)/4;
均價:=(2*C+L+H/4);
買入價:IF(均價/REF(均價,1)>1,次日買入點*1.01,次日買入點),COLORFF00FF,LINETHICK2;
底價:IF(均價/REF(均價,1)>1,次日買入點/1.0382,次日買入點),COLORWHITE;
賣出價:IF(均價/REF(均價,1)>1,次日賣出點*1.0191,次日賣出點),COLORGREEN,LINETHICK2;
頂價:IF(均價/REF(均價,1)>1,次日賣出點*1.0618,次日賣出點),COLORFF6C00;

------------------------------------------------------------------------------------------------------------

{一個不錯傻瓜做T公式:盤整或波動緩慢市的T+0操作,從網(wǎng)上收集來的,劇烈波動時指標(biāo)無效哈,用于盤整或波動緩慢市的T+0操作}
參數(shù)
n -25  10缺省 2
源碼
上漲值:=MA((H+REF(L,1))/2,3);

買進(jìn)高點:=MA((H+REF(H,1))/2,3);
VAR1:=((H+L+C)/3)*2-L;
突破買入值:=MA(VAR1,3);{LSS軸點突破買入值}
下跌值:=MA((REF(H,1)+L)/2,3);
賣出低點:=MA((REF(L,1)+L)/2,3);
VAR2:=((H+L+C)/3)*2-H;
突破賣出值:=MA(VAR2,3);
次日賣出點:=(上漲值+買進(jìn)高點+突破買入值+H)/4;
次日買入點:=(下跌值+賣出低點+突破賣出值+L)/4;
均價:=(2*C+L+H/4);
買入價:IF(均價/REF(均價,1)>1,次日買入點*1.01,次日買入點);
賣出價:IF(均價/REF(均價,1)>1,次日賣出點*1.01,次日賣出點);
DRAWKLINE(H,O,L,C);

===================================

連續(xù)回調(diào)選股
主要思路:連續(xù)幾天縮量回調(diào)且跌幅較大,參數(shù)可選,今年成功率100%,大家可以選擇參數(shù)試驗。

input:m(3),zf(-20,-50,50);
B:=VOL<MA(VOL,5);
YX:=C<=REF(C,1);
SP:=REF(CLOSE , m);
漲幅:=(C/SP-1)*100;
停牌:=(DYNAINFO(4)=0);
not(停牌)  AND COUNT(B,M)=M AND COUNT(YX,M)=M and 漲幅<zf;

另把下面一段拷貝到編輯選股指標(biāo)中的參數(shù)精靈中,說明參數(shù)用法:

今日成交量小于昨日成交量且回調(diào),這種情況連續(xù)Param#1天出現(xiàn)
,此期間內(nèi)漲幅小于Param#2.

 

 

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多

    极品少妇嫩草视频在线观看| 日本高清不卡一二三区| 国产精品美女午夜福利| 免费在线观看激情小视频| 日韩人妻中文字幕精品| 欧美一级内射一色桃子| 亚洲中文字幕乱码亚洲| 好吊视频有精品永久免费| 欧美日韩国产午夜福利| 99久热只有精品视频免费看| 国产午夜福利一区二区| 最好看的人妻中文字幕| 国内尹人香蕉综合在线| 亚洲另类欧美综合日韩精品| 超薄肉色丝袜脚一区二区| 久久精品少妇内射毛片| 国产对白老熟女正在播放| 五月天六月激情联盟网| 99热九九在线中文字幕| 高清不卡视频在线观看| 尤物天堂av一区二区| 日本免费一本一二区三区| 国产美女精品人人做人人爽| 国产又大又硬又粗又黄| 国产精品午夜视频免费观看| 日韩成人午夜福利免费视频 | 91久久精品国产一区蜜臀| 精品国产亚洲免费91| 日本欧美一区二区三区就| 久久婷婷综合色拍亚洲| 日韩一区二区三区观看| 国产麻豆精品福利在线| 国产免费一区二区三区av大片| 国产日韩欧美综合视频| 精品亚洲香蕉久久综合网| 欧美日韩国产精品自在自线| 国产亚洲视频香蕉一区| 国产综合一区二区三区av| 激情五月激情婷婷丁香| 欧美大胆美女a级视频| 国产精品丝袜美腿一区二区|