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

分享

通達信-----公式大集綿

 雨打浪花 2010-06-16
海豚張嘴(很準的主圖 源碼)
C3:=REF(C,1);
漲停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(漲停,OPEN,CLOSE,2,0),COLORRED;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
MA4:MA(CLOSE,4),COLORFFFFFF;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORFF00FF;
MA62:MA(CLOSE,62),COLORFFFF00;
VAR1:=SLOPE(MA20,3)>0;
VAR2:=ABS(SLOPE(MA62,3))<0.19;
VAR3:=SLOPE(MA62,3)>REF(SLOPE(MA62,3),1);
VAR4:=REF(MA4,4)>MA20;
VAR5:=REF(MA20<MA62,15)AND MA20>=MA62;
ABSVOL:=(MA4-MA20);
VAR6:=SLOPE(MA4,2)>=REF(SLOPE(MA4,2),1) AND   ABSVOL>=REF(ABSVOL,1) AND REF(ABSVOL,2)>=REF(ABSVOL,1);
CON1:=VAR1 AND VAR2 AND VAR3 AND VAR4 AND VAR5 AND VAR6 ;
VAR41:=REF(MA4>MA20,3);
ABSVOL1:=ABS(MA4-MA10);
VAR61:=REF(ABSVOL1,2)>REF(ABSVOL1,1) AND ABSVOL1>REF(ABSVOL1,1) AND SLOPE(MA4,2)<0 AND SLOPE(MA4,2)>REF(SLOPE(MA4,2),1);
CON2:=VAR1 AND VAR2 AND VAR3 AND VAR41 AND VAR5 AND VAR61 ;
CON:=CON1 OR CON2;
DRAWTEXT(NOT(REF(CON,4))AND NOT(REF(CON,3))AND NOT(REF(CON,1))AND NOT(REF(CON,2)) AND CON,LOW*0.98,海豚張嘴);
MA120:MA(C,120),COLOR88BBFF;
MA250:MA(C,250),COLOR0000FF;
VAR11:=REF(CLOSE,1);
VAR12:=SMA(MAX(CLOSE-VAR11,0),13,1)/SMA(ABS(CLOSE-VAR11),13,1)*100;
VAR13:=CROSS(69,VAR12);
VARA:=FILTER(VAR13,4);
DRAWICON(VARA,HIGH*1.035,3),COLORGREEN;
DRAWTEXT(VARA,HIGH*1.04,絕頂),COLORWHITE;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
A6:=EMA(A5,9);
A7:=(A5<-0.1 AND A5>A6);
財神:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT;
 
國外MACD修改版(源碼+圖)
最近看到一個國外MACD,自己糊亂修改了一下,大家看看用得不?也可以把參數(shù)改成P:=26;S:=12;M:=9;就和MACD一樣了

P:=13;S:=5;M:=3;
DIFF:EMA(C,S)-EMA(C,P);
DEA:EMA(DIFF,M),COLORRED;
MACD:2*(DIFF-DEA),COLORSTICK;
STICKLINE(DEA<=REF(DEA,1)AND DEA>0,0,DEA,1,0 ),COLORFFBEFF;
STICKLINE(DEA>REF(DEA,1)AND DEA>0,0,DEA,1,0 ),COLORMAGENTA;
STICKLINE(DEA>REF(DEA,1)AND DEA<=0,0,DEA,1,0),COLORDBDD9A;
STICKLINE(DEA<=REF(DEA,1)AND DEA<=0,0,DEA,1,0 ),COLORE2BC3A;
R:(HHV(DEA,100)+ABS(LLV(DEA ,100)))/2,COLORLIBLUE;
R/4,POINTDOT,COLORFFFF00;
R/2,POINTDOT,COLORFFFF00;
R/4*3,POINTDOT,COLORFFFF00;
-R/4,POINTDOT,COLORFFFF00;
-R/2,POINTDOT,COLORFFFF00;
-R/4*3,POINTDOT,COLORFFFF00;
-R,COLORYELLOW,COLORLIBLUE;
實戰(zhàn)macd(通達信版本+源碼)
 
LONG:20,100,26;
SHORT:5,40,12;
M:2,60,9
DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIFF,M);
MACD2:=2*(DIFF-DEA);
DU0:=CROSS(DIFF,0);
UD0:=CROSS(0,DIFF);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF(TDU3<TUD3,REF(HHV(HIGH,2),TDU3),REF(LLV(LOW,2),TUD3));
JDU0:=REF(CLOSE,1)<=REF(UDGLINE,1) AND CLOSE>UDGLINE AND TDU0<TUD0;
JUD0:=REF(CLOSE,1)>=REF(UDGLINE,1) AND CLOSE<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
JUD2:=JUD1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
BSLINE:=IF(BARSLAST(JDU2)<BARSLAST(JUD2),IF(REF(CROSS(0,MACD2),1),LLV(LOW,2),REF(LLV(LOW,2),BARSLAST(REF(CROSS(0,MACD2),1)))),IF(REF(CROSS(MACD2,0),1),HHV(HIGH,2),REF(HHV(HIGH,2),BARSLAST(REF(CROSS(MACD2,0),1)))));
STICKLINE(MACD2>=0,0,MACD2,2,1),COLOR0000FF;
STICKLINE(MACD2>=0 AND MACD2<REF(MACD2,1),0,MACD2,2,0),COLOR0000FF;
STICKLINE(MACD2<0,0,MACD2,2,0),COLORFFFF00;
STICKLINE(MACD2<0 AND MACD2>REF(MACD2,1),0,MACD2,2,1),COLORFFFF00;
DIF:DIFF,LINETHICK2,COLOR0000FF;
MACD:DEA,COLORFF0000;
DEF:MACD2,LINETHICK0,COLORFFFF00;
STICKLINE(CLOSE>0,0,0,2,0),COLOR808080;
DEFUT:=BARSLAST(CROSS(MACD2,0));
DEFDT:=BARSLAST(CROSS(0,MACD2));
DEFUL:=IF(MACD2>=0,HHV(MACD2,DEFUT+1),REF(HHV(MACD2,DEFUT+1),DEFDT+1));
DEFDL:=IF(MACD2<0,LLV(MACD2,DEFDT+1),REF(LLV(MACD2,DEFDT+1),DEFUT+1));
DEFU2L:=REF(DEFUL,DEFUT+1);
DEFD2L:=REF(DEFDL,DEFDT+1);
{DRAWICON(LLV(MACD2,4)>0 AND MACD2<REF(MACD2,1) AND REF(MACD2,1)>REF(MACD2,2) AND REF(MACD2,2)>REF(MACD2,3),MACD2,3);}
DRAWICON(HHV(MACD2,4)<0 AND MACD2>REF(MACD2,1) AND REF(MACD2,1)<REF(MACD2,2) AND REF(MACD2,2)<REF(MACD2,3),MACD2,1);
DRAWICON((JUD1 OR BARSLAST(JDU1)>BARSLAST(JUD1)) AND MACD2>=0 AND REF(MACD2,1)<REF(DEFU2L,1) AND MACD2>DEFU2L,MACD2,2);
DRAWICON((JDU1 OR BARSLAST(JDU1)<BARSLAST(JUD1)) AND MACD2<0 AND REF(MACD2,1)>REF(DEFD2L,1) AND MACD2<DEFD2L,MACD2,2);
 
波段極限(副圖源碼,本人整合,大家分享?。?/font>
{波段極限}
STICKLINE(C>0.1,0,100,4.8,0),COLOR668800;
STICKLINE(C>0.1,-5,0,4.8,0),COLORFFB06C;
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
火:=BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)),NODRAW;
山:=COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5),NODRAW;
KL:=IF(山>0,2*火,0);
趨勢:=KL/2,COLOREE687B,NODRAW;
VARL1:=(EMA(C,12)-EMA(C,26))*100+50;
VARL2:=EMA(VARL1,9);
VARL3:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;
VARL4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VARL5:=SMA(VARL4,13,8);
VARL6:=SMA(VARL3,21,8);
低位線:=IF((趨勢-VARL6<(-70)),0,-5);
DRAWBAND(低位線,RGB(00,300,150),-5,RGB(00,300,150));
QS:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
高位線:=IF((QS-VARL6>85),0,-5);
DRAWBAND(高位線,RGB(255,20,147),-5,RGB(255,20,147));
K1:EMA(VAR2,5),COLORLIBLUE,NODRAW;
K2:SMA(VAR2,5,1),COLORYELLOW,NODRAW;
K:EMA((K1-K2),2),COLORWHITE,NODRAW;
DRAWBAND(85,RGB(100,100,100),85+K,RGB(128,00,00));
KK1:=IF(K>12,90,85),COLORCYAN;
KK2:=IF(K<-12,80,85),COLORCYAN;
DRAWBAND(KK1,RGB(200,200,200),KK2,RGB(200,200,200));
DRAWBAND(K1,RGB(400,200,00),K2,RGB(50,300,100));
STICKLINE(C>0.1,15,15,1,0),COLORCYAN;
STICKLINE(C>0.1,50,50,1,0),COLORCYAN;
LC:=REF(CLOSE,1);
VAR01:=C-REF(C,1);
VAR02:=100*EMA(EMA(VAR01,6),6)/EMA(EMA(ABS(VAR01),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;
BT:=(LLV(VAR02,2)=LLV(VAR02,7) AND COUNT(VAR02<0,2) AND CROSS(VAR02,MA(VAR02,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
STICKLINE(BT,85,100,2,0),COLOR000088;
STICKLINE(BT,85,100,1,0),COLOR0000CC;
STICKLINE(BT,85,100,0.22,0),COLOR0000FF;
TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;
STICKLINE(TJ1,85,95,3,0),COLOR880088;
STICKLINE(TJ1,85,95,1.5,0),COLORAA00AA;
STICKLINE(TJ1,85,95,0.8,0),COLORCC00CC;
STICKLINE(TJ1,85,95,0.2,0),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,85,90,4,0),COLOR008888;
STICKLINE(TJ2,85,90,2,0),COLOR00AAAA;
STICKLINE(TJ2,85,90,1,0),COLOR00CCCC;
STICKLINE(TJ2,85,90,0.2,0),COLOR00FFFF;
{HZ_買底1}
A8:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
UP1:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(EMA(CLOSE,19),EMA(CLOSE,7)))+1),LLV(L,BARSLAST(CROSS(EMA(CLOSE,19),EMA(CLOSE,7)))+1),H=HHV(H,BARSLAST(CROSS(EMA(CLOSE,7),EMA(CLOSE,19)))+1),HHV(H,BARSLAST(CROSS(EMA(CLOSE,7),EMA(CLOSE,19)))+1),0);
DOWN1:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(EMA(CLOSE,7),EMA(CLOSE,19)))+1),HHV(H,BARSLAST(CROSS(EMA(CLOSE,7),EMA(CLOSE,19)))+1),L=LLV(L,BARSLAST(CROSS(EMA(CLOSE,19),EMA(CLOSE,7)))+1),LLV(L,BARSLAST(CROSS(EMA(CLOSE,19),EMA(CLOSE,7)))+1),0);
買1:=IF((LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1),DRAWNULL,100);
STICKLINE(買1=100,0,5,4,0),COLOR00AAAA;
STICKLINE(買1=100,0,5,2.5,0),COLOR00CCCC;
STICKLINE(買1=100,0,5,0.5,0),COLOR00FFFF;
 
紅塊漲主圖(源碼)
紅色塊狀出現(xiàn)就買入,非常準確!有緣人下載!

紅塊漲主圖

MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA40:MA(C,40);
MA60:MA(C,60);
STICKLINE(MA5>=MA60
AND MA60>=MA10,MA10,MA60,4,0),COLORBLUE;
STICKLINE(MA5>=MA10 AND
MA5<=MA60,MA10,MA5,4,0),COLORBLUE;
STICKLINE(MA20>=MA60 AND
MA60>=MA40,MA40,MA60,4,0),COLORFF00FF;
STICKLINE(MA20>=MA40 AND
MA20<MA60,MA40,MA20,4,0),COLORFF00FF;
STICKLINE(MA5>=MA20 AND
MA20>=MA10,MA10,MA20,4,0),COLORWHITE;
STICKLINE(MA5>=MA10 AND
MA5<MA20,MA10,MA5,4,0),COLORWHITE;
STICKLINE(C>=O,H,L,0,0),COLORRED;
STICKLINE(C<O,H,L,0,0),COLORFFFF52;
STICKLINE(C>=O,C,O,4,1),COLORRED;
STICKLINE(C<O,C,O,4,0),COLORFFFF52;
 
世紀絕品 (副圖 奇準 源碼)
【九屏蘭破解三】
世紀絕品 (副圖 奇準 源碼)

本人把自用的好指標奉獻給大家 這個指標我破解后在山壇發(fā)過 反映不錯 今天奉獻給大家 喜歡的頂一下 你的支持就是我的力量  

用法:白線每次在波浪的谷底上穿綠線都是買點,奇準。
{世紀絕品 副圖}
N1:=7;N2:=14;N3:=21;
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF;
RSI2:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF;
RSI3:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF;
RSI4:SMA(RSI3,7,1),LINETHICK2,COLOR00CD00;
解盤頂?shù)?(源碼 副圖)
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR4:=(VAR3-LLV(VAR1,9))/(HHV(VAR2,9)-LLV(VAR1,9))*100;
VAR5:=SMA(VAR4,3,1);
【陽】: SMA(VAR5,3,1),COLORRED,LINETHICK2;
Y1:=SMA(【陽】,3,1);
VAR6:=(HHV(VAR2,9)-VAR3)/(HHV(VAR2,9)-LLV(VAR1,9))*100;
【陰】: SMA(VAR6,3,1),COLORYELLOW,LINETHICK2;
Y2:=SMA(【陰】,3,1);
VAR7:=REF(VAR3,1);
VAR8:=SMA(MAX(VAR3-VAR7,0),13,1)/SMA(ABS(VAR3-VAR7),13,1)*100;
VARB:=MA(INDEXC,3)*100/MA(INDEXC,10)-100;
VARC:=MA(CLOSE,3)*100/MA(CLOSE,10)-100;
VARD:=CLOSE*100/MA(CLOSE,10)-100;
VARE:=IF(VARB>10,10,VARB);
VARF:=IF(VARE<-10,-10,VARE);
VAR10:=IF(VARC>10,10,VARC);
VAR11:=IF(VAR10<-10,-10,VAR10);
VAR12:=REF(VARB,1);
VAR13:=100*(VAR3-REF(VAR3,1))/REF(VAR3,1);
VAR14:=INDEXC;
VAR15:=REF(VAR14,1);
VAR16:=100*(VAR14-VAR15)/VAR14;
VAR17:=MA(VAR13,3);
VAR18:=MA(VAR16,3);
VAR19:=(3*CLOSE+VAR1+OPEN+HIGH)/6;
VAR1A:=(20*VAR19+19*REF(VAR19,1)+18*REF(VAR19,2)+17*REF(VAR19,3)+16*REF(VAR19,4)+15*REF(VAR19,5)+14*REF(VAR19,6)+13*REF(VAR19,7)+12*REF(VAR19,8)+11*REF(VAR19,9)+10*REF(VAR19,10)+9*REF(VAR19,11)+8*REF(VAR19,12)+7*REF(VAR19,13)+6*REF(VAR19,14)+5*REF(VAR19,15)+4*REF(VAR19,16)+3*REF(VAR19,17)+2*REF(VAR19,18)+REF(VAR19,20))/210;
VAR1B:=MA(VAR1A,12);
VAR1C:=EMA(VAR1A,5);
VAR1D:=ABS(VAR1A-VAR1B);
VAR1E:=REF(VAR3,1)*0.015;
VAR1F:=REF(INDEXC,1);
VAR24:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
VAR25:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
VAR26:=MA(CLOSE,26);
VAR27:=VAR26+2*STD(VAR3,26);
VAR28:=VAR26-2*STD(VAR3,26);
VAR29:=VAR26+2*STD(REF(VAR3,1),26);
VAR2A:=VAR26-2*STD(REF(VAR3,1),26);
VAR2B:=IF(VAR24 AND VAR1<VAR28,1,0);
VAR2C:=IF(VAR25*VAR1 AND VAR2>VAR27,2,VAR2B);
VAR2D:=IF(VAR2C=1,80,45);
VAR2E:=IF(VAR2C=2,0,VAR2D);
VAR2F:=VAR2E;
D1:=EMA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),5);
D2:=REF(D1,1);
STICKLINE(D1>=REF(D1,1),D1,D2,5,0),COLOR0055AA;
STICKLINE(D1<REF(D1,1),D1,D2,5,0),COLOR006600;
{STICKLINE(D1>=REF(D1,1),D1,D2,2,0),COLOR0077CC;}
STICKLINE(D1>=REF(D1,1),D1,D2,1,0),COLOR0099DD;
{STICKLINE(D1<REF(D1,1),D1,D2,2,0),COLOR009900;}
STICKLINE(D1<REF(D1,1),D1,D2,1,0),COLOR00BB00;
【強弱】:SMA(MAX(VAR3-VAR7,0),5,1)/SMA(ABS(VAR3-VAR7),5,1)*100;
DRAWTEXT(ISLASTBAR=1 AND (CROSS(【強弱】,Y2) OR VAR2E>45),80, 短期吃貨!),COLORRED;
DRAWTEXT(ISLASTBAR=1 AND (CROSS(Y1,【強弱】) OR VAR2E<45),80, 短期出貨!),COLORGREEN;
DRAWTEXT(ISLASTBAR=1 AND VAR17>VAR18,60, 個股強于大盤!),COLORFF00FF;
DRAWTEXT(ISLASTBAR=1 AND VAR12>VARF,50, 大盤處在下降通道),COLORCCFF99;
DRAWTEXT(ISLASTBAR=1 AND VAR18>=VAR17,60, 個股弱于大盤!),COLOR00FFFF;
DRAWTEXT(ISLASTBAR=1 AND VAR1A>VAR1B AND VAR1D>VAR1E AND NOT(CROSS(75,VAR8)),40, 持股待漲!),COLOR0099FF;
DRAWTEXT(ISLASTBAR=1 AND VAR1A<VAR1B AND VAR1D>VAR1E AND NOT(CROSS(【強弱】,20)),40, 下調(diào)減持!),COLORFF9900;
DRAWTEXT(ISLASTBAR=1 AND VAR1D<=VAR1E,40, 盤整階段!),COLORFF9900;
DRAWTEXT(ISLASTBAR=1 AND (INDEXC-VAR1F)/VAR1F>0.035,40,出現(xiàn)井噴行情!),COLORRED;
 
買入止損-(源碼 主圖)
 
MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50;
G1:=IF(-MMS>95,0,20);
UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);
明日均線:=REF(C,2)*2-REF(C,5),LINETHICK0,COLOR550055 ;
后日均線:=REF(C,1)*2-REF(C,4),LINETHICK0,COLOR008800;
大后天均線:=C*2-REF(C,3),LINETHICK0,COLOR008888;
KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));
KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);
趨勢線:=EMA(((KS / 10) + EMA(CLOSE,10)),3);
AA:= - 100 * (趨勢線 - CLOSE) / 趨勢線;
AC:=(EMA(AA,5) );
SSL:=EMA(CLOSE,5);
MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
MM:=(IF(((DAY > 5) AND (DAY < 9)),MA(MMV,1),IF((DAY = 5),MA(MMV,4)
,IF((DAY = 4),MA(MMV,8),IF((DAY = 3),MA(MMV,16)
,IF((DAY = 2),MA(MMV,32),1))))) );
{STICKLINE(((SSL > MM) ),SSL,MM,0.1,0),COLORRED;}
SA:=(MM * 0.985);
SS:=(MA(CLOSE,18));
DD:=(MA(CLOSE,13));
GG:=(MA(CLOSE,21));
撈錢手:IF(((SSL>MM)),SS,SA),COLORFF00FF,LINETHICK2;
K1:=BACKSET(撈錢手<REF(撈錢手,1),2);
IF(K1,撈錢手,DRAWNULL),COLORFFFFCC,LINETHICK2;
VAR2Y:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR3Y:=(((CLOSE - REF(OPEN,29)) / REF(OPEN,29)) * 100);
VAR4Y:=REF(CLOSE,1);
VAR5Y:=((SMA(MAX((CLOSE - VAR4Y),0),6,1) / SMA(ABS((CLOSE - VAR4Y)),6,1)) * 100);
VAR6Y:=((SMA(MAX((CLOSE - VAR4Y),0),12,1) / SMA(ABS((CLOSE - VAR4Y)),12,1)) * 100);
VAR7Y:=((SMA(MAX((CLOSE - VAR4Y),0),24,1) / SMA(ABS((CLOSE - VAR4Y)),24,1)) * 100);
VAR8Y:=(((CLOSE - LLV(LOW,45)) / (HHV(HIGH,45) - LLV(LOW,45))) * 100);
VAR9Y:=SMA(VAR8Y,3,1);
VARAY:=SMA(VAR9Y,3,1);
VARBY:=((3 * VAR9Y) - (2 * VARAY));
VARCY:=(CROSS(VAR5Y,10) AND (VAR3Y < (0 - (28 * 20))));
VARDY:=((100 - CROSS(76,VAR5Y)) AND (VAR3Y > (5 * 20)));
DRAWICON(((CROSS(76,VAR5Y) AND (VAR3Y > 5)) ),(HIGH * 1.01),2),COLORFFFFFF;
VAREY:=((((CROSS(VAR9Y,VARAY) AND (VARAY < 10)) AND (VAR3Y < (0 - 30))) AND (VAR2Y > 3)) * 30);
VARFY:= - ((((VARAY < 11) AND (VAR5Y < 15)) AND (VAR3Y < (0 - 26))) * 10);
DRAWICON((CROSS(VARFY,(0 - 9))),(LOW * 0.998),4);
能量線:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) * 4)));
上開:=O;
上收:=C;
上高:=H;
上低:=L;
JJ:=(上開+上高+上低)/3;
A:=EMA(JJ,4);
B:REF(A,1),POINTDOT,COLORYELLOW,LINETHICK4;
虎:A,COLORYELLOW,LINETHICK1;

STICKLINE(虎>撈錢手,虎,撈錢手,0.01,1),COLOR0000FF;
STICKLINE(虎<撈錢手,虎,撈錢手,0.01,1),COLORCYAN;
VA1:=EMA(上收,8);
VA2:=EMA(上收,20);
DRAWTEXT(CROSS(VA2,VA1),H+0.12,止\N損)COLORYELLOW;
DRAWTEXT(CROSS(VA1,VA2)AND(C>=O)AND 虎>REF(虎,1),VA1*0.98,★買入),COLOR00FF00;

選手A:=MA(上收,3);
箱頂A:=MA(REF(HHV(上收,6),1),3);
箱底A:=MA(REF(LLV(上收,3),1),3);
T1:=MA(上收,20)>=REF(MA(上收,20),1);
T2:=CROSS(選手A,箱底A) AND 箱頂A/箱底A>100/100 AND T1;
T3:=CROSS(箱頂A,選手A) AND 箱頂A/箱底A>100/100;
選手:=MA(上收,2);
箱頂:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;
箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;

IF(A>REF(A,1),A,DRAWNULL),COLORYELLOW,LINETHICK5;
IF(A<REF(A,1),A,DRAWNULL),COLORGREEN,LINETHICK1;
 
 
把握股票的持有或拋出公式-提前知道趨勢 提前金叉買入
 
這是一個判斷手中股票去留的指標,對比一下就能知道后期的走勢。和提前金叉買入配合使用效果很好

提前知道趨勢指標源碼
BR:SUM(MAX(1,HIGH-REF(CLOSE,1)),60)/SUM(MAX(1,REF(CLOSE,1)-LOW),60)*1000;
股價趨勢:SUM(HIGH-OPEN,30)/SUM(OPEN-LOW,30)*1000;
盤面趨勢:(CLOSE-MA(CLOSE,15))/MA(CLOSE,15)*1000;;
DRAWLINE(HIGH>=HHV(HIGH,15),HIGH,LOW<=LLV(LOW,15),LOW,1);
ENTERLONG:CROSS(MA(CLOSE,5),MA(CLOSE,10));
EXITLONG:CROSS(MA(CLOSE,30),MA(CLOSE,30));
 
 
霸王莊第二版之操盤系統(tǒng)(他山之石,可以攻玉 提供源碼)
 
指標的介紹
本想把k線顏色做的復(fù)雜點,但是考慮再三,本指標還是以簡單清晰為主(加上本人功力尚淺),最后只用紅黃灰粉四種顏色了:
細黃柱:立莊量,上升趨勢中嚴重參與!我根據(jù)價格走勢,做了個上影下影效果,下影說明股市趨勢很向上。
粉柱:關(guān)注,如果后邊趨勢扭轉(zhuǎn)大量殺進,有經(jīng)驗的可以精細化操作,但是我這一般還未充分實現(xiàn),主題思想是中長型趨勢的把握。
灰柱:做空,不參與。
紅柱:買入或持倉。

黃球:強壯坐鎮(zhèn),主力高度持倉。
紅球:霸王莊,主力發(fā)威,連續(xù)就出現(xiàn)就一直持股,消失再考慮出。(設(shè)有強弱分界線,紅球多日連續(xù)后消失,有強轉(zhuǎn)弱,再看利潤牛市里爭取最大化)

三條綠線為操盤線
三線合紅買入,分綠賣出。

黃塊:趨勢向上;藍條,趨勢向下。
紅虛線:大箱頂,突破紅虛線,我觀察很有可能進入新的價位高度。
綠虛線:大箱底。
(還有小箱體,大家各取所愛吧~)
大家還有什么要求,還需要各位前輩、朋友的建議,不斷完善。



原碼:
{大箱體}
頂: COST(95)*1, linedot,COLORRED;
Var11:=(2*CLOSE+HIGH+LOW)/4;
底: EMA(Var11,99)*0.91,linedot,colorgreen ;

{小箱體}
//箱頂:MA(REF(HHV(c,30),1),2),COLOR0000FF,LINETHICK2;
//箱底:MA(REF(LLV(c,30),1),2),COLOR00FF00,LINETHICK2;

{均線系統(tǒng)}
MA10:=MA(C,10),colorwhite;
MA60:MA(C,60),coloryellow;
DRAWTEXT(CROSS(MA10,MA60),(LOW * 0.95),注意),Coloryellow;

多:=EMA(C,3),COLORYELLOW;
空:=EMA(C,5),COLOR00FF00;
均衡:=EMA(空,5),COLORWHITE,;
VARF1:=COUNT(CROSS(多,均衡),2)=1;
VARF2:=COUNT(CROSS(空,均衡),2)=1;
ZAI:=FILTER(VARF1 AND VARF2,2);
DRAWTEXT(ZAI,均衡,主升),COLORFF00FF;
{中軌:HHV(MA(H,13),13),COLORRED,LINETHICK2;}
{趨勢123:LLV(MA(H,13),1),COLORGREEN,LINETHICK2;}
主升:=if(ZAI,1,0),colorwhite;

{趨勢}
MA15:=EMA(CLOSE,21);
STICKLINE((MA15 > REF(MA15,1)),MA15,MA15,9,6),LINETHICK4,Color00FFFF;
STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF0000;

{k線}
FO:=OPEN;
FH:=HIGH;
FL:=LOW;
FC:=CLOSE;
KK:=IF(FC>=FO AND (FC>=REF(FC,1) OR REF(FC,1)>=REF(FO,1)),1,IF(FC<FO AND (FC<REF(FO,1) OR REF(FC,1)<REF(FO,1)),-1,0));
STICKLINE(FC>FO,FH,FL,0.4,0),colorFF;
STICKLINE(KK=1 AND FC>=FO,FO,FC,8,0),colorFF;
STICKLINE(KK=1 AND FC<FO,FO,FC,8,0),colorFF;
STICKLINE(KK=0 AND FC>=FO,FO,FC,8,0),colorFF;
STICKLINE(KK=0 AND FC<FO,FO,FC,8,0),colorFF;

{趨勢向下k線染灰}
STICKLINE((MA15 < REF(MA15,1)),h,l,0.4,0),Colorgray;
STICKLINE((MA15 < REF(MA15,1)),c,o,8,0),Colorgray;

{k線涂粉關(guān)注}
STICKLINE(MA15 < REF(MA15,1) and (FC>FO),FH,FL,0.4,0),ColorFF80FF;
STICKLINE(KK=1 AND FC>=FO and ma15 < ref(ma15,1),FO,FC,8,0),ColorFF80FF;
STICKLINE(KK=1 AND FC<FO  and ma15 < ref(ma15,1),FH,FL,0.4,0),ColorFF80FF;
STICKLINE(KK=1 AND FC<FO  and ma15 < ref(ma15,1),FO,FC,8,0),ColorFF80FF;
STICKLINE(KK=0 AND FC>=FO and ma15 < ref(ma15,1),FH,FL,0.4,0),ColorFF80FF;
STICKLINE(KK=0 AND FC>=FO and ma15 < ref(ma15,1),FO,FC,8,0),ColorFF80FF;
STICKLINE(KK=0 AND FC<FO  and ma15 < ref(ma15,1),FH,FL,0.4,0),ColorFF80FF;
STICKLINE(KK=0 AND FC<FO  and ma15 < ref(ma15,1),FO,FC,8,0),ColorFF80FF;

{霸王莊}
主力持倉:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
指數(shù)趨勢:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
強弱分界:=80;
主力籌碼集中度:=WINNER(C)*100;
散籌籌碼集中度:=(WINNER(C*1.1)-WINNER(C*0.9))*100;
qiang:=(主力持倉-散籌籌碼集中度)>20 and (主力籌碼集中度-散籌籌碼集中度)>0 and 主力持倉>50;
強莊坐鎮(zhèn):if(qiang,1,0),colorred,linethick0;
DRAWTEXT(強莊坐鎮(zhèn),(LOW * 0.99),☉),Coloryellow;
●霸王莊●:if(qiang and 主力籌碼集中度-散籌籌碼集中度>20,1,0),ColorFF80FF,linethick0;;
DRAWTEXT(●霸王莊●,(LOW * 0.99),⊙),Colorred;

{神秘均線}
LOCK:=IF(CURRENTDATE<1120923,1,0);
PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6)>REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),EMA((2*CLOSE+HIGH+LOW)/4,5)),colorFF;
PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6)<REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),EMA((2*CLOSE+HIGH+LOW)/4,5)),colorFF00;
PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10)>REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIGH+LOW)/4,13)),colorFF;
PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10)<REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIGH+LOW)/4,13)),LINETHICK2,colorFF00;
PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CLOSE+OPEN)/3,28),1),REF(EMA((LOW+CLOSE+OPEN)/3,25),1)),LINETHICK3,colorFF;
PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)<REF(EMA((LOW+CLOSE+OPEN)/3,28),1),REF(EMA((LOW+CLOSE+OPEN)/3,25),1)),LINETHICK3,colorff00;
PARTLINE((EMA(LOW,250)+EMA((CLOSE+LOW)/2,300))/2>REF((EMA(LOW,250)+EMA((CLOSE+LOW)/2,300))/2,1),(EMA(LOW,250)+EMA((CLOSE+LOW)/2,250))/2),linethick4,colorFF;
PARTLINE((EMA(LOW,250)+EMA((CLOSE+LOW)/2,300))/2<REF((EMA(LOW,250)+EMA((CLOSE+LOW)/2,300))/2,1),(EMA(LOW,250)+EMA((CLOSE+LOW)/2,250))/2),linethick4,colorgray;

小趨勢線:ma15,coloryellow,linethick0;
小趨勢成立:if(MA15 > REF(MA15,1),1,0),linethick0,coloryellow;
大趨勢線:(EMA(LOW,250)+EMA((CLOSE+LOW)/2,300))/2,colorwhite,linethick0;

{立莊量}
VOLUME:=VOL,linethick0;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
V2:=IF(BARSTATUS=2,VOL*240/MINUTE/REF(VOL,1)-1,VOL/REF(VOL,1)-1),COLORRED;
STICKLINE(V2>=1,(llv(l,10)/2+hhv(h,10)/2),c,3,0),COLORYELLOW;

{財務(wù)指標}
毛利潤率:=FINANCE(21)/FINANCE(20)*100;
主營業(yè)務(wù)增長率:=FINANCE(53);
凈利潤增長率:=FINANCE(55);
市盈率:=DYNAINFO(39);
市凈率:=c/FINANCE(34);
蕕利比例:=WINNER(c )*100;
凈資產(chǎn):=FINANCE(34);
凈資收益率:=FINANCE(37);

DRAWTEXTEX(c,1,10,253,市盈率:),LINETHICK1,ColorFFFFFF;
DRAWTEXTEX(c,1,90,253,NUMTOSTR(市盈率,2)+),ColorFFFFFF;
DRAWTEXTEX(c,1,150,253,市凈率:),LINETHICK1,ColorFFFFFF;
DRAWTEXTEX(c,1,230,253,NUMTOSTR(市凈率,2)+),ColorFFFFFF;
DRAWTEXTEX(c,1,10,85,蕕利比例:),LINETHICK2,ColorAFFF00;
DRAWTEXTEX(c,1,90,85,NUMTOSTR(蕕利比例,2)+%),ColorAFFF00;
DRAWTEXTEX(c,1,10,157,主營業(yè)務(wù)增長率:),LINETHICK2,Color00FFFF;
DRAWTEXTEX(c,1,170,157,NUMTOSTR(主營業(yè)務(wù)增長率,2)+%),Color00FFFF;
DRAWTEXTEX(c,1,260,157,凈利潤增長率:),LINETHICK2,Color00FFFF;
DRAWTEXTEX(c,1,390,157,NUMTOSTR(凈利潤增長率,2)+%),Color00FFFF;
DRAWTEXTEX(c,1,190,85,凈資產(chǎn):),LINETHICK2,ColorAFFF00;
DRAWTEXTEX(c,1,270,85,NUMTOSTR(凈資產(chǎn),2)+),ColorAFFF00;
DRAWTEXTEX(c,1,370,85,凈資收益率:),LINETHICK2,Colorgreen;
DRAWTEXTEX(c,1,485,85,NUMTOSTR(凈資收益率,2)+%),Colorgreen;
DRAWTEXTex(c,1,10,20,\n所屬板塊:+BLKNAME),colorFFFFFF;
趨勢判斷---(主圖公式 源碼 )
支撐壓力軌道,紅綠趨勢線,買賣提示,作輔助判斷。
{趨勢判斷}
N:=20;
M:=32;
P1:=80;
P2:=100;

VAR1:=(C+H+O+L)/4;
賣出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
買入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;

DRAWTEXT(CROSS(C,買入) OR (L<買入),LOW*0.95,B),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(C,賣出) OR (H>賣出),HIGH*1.02,S),COLORGREEN;

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;
 

再發(fā)個小林原創(chuàng)指標系列《小林異動飄帶》--(小林指標組合使用,讓你賺錢就是那么簡單)

 

       最近閑來在論壇逛逛,放送了幾個自己原創(chuàng)的指標《小林主力》《小林買賣》挺受朋友喜歡,今天端午節(jié)假日到來再奉送一個自己原創(chuàng)的《小林異動飄帶》送給大家,絕對好用,小林組合指標還有很多,我的追求就是實用(多空與趨勢,還有買賣,基本是一目了然,短線分鐘K線也適用)而且自己慢慢使用過程會感覺到更多的用處,這里就不多說了,只發(fā)幾張圖片介紹,剩下大家慢慢研究吧。

       指標說明:

1.紅飄帶在多方區(qū),視為多頭市場;紅飄帶在空方區(qū),視為空頭市場;
2.綠飄帶翻紅從空方區(qū)進入多方區(qū),買入;
3.紅飄帶溢出多方區(qū),為強勢區(qū),注意逃頂;
4.紅飄帶翻綠,賣出;
5.綠飄帶溢出空方區(qū),堅決放空直到翻紅回到空方區(qū)可以回補。
6.小林異動飄帶最好與小林趨勢波段和小林主力組合使用會減少誤差。
源碼如下:
帶:=(HIGH+LOW+CLOSE)/3;
紅飄帶:=(帶-MA(帶,14))/(0.015*AVEDEV(帶,14));
綠飄帶:=MA(紅飄帶,3);
多方區(qū):100 , COLOR99CCFF , NODRAW;
空方區(qū):-100 ,COLORCCFFCC NODRAW;
DRAWBAND(100,RGB(255,204,153),0,RGB(147, 112, 219));
DRAWBAND(0,RGB(204, 255, 204),-100,RGB(204, 255, 204));
DRAWBAND(紅飄帶,RGB(255, 0, 0),綠飄帶,RGB(50, 255, 50));
飄帶:紅飄帶,COLORRED NODRAW;
DRAWTEXT(CROSS(飄帶,0),0,▲)COLORYELLOW;
 
 
 

 
 

 
 



 
 
 

 
 
 

 

 

 
 

 

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

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多

    久久这里只精品免费福利| 少妇人妻精品一区二区三区 | 色哟哟在线免费一区二区三区| 国产成人精品久久二区二区| 亚洲一区二区欧美激情| 国产精品欧美激情在线| 精品人妻少妇二区三区| 中文字幕有码视频熟女| 亚洲专区中文字幕在线| 国产对白老熟女正在播放| 欧美日韩国产精品自在自线| 日本人妻熟女一区二区三区| 久久黄片免费播放大全| 国产精品人妻熟女毛片av久久| 国产偷拍盗摄一区二区| 国产传媒中文字幕东京热| 欧美成人欧美一级乱黄| 亚洲国产欧美精品久久| 国产99久久精品果冻传媒| 亚洲欧美日产综合在线网| 中文字幕久久精品亚洲乱码| 色鬼综合久久鬼色88| 日本国产欧美精品视频| 欧美精品一区久久精品| 亚洲精品欧美精品日韩精品| 午夜国产成人福利视频| 国内自拍偷拍福利视频| 久久精品中文字幕人妻中文| 91精品国产品国语在线不卡| 国产精品福利精品福利| 欧美激情床戏一区二区三| 风韵人妻丰满熟妇老熟女av| 欧美日韩国产的另类视频| 国产又大又硬又粗又湿| 国产一区欧美一区日本道| 天堂网中文字幕在线观看| 福利新区一区二区人口| 在线九月婷婷丁香伊人| 日本高清不卡在线一区| 黄色在线免费高清观看| 91熟女大屁股偷偷对白|