:=(C*3+H+L+O)/6;
SK := EMA(JJ,13) - EMA(JJ,21);
SD := EMA(SK,3);
SP := EMA(SK,10);
A1:=EMA(C,7)-EMA(C,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
B1,COLORSTICK;X1:=V/SUM(V,13);
X2:=DMA(C,X1);
X3:=(C-X2)/X2*40;
L2:=MA(AMOUNT/(100*V),13);
CYS13:= (C-L2)/L2*100;
做多:IF(A1>=B1,A1,B1),LINETHICK2,COLORFF00FF;
做空:IF(B1-A1,B1,A1),COLORGREEN,LINETHICK2;
強莊:STICKLINE(CYS13>5,0,-做空,2,0 ),COLORYELLOW;
主力強度:STICKLINE(X3>0 AND 做多>0,做多+0.1,做多,1,0),COLORFF80FF;
C>MA(C,30),COLORFF80FF,LINETHICK2;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
RSV:=(C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J1:=DIFF;
J2:=DEA;
J3:=K;
J4:=D;
VL:=REF(LOW,1); VH:=REF(H,1);
VAR1:=SMA(ABS(H-VH),13,1)/SMA(MAX(H-VH,0),13,1)*100;
VAR2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;
VAR3:=REF(CLOSE,1);
VAR4:=MA(VAR2,13);
VAR5:=LLV(L,34);
VAR6:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;
VAR7:=CROSS(93,VAR6);
VAR8:=EMA(IF(L<=VAR5,VAR4,0),3);
VAR9:=H>LLV(L,0)*7;
VAR10:=(SMA(SMA((((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54))) * 100),7,1),5,1));
VAR11:=((SMA(((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54)) * 100),7,1)) * 16.18) - (VAR10 * 10.9);
上攻:FILTER(CROSS(J1,J2) AND VOL>REF(SUM(VOL,5),1),3),COLOR0066FF,LINETHICK2;
WR10:=-100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10)),COLORWHITE,LINETHICK1;
WR45:=-100*(HHV(HIGH,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45)),COLORFFB900,LINETHICK1;
WR99:=-100*(HHV(HIGH,99)-CLOSE)/(HHV(HIGH,99)-LLV (LOW,99)),COLORRED,LINETHICK1;
頂:= 0, LINETHICK2 COLOR446600;
底1:=-95, LINETHICK2 COLOR446600;
可用通達信主圖
DRAWTEXT_FIX(1,0.05,0.0,0,'【操作提示】★ ★ 紅K強勢做多持股 ★ ★ 綠K持幣空倉休息 ★ ★ 黃K階段性反彈手里有貨T+0 ★ ★ 藍K階段性超跌準備搶反彈 ★ ★ '),COLORMAGENTA;
MA13:MA(C,13),COLORWHITE,LINETHICK3;
IF(MA13>REF(MA13,1),MA13,DRAWNULL),COLORRED,LINETHICK3;
IF(MA13<REF(MA13,1),MA13,DRAWNULL),COLORGREEN,LINETHICK3;
MA34:MA(CLOSE,34),LINETHICK2;
MA55:MA(CLOSE,55),LINETHICK2;
短線:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100;
中線:=(C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100;
長線:=(C-LLV(L,89))/(HHV(H,89)-LLV(L,89))*100;
AAA:=長線>50;
BBB:=長線<=50;
CCC:=長線<=51 AND 短線>50 AND 中線>50;
DDD:=長線<=51 AND 短線>50 AND 中線<=50;
STICKLINE(AAA,H,L,0,0),COLOR106FFF;
STICKLINE(BBB,H,L,0,0),COLORGREEN;
STICKLINE(CCC,H,L,0,0),COLORYELLOW;
STICKLINE(DDD,H,L,0,0),COLORYELLOW;
STICKLINE(AAA,C,O,4,0),COLOR0000C8;
STICKLINE(AAA,C,O,3,0),COLOR0000D7;
STICKLINE(AAA,C,O,2,0),COLOR0000EA;
STICKLINE(AAA,C,O,1,0),COLOR0000FF;
STICKLINE(BBB,C,O,4,0),COLOR00B500;
STICKLINE(BBB,C,O,3,0),COLOR00C600;
STICKLINE(BBB,C,O,2,0),COLOR00D500;
STICKLINE(BBB,C,O,1,0),COLOR00E600;
STICKLINE(CCC,C,O,4,0),COLOR33CFDD;
STICKLINE(CCC,C,O,3,0),COLOR33DFDD;
STICKLINE(CCC,C,O,2,0),COLOR33EFDD;
STICKLINE(CCC,C,O,1,0),COLOR33FFDD;
STICKLINE(DDD,C,O,4,0),COLOR33CFDD;
STICKLINE(DDD,C,O,3,0),COLOR33DFDD;
STICKLINE(DDD,C,O,2,0),COLOR33EFDD;
STICKLINE(DDD,C,O,1,0),COLOR33FFDD;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
STICKLINE(RSI1<15,H,L,0,0)COLORFF9900;
STICKLINE(RSI1<15,C,O,4,0),COLORFF9900;
STICKLINE(RSI1<15,C,O,3,0),COLORFFAA00;
STICKLINE(RSI1<15,C,O,2,0),COLORFFBB00;
STICKLINE(RSI1<15,C,O,1,0),COLORFFCC00;
幾種漲停選股公式
ZT:=(C-REF(C,1))/REF(C,1)*100>9.7 AND C=H;
新股首次:COUNT(ZT>0,BARSCOUNT(C))=0 AND (C-REF(C,1))/REF(C,1)*100>8;
ZT:=(C-REF(C,1))/REF(C,1)*100>8.2 AND C=H ,COLORWHITE;
TY:=C;
A1:=REF(TY,20)=HHV(TY,2*20+1);B1:=FILTER(A1,20);C1:=BACKSET(B1,20+1);HD:=FILTER(C1,20);
A:=REF(H,BARSLAST(HD));
突破漲停:IF(CROSS(C,A) AND ZT>0 ,-4,0),COLORYELLOW;
MA5:=MA(CLOSE,5),COLORYELLOW;
MA10:=MA(CLOSE,10),COLORRED;
MA20:=MA(C,20) ;
MA30:=MA(C,30);
MA60:=MA(C,34),COLORDBDB70,LINETHICK2;
F1:=(MA5-MA10)/MA10*100;
F2:=(MA10-MA20)/MA10*100;
F3:=(MA20-MA60)/MA10*100;
拉升漲停:F1>1 AND F2>3 AND F3>0 AND (C-REF(C,1))/REF(C,1)*100>8 AND C=H;
BIAS1 :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
BIA:=(BIAS1-BIAS2);
BIS:=LLV(BIAS1,3);
超跌漲停:IF((C-REF(C,1))/REF(C,1)*100>8 AND C=H AND BIS<0 AND BIA>5 AND MA(C,5)<MA(C,60),8,0),COLORCYAN;
ZT:=(C-REF(C,1))/REF(C,1)*100>8 AND C=H,COLORWHITE;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
個線:=EMA(EMA(CLOSE,30),9);
大線:=EMA(EMA(INDEXC,45),9);
個股1:=CLOSE/個線*100;
大盤1:=INDEXC/大線*100;
GGQD:=(個股1-大盤1);
鈍化漲停:IF( GGQD>15 AND ZT>0 AND RSI1=HHV(RSI1,5) AND RSI1>80 AND REF((C-REF(C,1))/REF(C,1)*100,1)<8,4,0);
————————————————————————————————————
主力大單指標
N:=5;QJ0:=(HIGH+LOW+CLOSE)/3;
QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);
QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));
QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
QJ6:="MACD.DIF">"MACD.DEA" AND "MACD.DEA"<0;
QJ7:="KDJ.K">"KDJ.D" AND "KDJ.D"<30;
QJ8:="MACD.DIF"<"MACD.DEA";
QJ9:="KDJ.K"<"KDJ.D" AND "KDJ.K">80;
特大: QJ4*QJ5,NODRAW;大單: QJ3*QJ5,NODRAW;
中單: QJ1*QJ5,NODRAW;小單: QJ2*QJ5,NODRAW;
W1:=SUM(大單,N)+SUM(特大,N);W2:=SUM(小單,N)+SUM(中單,N);
量振1:=特大>大單 AND 大單>小單;
量振2:=特大<小單 AND 大單<小單;
標振1:=QJ6 AND QJ7;
標振2:=QJ8 AND QJ9;
A:=W1-W2;A0:=IF(A>0,A,0);B0:=IF(A<0,A,0);
STICKLINE(A0,0,A0,3,0),COLOR000044;
STICKLINE(A0,0,A0,2.5,0),COLOR000088;
STICKLINE(A0,0,A0,1.5,0),COLOR0000AA;
STICKLINE(A0,0,A0,1,0),COLOR0000CC;
STICKLINE(B0,0,-B0,3,0),COLOR004400;
STICKLINE(B0,0,-B0,2.5,0),COLOR008800;
STICKLINE(B0,0,-B0,1.5,0),COLOR00AA00;
STICKLINE(B0,0,-B0,1,0),COLOR00CC00;
周趨勢: MA(A,5),COLORFFFFFF;
平滑值: EMA(周趨勢,5),COLOR00FFFF;
STICKLINE(標振1 AND 量振1 AND 周趨勢>平滑值,0,A0,3,0),COLORYELLOW;
DRAWTEXT(標振1 AND 量振1 AND 周趨勢>平滑值,A0,'振'),COLORYELLOW;
●贏在龍頭指標及選股(網(wǎng)上下載)
一、{多空對比—檢測無誤} 副圖
短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中長期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
長期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;
強市線:80,POINTDOT;
弱市線:20,POINTDOT;
分水嶺:50,POINTDOT;
多空對比四線歸一選股公式:用于下跌中的抄底。
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
中長期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
長期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
xg1:短期<6 and 中期<6 and 中長期<6 and 長期<6;
多空對比單針下20選股公式:用于趨勢向上股票的逢低買入(陰線買入)第二天逢低買入。
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
中長期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
長期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
xg1:短期<20 AND 長期>60;
二、短線資金波動指標(經(jīng)對比無誤)副圖
資金波動:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),POINTDOT,COLORRED,LINETHICK4;
超強勢:84,POINTDOT,COLORMAGENTA;
強勢:60,POINTDOT,COLORGREEN;
弱市:35,POINTDOT,COLORWHITE;
用法:結(jié)合大盤,下跌后反彈,低點上移時,個股拉出大陽線后可否追高用。此指標剛進入超強,大陽線不可追高。在牛市中,低點不斷上移,資金波動指標始終在80上下的強勢區(qū),這時拉出有大陽線可追高買進。
三、個股資金生命線 副圖 無誤
個股資金線:MA(C,1)/MA(REF(C,18),18)*100,LINETHICK2,COLOR00FFFF;
資金生命線:MA(FORCAST(個股資金線,20),6),COLORMAGENTA,LINETHICK2;
四、資金指數(shù),副圖:指標在上海股中(600開頭的)使用準確無誤,但在深證股(000開頭或其它)中應(yīng)用時,非主流資金一項有差別。我琢磨此指標是引用了大盤價的原因。在深圳股中原指標可能引用了深證成指,但一般軟件沒有這個函數(shù)可引用。一般情況下上證和深證基本一樣,所以此指標可以使用。
{資金指數(shù)(副圖指標)}
主流資金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),
COLORRED,linethick2;
非主流資金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),colorgreen,linethick2;
20,pointdot,colorf00ff0;
50,pointdot,colorgreen;
80,pointdot,colorwhite;
指標說明:
該指標是軟件的精華所在,可以清楚的看出一只股票中主力及散戶的強弱關(guān)系。它由兩條趨勢線及三條水平線組成,紫色趨勢線代表市場主流金,綠色趨勢線代表非主流資金。指標有三條水平線,從上自下數(shù)值分別為80、50、20。80以上為超強區(qū),20以下為超弱區(qū),50為強弱分水嶺(80—50為強勢區(qū),50—20為弱勢區(qū))。
使用方法:
當主流資金擺脫非主流資金上攻,且上穿50,表示主力在投入資金,股價上漲。當主流資金在80以上運行一段時間之后,向下穿越80,顯示主力減倉股價可能走弱。
五、{波段贏家 主圖 無誤 }
獲利了結(jié):EMA(EMA(EMA(HIGH,5),5),5)*1.15,ColorFFFFFF,linethick1;
風險: EMA(EMA(EMA(HIGH,5),5),5)*1.1,COLORYELLOW;
回檔: EMA(EMA(EMA(HIGH,5),5),5)*1.05,Color00FF00;
平衡: EMA(EMA(EMA(HIGH,5),5),5),ColorFF00FF,linethick1;
反彈: EMA(EMA(EMA(HIGH,5),5),5)*0.95,COLORGRAY,linethick1;
超跌: EMA(EMA(EMA(HIGH,5),5),5)*0.9,colorblue,linethick1;
六、{機構(gòu)能量線—檢測無誤}
做空能量線:
SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3;
做多能量線:
SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3;
20,pointdot,colorf00ff0;
50,pointdot,colorgreen;
80,pointdot,colorwhite;
七、{主力操盤軌跡,副圖,與源碼同,檢測無誤}
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
Y0:SMA(RSV,3,1),COLORRED,LINETHICK1;
Y1:SMA(Y0,3,1),COLORYELLOW,LINETHICK1;
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
Y2:SMA(RSV1,5,1),COLORMAGENTA,LINETHICK2;
Y3:SMA(Y2,10,1),COLORGREEN,LINETHICK2;
18,COLORWHITE;
85,COLORBLUE;
STICKLINE(Y0>Y1,Y0,Y1,6,0),COLORRED;
STICKLINE(Y0<=Y1,Y0,Y1,6,0),COLORYELLOW;
STICKLINE(Y2>Y3,Y2,Y3,6,0),COLORMAGENTA;
STICKLINE(Y2<=Y3,Y2,Y3,6,0),COLORGREEN;
八、頂?shù)紫戎ù藶榇笾腔跮2用,無未來函數(shù),若通達信軟件可看后面的第十一個,其它軟件若不能用可刪除最后的五行)
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:(EMA(CS,3)-50)*2;
極弱:-80;
強勢:60;
風險:80;
弱勢:-60;
YJD,COLORSTICK;
今日保護價:(REF(C,1)+REF(C,2)+O)/3;
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
STICKLINE(CROSS(75.9,VAR2),YJD+5,YJD-5,3,0),COLORYELLOW;
DRAWTEXT(BARSTATUS=2,78,'清倉'),COLORRED;
DRAWTEXT(BARSTATUS=2,60,'減倉'),COLORYELLOW;
DRAWTEXT(BARSTATUS=2,0,'控盤'),COLORWHITE;
DRAWTEXT(BARSTATUS=2,-60,'回補'),COLORGREEN;
DRAWTEXT(BARSTATUS=2,-80,'吸籌'),COLORBLUE;
此指標為研判大盤和個股階段性高點和低點的短線指標。當這一指標值達到最上部兩條水平線(紫線和黃線)時,短期回落的可能性極大;當它達到最底部兩條水平線(綠線和藍線)時,短期反彈的可能性極大。該指標通常與波段高手或波段贏家指標一同使用,效果極佳
可以選股,條件是YJD小于-80,可以用在各個周期。
可以幫助判斷頂?shù)?,自己多打開股票分析頂?shù)椎呐袛嗍褂梅椒?,有的頂后再頂,丟掉了不少利潤,區(qū)分不同位置使用,盤整的時候準確率很高,趨勢的時候就要小心了,第一次拉升調(diào)整以后還會繼續(xù)上攻。
九、動能運行軌跡(副圖,無誤):網(wǎng)上指標很多,但都與原版不同,此指標經(jīng)我多次修改,三條線與贏在龍頭數(shù)值完全一樣,只是底線抄底(金元寶)信號少。完全精準可用。
RSV:=(((CLOSE - LLV(LOW,36)) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
Y0:SMA(RSV,7,1);
Y1:SMA(SMA(RSV,7,1),3,1);
Y2:(((CLOSE/COST(13))<=0.8)*10),COLORMAGENTA;
Y3:SMA(Y0,7,1),COLORGREEN;
DRAWICON(CROSS(18,Y0) AND Y1<21,10,1);
DRAWTEXT(COUNT(CROSS(Y0,Y1),4)>=1 AND CROSS(Y0,Y3) AND
Y3<70,Y3,'追漲'),COLORYELLOW;
DRAWTEXT(COUNT(Y1>Y3,10)=10 AND CROSS(Y0,Y3)AND Y3<65,50,'短抄');
超賣線:20,COLORBLUE;
底線:80,COLOR GRAY;
頂部線:90,COLORBLUE;
使用方法:
1、當三條線在低位(超賣線之下)金叉向上,并且多頭排列向上發(fā)散時,表示股價向上反彈的動能充足;反之,當三條線在高位死叉向下,并且空頭排列時,表示股價上漲動能不足,將要產(chǎn)生調(diào)整。
2、當股價嚴重超跌時,底部線還會有三角行突起提示您可以逢低吸納。
3、并且可以利用背離方法來研判大盤頂?shù)住?br>
十、頂?shù)紫戎ㄍㄟ_信用,無未來函數(shù),其它軟件不能用的可刪除最后五行),普及版中有此指標。
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD: (EMA(CS,3)-50)*2;
極弱:-80;
強勢:60;
風險:80;
弱勢:-60;
YJD,COLORSTICK;
今日保護價:(REF(C,1)+REF(C,2)+O)/3;
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
STICKLINE(CROSS(75.9,VAR2),YJD+5,YJD-5,3,0),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=6,78,'清倉'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=6,60,'減倉'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=6,0,'控盤'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,-60,'回補'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=6,-80,'吸籌'),COLORBLUE;
此指標為研判大盤和個股階段性高點和低點的短線指標。當這一指標值達到最上部兩條水平線(紫線和黃線)時,短期回落的可能性極大;當它達到最底部兩條水平線(綠線和藍線)時,短期反彈的可能性極大。該指標通常與波段高手或波段贏家指標一同使用,效果極佳
十一、交易機器人 主圖指標 驗證無誤
{交易機器人,主圖,無誤}
H1:EMA(C,8);
H2:EMA(H1,20);
Var1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36))*100;
Var2:=SMA(Var1,5,1);
Var3:=SMA(Var2,8,1);
Var4:=CROSS(Var2,Var3) AND Var3< 20;
Var5:=C>LLV(C,60)*1.13 AND Var4;
Var6:=IF(C>200,Var4,Var5);
STICKLINE(H1>H2,H1,H2,0,1),COLORRED;
STICKLINE(H1< H2,H1,H2,0,1),COLORGREEN;
其它指標,經(jīng)我對比有一定出入,如果你有檢測無誤的可用指標,可短消息通知我,以利于此貼的不斷完善。在此選謝謝!
以下指標有微小差別,幾乎是一樣,所以完全可用,因有人要,所以發(fā)上來。
十二、機構(gòu)資金趨勢
機構(gòu)資金趨勢,經(jīng)我多次修改,柱狀線完全一樣,只是資金趨勢線數(shù)值顯示略有不同,微差0.01-0.09。完全可用。
機構(gòu)資金趨勢:MA(MA(C,2),1),LINETHICK2,color00FFFF;
機構(gòu)持倉:STICKLINE(MA(C,20)>=REF(MA(C,20),1),REF(MA(C,20),4),MA(C,20),5,0),COLOR0000FF;
STICKLINE(MA(C,20)<REF(MA(C,20),1),REF(MA(C,20),4),MA(C,20),5,0),COLOR00FF00;
十三、主力作盤線指標 數(shù)值微差百分之幾,完全可用。
主力作盤線指標:自編副圖,除數(shù)值不同外,各線的交叉及與股價的位置與原版完全一樣。其實這些數(shù)值完全沒有意義所以也不再修改,完全可用。
stickline(c>=o,low,high,0.1,0),color0000CC;
stickline(c>=o,close,open,8,1),color0000CC;
stickline(c<o,close,open,8,0),colorGREEN;
stickline(c<o,low,high,0.1,0),colorGREEN;
栓馬線:MA(C,14),ColorCCCCCC,LINETHICK2;
養(yǎng)馬線:MA(C,90),Colorff0000,LINETHICK2;
牧馬線:MA(C,120),Color0000ff,LINETHICK2;
黑馬線M:MA(C,250),linethick2,color0099ee;
————————————————————————————————————
●裸K線(主圖——可用于同花順)
STICKLINE((C>=O),OPEN,LOW,1,0),color0726CA,LINETHICk4;
STICKLINE((C>=O),CLOSE,HIGH,1,0),color0726CA,LINETHICk4;
STICKLINE((C<O),CLOSE,LOW,1,0),COLORDE9100,LINETHICk4;
STICKLINE((C<O),OPEN,HIGH,1,0),COLORDE9100,LINETHICk4;
STICKLINE((C<O),CLOSE,OPEN,10,0),COLORFF5B00;
STICKLINE((C<O),CLOSE,OPEN,9,0),COLORFF5B00;
STICKLINE((C<O),CLOSE,OPEN,8,0),COLORFF5B00;
STICKLINE((C<O),CLOSE,OPEN,7,0),COLORFF6C00;
STICKLINE((C<O),CLOSE,OPEN,6,0),COLORFF7B00;
STICKLINE((C<O),CLOSE,OPEN,5,0),COLORFF9C00;
STICKLINE((C<O),CLOSE,OPEN,4,0),COLORFFBE00;
STICKLINE((C<O),CLOSE,OPEN,2.5,0),COLORFFCC00;
STICKLINE((C<O),CLOSE,OPEN,1.5,0),COLORFFFF00;
STICKLINE((C>O),CLOSE,OPEN,10,0),color070084;
STICKLINE((C>O),CLOSE,OPEN,9,0),color070084;
STICKLINE((C>O),CLOSE,OPEN,8,0),color070084;
STICKLINE((C>O),CLOSE,OPEN,7,0),color0000A3;
STICKLINE((C>O),CLOSE,OPEN,6,0),color0000B7;
STICKLINE((C>O),CLOSE,OPEN,5,0),color0000CD;
STICKLINE((C>O),CLOSE,OPEN,4,0),color0000E9;
STICKLINE((C>O),CLOSE,OPEN,2,0),color0754E9;
STICKLINE((C>O),CLOSE,OPEN,1.5,0),color076EF3;
STICKLINE((C>O),CLOSE,OPEN,1,0),color077BF3;
VAR2:=((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)));
VARD:=((REF(VARC,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VARE:=((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(VAR18,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR1A:=(REF((((((((((((VARE OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18) OR VAR19),1) AND VAR2);
STICKLINE(var1a,O,O+(C-O)/3,10,0),color0000ff;
STICKLINE(var1a,O,O+(C-O)/3,8,0),color1029ff;
STICKLINE(var1a,O,O+(C-O)/3,7,0),color1040ff;
STICKLINE(var1a,O,O+(C-O)/3,5,0),color1083ff;
STICKLINE(var1a,O,O+(C-O)/3,3,0),color10abff;
STICKLINE(var1a,O,O+(C-O)/3,1,0),color10d0ff;
STICKLINE(var1a,O,O+(C-O)/3,2,0),color10ffff;
STICKLINE(var1a,O,O+(C-O)/3,1,0),color00ffff;
AA:=(REF((((((((((((VAR2 OR VAR3) OR VAR4) OR VAR5) OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR VARC) OR VARD),1) AND VARE);
STICKLINE(aa,O,O+(C-O)/3,10,0),color008800;
STICKLINE(aa,O,O+(C-O)/3,8,0),color009900;
STICKLINE(aa,O,O+(C-O)/3,7,0),color00aa00;
STICKLINE(aa,O,O+(C-O)/3,5,0),color00bb00;
STICKLINE(aa,O,O+(C-O)/3,4,0),color00cc00;
STICKLINE(aa,O,O+(C-O)/3,3,0),color00dd00;
STICKLINE(aa,O,O+(C-O)/3,2,0),color00ee00;
STICKLINE(aa,O,O+(C-O)/3,1,0),color00ff00;
C3:=REF(C,1);
漲停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0),Color2DFFFF;
STICKLINE(漲停,OPEN,CLOSE,10,0),COLORFF00FF;
STICKLINE(漲停,OPEN,CLOSE,9,0), COLORFF00FF;
STICKLINE(漲停,OPEN,CLOSE,8,0), COLORFF00FF;
STICKLINE(漲停,OPEN,CLOSE,7,0), COLORFF22FF;
STICKLINE(漲停,OPEN,CLOSE,6,0), COLORFF44FF,;
STICKLINE(漲停,OPEN,CLOSE,5,0), COLORFF66FF;
STICKLINE(漲停,OPEN,CLOSE,4,0), COLORFF88FF;
STICKLINE(漲停,OPEN,CLOSE,3,0), COLORFF99FF;
STICKLINE(漲停,OPEN,CLOSE,2,0), COLORFFAAFF;
STICKLINE(漲停,OPEN,CLOSE,1,0), COLORFCBDFC;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0),Color33FF33;
STICKLINE(跌停,OPEN,CLOSE,10,0), COLOR008855;
STICKLINE(跌停,OPEN,CLOSE,9,0), COLOR008855;
STICKLINE(跌停,OPEN,CLOSE,8,0), COLOR008855;
STICKLINE(跌停,OPEN,CLOSE,7,0), COLOR009900;
STICKLINE(跌停,OPEN,CLOSE,6,0), COLOR00AA00;
STICKLINE(跌停,OPEN,CLOSE,5,0), COLOR00BB00;
STICKLINE(跌停,OPEN,CLOSE,4,0), COLOR00CC00;
STICKLINE(跌停,OPEN,CLOSE,3,0), COLOR00DD00;
STICKLINE(跌停,OPEN,CLOSE,2,0), COLOR00EE00,;
STICKLINE(跌停,OPEN,CLOSE,1,0), COLOR00FF55;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
低吸:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(低吸=1,5),LOW-0.19,'▲低吸!'),ColorFFFF33;
MA1:=MA(C,4);
MA2:=MA(C,8);
MA3:=MA(C,16);
YCX:=MA1>=REF(MA1,1);
H1:=MAX(MAX(MA1,MA2),MA3);
L1:=MIN(MIN(MA1,MA2),MA3);
一陽穿三線:= H1<C AND O<L1 AND YCX AND MA1>REF(MA1,1);
STICKLINE(一陽穿三線,O,C,3,0),color66ffcc,LINETHICK3;
DRAWTEXT(一陽穿三線,L-0.1, '★金太陽?。?!'),coloryellow,LINETHICK3;
MA3:=MA(C,3);
漲停:=C>=REF(C,1)*1.099 AND C=H;
DRAWTEXT(漲停,L*0.97,'漲停'),COLORff99cc;
ZF:=(C-REF(C,1))/REF(C,1)*100;
DRAWTEXT(ZF<-9.97,L,'跌停'),colorgreen;
●共振買賣(副圖——可用于通達信)
RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K1:=SMA(RSV1,5,1);
D1:=SMA(K1,5,1);
J1:=3*K1-2*D1;
AA1:=EMA(J1,5);
AA2:=REF(AA1,1);
STICKLINE(AA1>AA2,AA1,AA2,3,0),COLOR0055AA;
STICKLINE(AA1>AA2,AA1,AA2,2.3,0),COLOR0077CC;
STICKLINE(AA1>AA2,AA1,AA2,1.6,0),COLOR0099DD;
STICKLINE(AA1>AA2,AA1,AA2,1,0),COLOR01BEE7;
STICKLINE(AA1<=AA2,AA1,AA2,3,0),COLOR006600;
STICKLINE(AA1<=AA2,AA1,AA2,2.3,0),COLOR009900;
STICKLINE(AA1<=AA2,AA1,AA2,1.6,0),COLOR00BB00;
STICKLINE(AA1<=AA2,AA1,AA2,1,0),COLOR00CC00;
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
STICKLINE(BB1>BB2,BB1,BB2,3,0),COLOR000045;
STICKLINE(BB1>BB2,BB1,BB2,2.3,0),COLOR000085;
STICKLINE(BB1>BB2,BB1,BB2,1.6,0),COLOR0000C5;
STICKLINE(BB1>BB2,BB1,BB2,1,0),COLOR0000E5;
STICKLINE(BB1<=BB2,BB1,BB2,3,0),COLOR353500;
STICKLINE(BB1<=BB2,BB1,BB2,2.3,0),COLOR555500;
STICKLINE(BB1<=BB2,BB1,BB2,1.6,0),COLOR757500;
STICKLINE(BB1<=BB2,BB1,BB2,1,0),COLOR858500;
DD:=AA1>AA2 AND BB1>BB2;
注意買入:DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50) ,LINETHICK0;
DRAWICON(注意買入,-5,1);
注意賣出:REF(DD,1)=1 AND NOT(DD),LINETHICK0;
DRAWICON(注意賣出,105,2);
●紅買綠賣(副圖——可用于通達信)
上線:=SMA(C,5.5,1);
下線:=SMA(C,10.5,1);
上線1:=SMA(C,3,1);
下線1:=SMA(C,8,1);
EXP3:EXPMA(CLOSE,27);
EXP4:EXPMA(CLOSE,36);
STICKLINE(上線>下線 , 上線,下線 ,2, 0),COLORRED,LINETHICK2;
STICKLINE(下線>上線,上線,下線,2.5,0),COLORYELLOW,LINETHICK2;
DRAWTEXT( CROSS(上線,下線),LOW *0.98,'買' ),COLOR00FF00;
DRAWTEXT(CROSS(下線1,上線1),H*1.02,'賣'),COLORYELLOW;
●莊家行蹤(副圖——可用于通達信)
Var1:=EMA(EMA(CLOSE,13),13);
控盤:= (Var1-REF(Var1,1))/REF(Var1,1)*1000,colorffcccc,pointdot;
STICKLINE(控盤<0,控盤,0,4,0),colorwhite;
無莊控盤:控盤<0,colorwhite;
STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,4,1),colorred;
有莊控盤: 控盤>REF(控盤,1) AND 控盤>0,colorred;
Var2:=100*WINNER(CLOSE*0.95);
STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,4,0),color00ff00;
主力出貨: 控盤<REF(控盤,1) AND 控盤>0,color00ff00;
STICKLINE(Var2>50 AND COST(85)<CLOSE AND 控盤>0,控盤,0,4,0),colorff00ff;
高度控盤: Var2>50 AND COST(85)<CLOSE AND 控盤>0,colorff00ff;
a10:=CROSS(控盤,0);
開始控盤:if(a10,6,0),coloryellow;
●優(yōu)化布林(副圖——可用于同花順)
DRAWGBKLAST(V>1,STRIP(RGB(68,14,98),RGB(0,0,0),1));
n=20;
MB:MA(CLOSE,N);
上軌: MB+STD(CLOSE,N);
下軌: MB-STD(CLOSE,N);
上極限: MB+2*STD(CLOSE,N);
下極限: MB-2*STD(CLOSE,N);
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,9,0 ),COLORaaaaaa;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORbbbbbb;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.4,0 ),COLORcccccc;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.1,0 ),COLORdddddd;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,9,0 ),COLOr6666cc;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6 ,0 ),COLOR7777dd;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4 ,0 ),COLOR8888ee;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.1 ,0 ),COLOR9999ff;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR1199ff;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLORcccccc;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLORcccccc;
●大盤指數(shù)(副圖——可用于同花順)
DRAWGBKLAST(V>1,STRIP(RGB(68,14,98),RGBVara:=INDEXO;
Varb:=INDEXC;
Varc:=INDEXH;
Vard:=INDEXL;
STICKLINE(Varb=Vara,Varc,Vard,0.9,1),colorred,LINETHICK3;
STICKLINE(Varb=Vara,Vara,Varb,7,1),colorred,LINETHICK3;
STICKLINE(Varb>Vara,Vara,Varb,7,1),colorred,LINETHICK3;
STICKLINE(Varb<Vara,Vara,Varb,7,0),colorcyan,LINETHICK3;
STICKLINE(Varb>Vara,Varb,Varc,0.9,1),colorred,LINETHICK3;
STICKLINE(Varb>Vara,Vara,Vard,0.9,1),colorred,LINETHICK3;
STICKLINE(Vara>Varb,Varb,Vard,0.9,1),colorcyan,LINETHICK3;
MA(INDEXC,5),PRECIS2,colorwhite;
●三線判勢(副圖——可用于同花順)
MA64:MA(C,64),color99FFcc,LINETHICK1; MA32:MA(C,32),colorFFFF33,LINETHICK1;
STICKLINE(MA32>MA64,MA32,MA64,1,1),RGB(211,17,88),LINETHICK7;
STICKLINE(MA32<MA64,MA32,MA64,1,1),RGB(41,110,196),LINETHICK7;
保守線:HHV(FORCAST(C,10),5),coloryellow,LINETHICK2;
紫線出現(xiàn)就減倉:HHV(FORCAST(C,10),3),colorff00ff,LINETHICK3;
三線合一建倉線:FORCAST(C,10),colorwhite,LINETHICK2;
FILLRGN(紫線出現(xiàn)就減倉,三線合一建倉線,紫線出現(xiàn)就減倉>三線合一建倉線,RGB(96,147,210),紫線出現(xiàn)就減倉<三線合一建倉線,RGB(96,147,210));
FILLRGN(保守線,紫線出現(xiàn)就減倉,保守線>紫線出現(xiàn)就減倉,RGB(16,160,16),保守線<紫線出現(xiàn)就減倉,RGB(16,160,16));
●長短線戰(zhàn)法(副圖——可用于同花順)
A1:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,10))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,10))*100;
A2:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,22))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,22))*100;
A3:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,44))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,44))*100;
A4:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,88))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,88))*100;
A5:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,176))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,176))*100;
A6:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,352))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,352))*100;
A7:=(EMA(AMOUNT,5)-EMA(AMOUNT,10))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,10))*10;
A8:=(EMA(AMOUNT,5)-EMA(AMOUNT,22))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,22))*10;
A9:=(EMA(AMOUNT,5)-EMA(AMOUNT,44))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,44))*10;
A10:=(EMA(AMOUNT,5)-EMA(AMOUNT,88))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,88))*10;
A11:=(EMA(AMOUNT,5)-EMA(AMOUNT,176))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,176))*10;
A11:=(EMA(AMOUNT,5)-EMA(AMOUNT,352))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,352))*10;
B1:=A1+A2+A3+A4+A5+A6+A7+A8+A9+A10+A11;
B2:=EMA(B1,5);
B3:=EMA(B1,30);
PARTLINE(B1,B1>REF(B1,1),RGB(255,0,255),B1<=REF(B1,1),RGB(0,255,0)),LINETHICK3;
PARTLINE(B2,b2>REF(B2,1),RGB(255,0,0),B2<=REF(B2,1),RGB(0,255,0)),LINETHICK3;
PARTLINE(B3,B3>REF(B3,1),RGB(255,0,0),B3<=REF(B3,1),RGB(0,255,0)),LINETHICK5;
●地煞星(副圖——可用于同花順)
量:=(EMA(IF(C>=REF(C,2),V,(-V)),60)/MA(V,60))*100;
量1:= EMA(量,3);
量2:= EMA(量,5);
量3:= EMA(量,8);
強:STICKLINE(量2>=量3,量1,量3,1,0),COLOR0044FF,LINETHICK2;
STICKLINE(量2>=量3,量1,量3,0,0),COLOR00CCFF,LINETHICK2;
STICKLINE(量2>=量3,量2,量3,8,0),COLOR0044FF,LINETHICK2;
STICKLINE(量2>=量3,量2,量3,7,0),COLOR0066FF,LINETHICK2;
STICKLINE(量2>=量3,量2,量3,6,0),COLOR0077FF,LINETHICK2;
STICKLINE(量2>=量3,量2,量3,5,0),COLOR0088FF,LINETHICK2;
STICKLINE(量2>=量3,量2,量3,4,0),COLOR0099FF,LINETHICK2;
STICKLINE(量2>=量3,量2,量3,3,0),COLOR00AAFF,LINETHICK2;
STICKLINE(量2>=量3,量2,量3,2,0),COLOR00BBFF,LINETHICK2;
STICKLINE(量2>=量3,量2,量3,1,0),COLOR00CCFF,LINETHICK2;
弱:STICKLINE(量2<=量3,量1,量3,1,0),COLORFF4400,LINETHICK2;
STICKLINE(量2<=量3,量1,量3,0,0),COLORFFCC00,LINETHICK2;
STICKLINE(量2<=量3,量2,量3,8,0),COLORFF4400,LINETHICK2;
STICKLINE(量2<=量3,量2,量3,7,0),COLORFF6600,LINETHICK2;
STICKLINE(量2<=量3,量2,量3,6,0),COLORFF7700,LINETHICK2;
STICKLINE(量2<=量3,量2,量3,5,0),COLORFF8800,LINETHICK2;
STICKLINE(量2<=量3,量2,量3,4,0),COLORFF9900,LINETHICK2;
STICKLINE(量2<=量3,量2,量3,3,0),COLORFFAA00,LINETHICK2;
STICKLINE(量2<=量3,量2,量3,2,0),COLORFFBB00,LINETHICK2;
STICKLINE(量2<=量3,量2,量3,1,0),COLORFFCC00,LINETHICK2;
T1:=量2>=量3 AND 量<REF(量,1);
T2:=量2<量3 AND 量>REF(量,1);
強轉(zhuǎn)弱:STICKLINE(T1,量1,量3,1,0),COLORA0A0C0,LINETHICK2;
STICKLINE(T1,量1,量3,0,0),COLORDDDDFD,LINETHICK2;
STICKLINE(T1,量2,量3,8,0),COLORA0A0C0,LINETHICK2;
STICKLINE(T1,量2,量3,7,0),COLORAAAACA,LINETHICK2;
STICKLINE(T1,量2,量3,6,0),COLORB0B0D0,LINETHICK2;
STICKLINE(T1,量2,量3,5,0),COLORBBBBDB,LINETHICK2;
STICKLINE(T1,量2,量3,4,0),COLORC0C0E0,LINETHICK2;
STICKLINE(T1,量2,量3,3,0),COLORCCCCEC,LINETHICK2;
STICKLINE(T1,量2,量3,2,0),COLORD0D0F0,LINETHICK2;
STICKLINE(T1,量2,量3,1,0),COLORDDDDFD,LINETHICK2;
弱轉(zhuǎn)強:STICKLINE(T2,量1,量3,1,0),COLOR338FDD,LINETHICK2;
STICKLINE(T2,量1,量3,0,0),COLOR33FFDD,LINETHICK2;
STICKLINE(T2,量2,量3,8,0),COLOR338FDD,LINETHICK2;
STICKLINE(T2,量2,量3,7,0),COLOR339FDD,LINETHICK2;
STICKLINE(T2,量2,量3,6,0),COLOR33AFDD,LINETHICK2;
STICKLINE(T2,量2,量3,5,0),COLOR33BFDD,LINETHICK2;
STICKLINE(T2,量2,量3,4,0),COLOR33CFDD,LINETHICK2;
STICKLINE(T2,量2,量3,3,0),COLOR33DFDD,LINETHICK2;
STICKLINE(T2,量2,量3,2,0),COLOR33EFDD,LINETHICK2;
STICKLINE(T2,量2,量3,1,0),COLOR33FFDD,LINETHICK2;
量,colorwhite;
EMA(量,13),coloryellow;
T3:=EMA(量,21),colormagenta;
STICKLINE(T3>=REF(T3,1),T3,T3,8,0),colorred,LINETHICK2;
STICKLINE(T3<REF(T3,1),T3,T3,8,0),colorgreen,LINETHICK2;
●行情一線牽(副圖——可用于同花順)
DRAWGBKLAST(V>1,STRIP(RGB(68,14,98),RGB(0,0,0),1));
amv0:=VOL*(O+C+H+L)/4;
勢:EMA(amv0,16)/EMA(VOL,16),colorff66cc,LINETHICK3;
壓:6*HHV(勢,2)-5*勢,coloryellow,LINETHICK2;
托:2*勢-壓,LINETHICK2,colorwhite;
FILLRGN(勢,托,勢>托,RGB(96,147,210),勢<托,RGB(96,147,210));
FILLRGN(壓,勢,壓>勢,RGB(16,160,16),壓<勢,RGB(16,160,16));
STICKLINE(CLOSE>勢,OPEN,CLOSE,6,1), color3300ff,LINETHICK3;
STICKLINE(CLOSE=勢,OPEN,CLOSE,6,1), color3300ff,LINETHICK3;
STICKLINE(CLOSE>勢,LOW,OPEN,0.8,1), color3300ff,LINETHICK3;
STICKLINE(CLOSE=勢,LOW,OPEN,0.8,1), color3300ff,LINETHICK3;
STICKLINE(CLOSE>勢,CLOSE,HIGH,0.8,1),color3300ff,LINETHICK3;
STICKLINE(CLOSE=勢,CLOSE,HIGH,0.8,1),color3300ff,LINETHICK3;
●操盤要點(副圖——可用于同花順)
中線:50,colorwhite,LINETHICK1;
RSV:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
K:SMA(RSV,24,1),colorFF33CC,LINETHICK2;
D:SMA(K,12,1),colorgreen,LINETHICk2;
Var4:=IF(CROSS(K,D),20,10);
Var5:=IF(CROSS(D,K),80,90);
賣出:Var5,colorff9999;
買進:Var4,colorff33cc;
FILLRGN(K,D,K>D,RGB(211,17,88),K<D,RGB(41,110,196));
V8:=600*(EMA(C,3)-EMA(L,30))/EMA(L,30);
V9:=EMA(V8,7);
VA:=(WINNER(120*C/100)-WINNER(100*C/100))*100;
VB:=(-100)*(WINNER(120*C/100)-WINNER(100*C/100))+5;
VC:=(2*C+H+L)/4;
VD:=LLV(L,34);
VE:=HHV(H,34);
VF:=LLV(L,21);
V10:=HHV(H,21);
V11:=EMA((VC-VF)/(V10-VD)*100,5);
V12:=EMA((VC-VD)/(VE-VD)*100,8);
頂區(qū):V12,coloryellow,LINETHICK1;
STICKLINE(V11-V12+20>=20 ,V11-V12+20 ,20 ,5 ,0 ),COLORF000FF;
V13:=EMA(V12,5);
STICKLINE(V12>0 AND (V12-V13)>=0 ,80 ,78 ,6 ,0 ),colorred;
STICKLINE(V12>0 AND (V12-V13)<0 ,80 ,78 ,6 ,1 ),colorblue;
STICKLINE(V12>0 AND (V12-V13)>=0 ,20 ,18 ,6 ,0 ),colorred;
STICKLINE(V12>0 AND (V12-V13)<0 ,20 ,18 ,6 ,1 ),colorblue;
STICKLINE(V12>V13 , V12,V13,15 ,1 ),colorred,LINETHICK4;