【同花順】趨勢頂?shù)捉鸩嬷笜斯?/span>
攻城獅 2015.11.08 00:12
龍值:100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8)),DOTLINE,LineThick1;
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,colorcyan,LINETHICK2;
短期線:B+100,colormagenta;
中期線:D+100,coloryellow,LINETHICK2;
變速率:(中期線-長期線),COLORSTICK;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:3*K-2*D,colorwhite;
VARC:=(2*C+H+L)/4;
VARE:=LLV(L,26);
VAR11:=HHV(H,34);
VAR12:=EMA((VARC-VARE)/(VAR11-VARE)*100,16);
VAR13:=EMA(VAR12,4);
壓力線:IF(35+EMA(VAR13,80)<100,35+EMA(VAR13,80),100),ColorD98719,LineThick2;
中短50買:中期線>=短期線+50;
DRAWICON(中短50買,-5,1);
DRAWTEXT(中短50買,-10,’五買’),coloryellow;
中短50買長:(中短50買 AND 中期線>=長期線);
DRAWICON(中短50買長,110,7);
DRAWTEXT(中短50買長,115,’五長’),coloryellow;
中短50賣:短期線>=中期線+50;
DRAWICON(中短50賣,110,5);
DRAWTEXT(中短50賣,115,’五賣’),coloryellow;
多:SUM(IF(變速率>0,變速率*1.003,變速率*1.003>0),34)/34,colormagenta;
空:SUM(IF(變速率<=0,變速率*0.97,變速率*0.97<0),34)/34,colorgreen;
見頂:=((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,colorgreen;
頂部:=FILTER(頂部區(qū)域,4);
STICKLINE(頂部,99,103,20,1 ),colorred,LINETHICK2;
底部區(qū)域:(長期線<12 AND 中期線<8 AND (短期線<7.2 OR REF(短期線,1)<5) AND (中期線>REF(中期線,1) OR 短期線>REF(短期線,1)))
OR (長期線<8 AND 中期線<7 AND 短期線<15 AND 短期線>REF(短期線,1)) OR (長期線<10 AND 中期線<7 AND 短期線<1) ,colorgreen;
STICKLINE( 底部區(qū)域,-4,0,22,0 ),colorgreen;
低位金叉:50*(長期線<15 AND REF(長期線,1)<15 AND 中期線<18 AND 短期線>REF(短期線,1) AND CROSS(短期線,長期線) AND 短期線>中期線
AND (REF(短期線,1)<5 OR REF(短期線,2)<5 ) AND (中期線>=長期線 OR REF( 短期線,1)<1 )),colorred;
STICKLINE( 低位金叉,0,5,11,0 ),colorred;
短買:CROSS(短期線,中期線);
短買長:短買 AND 中期線>=長期線;
STICKLINE(短買長,105,110,8,0 ),ColorD98719;
短60買:短期線<=REF(短期線,1)-60;
DRAWICON(短60買,80,3);
DRAWTEXT(短60買,75,’六買’),coloryellow;
短60買長:短60買 AND 中期線>=長期線;
DRAWICON(短60買長,88,1);
DRAWTEXT(短60買長,93,’六長’),coloryellow;
短60賣:短期線>=REF(短期線,1)+60;
DRAWICON(短60賣,96,2);
DRAWTEXT(短60賣,90,’六賣’),coloryellow;
STICKLINE(CROSS(中期線,長期線),95,103,8,0 ),colorcyan;
STICKLINE(CROSS(長期線,中期線),95,103,8,0 ),coloryellow;
STICKLINE(CROSS(中期線,壓力線),95,103,8,0 ),colorred;
MACD2:=變速率;
DIF:=中期線;
DEA:=長期線;
STICKLINE(MACD2>=0 AND MACD2>REF(MACD2,1),0,MACD2,8,1),colorblue;
STICKLINE(MACD2>=0 AND MACD2 STICKLINE(MACD2<0 AND MACD2 STICKLINE(MACD2<0 AND MACD2>REF(MACD2,1),0,MACD2,8,1),colormagenta;
建倉:IF(DIF<0,DIF,0),coloryellow,LINETHICK2;
加倉:IF(DIF<0,0,DIF),colormagenta,LINETHICK2;
白線破倉:IF(DIF趨勢強弱:IF(DIF>DEA,DEA,DEA),Color32CD99,LINETHICK2;
TJ:=MACD2>0;T:=MACD2<0;
DRAWTEXT(BARSLAST(TJ)=1,MACD2,’1′),coloryellow;
DRAWTEXT(BARSLAST(TJ)=2,MACD2,’2′),coloryellow;
DRAWTEXT(BARSLAST(TJ)=3,MACD2,’3′),coloryellow;
DRAWTEXT(BARSLAST(TJ)=5,MACD2,’5′),coloryellow;
DRAWTEXT(BARSLAST(TJ)=8,MACD2,’8′),coloryellow;
DRAWTEXT(BARSLAST(TJ)=13,MACD2,’13’),coloryellow;
DRAWTEXT(BARSLAST(TJ)=21,MACD2,’21’),coloryellow;
DRAWTEXT(BARSLAST(TJ)=34,MACD2,’34’),coloryellow;
DRAWTEXT(BARSLAST(TJ)=55,MACD2,’55’),coloryellow;
DRAWTEXT(BARSLAST(T)=1,MACD2,’1′),colorgreen;
DRAWTEXT(BARSLAST(T)=2,MACD2,’2′),colorgreen;
DRAWTEXT(BARSLAST(T)=3,MACD2,’3′),colorgreen;
DRAWTEXT(BARSLAST(T)=5,MACD2,’5′),colorgreen;
DRAWTEXT(BARSLAST(T)=8,MACD2,’8′),colorgreen;
DRAWTEXT(BARSLAST(T)=13,MACD2,’13’),colorgreen;
DRAWTEXT(BARSLAST(T)=21,MACD2,’21’),colorgreen;
DRAWTEXT(BARSLAST(T)=34,MACD2,’34’),colorgreen;
DRAWTEXT(BARSLAST(T)=55,MACD2,’55’),colorgreen;
申明:本文為作者投稿或轉載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。