{粉K線} STICKLINE(CROSS(C,(HHV((H+L)/2,120))),O,C,12,1),COLOR33DDDD; {歷史新高:}STICKLINE(HHV(CLOSE,0)=CLOSE,O,C,10,0),COLORYELLOW; STICKLINE(C>=O,CLOSE,OPEN,8,0),COLORRED; STICKLINE(C>=O,CLOSE,OPEN,7,0),COLORRED; STICKLINE(C>=O,CLOSE,OPEN,6,0),COLOR0000BB; STICKLINE(C>=O,CLOSE,OPEN,5,0),COLOR0000CC; STICKLINE(C>=O,CLOSE,OPEN,4,0),COLOR0000DD; STICKLINE(C>=O,CLOSE,OPEN,3,0),COLOR0000EE; STICKLINE(C>=O,CLOSE,OPEN,2,0),COLOR0000FF; STICKLINE(C>=O,LOW,HIGH,1,0),COLORRED; 無(wú)敵精靈 空方:=(EMA(CLOSE,24)-EMA(CLOSE,4))/2*0.95; 0;多方:=(EMA(CLOSE,4)-EMA(CLOSE,24))/2*0.95; 多頭:多方,COLORYELLOW; 空頭:空方,,COLORFFFF00; 引路精靈:(多方-空方),COLORRED,LINETHICK2; STICKLINE(多方>空方 ,0,多方 ,0.8 , 1),COLOREEAAFE; STICKLINE(空方>多方 ,0,空方 ,0.8 , 1),COLORFFFF00; STICKLINE(多方>空方 ,0 ,空方 ,0.8 , 1),COLOREEAAFE; STICKLINE(空方>多方,0 ,多方 ,0.8 , 1),COLORFFFF00; DRAWICON(CROSS(引路精靈 ,0 ) ,引路精靈+0.3,1 ); 買(mǎi)賣(mài)航標(biāo) VAR1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100; 操盤(pán)線:SMA(VAR1,5,1),LINETHICK2,COLORRED; 趨勢(shì)線:SMA(操盤(pán)線,3,1),LINETHICK2,COLORYELLOW; 買(mǎi)入航標(biāo):IF(CROSS(操盤(pán)線,趨勢(shì)線) AND 趨勢(shì)線<25,50,0) ,LINETHICK2,COLORRED; DRAWTEXT(買(mǎi)入航標(biāo)>0,50,'買(mǎi)入'),LINETHICK1,COLORRED; 賣(mài)出時(shí)間:IF(CROSS(趨勢(shì)線,操盤(pán)線)AND 操盤(pán)線>70,80,100),COLORGREEN; DRAWTEXT(賣(mài)出時(shí)間<100,80,'賣(mài)出'),LINETHICK1,COLOR00FF00; 傳統(tǒng)MACD指標(biāo) 0,color999999; DIFF := EMA(CLOSE,21) - EMA(CLOSE,34); DEA :=EMA(DIFF,13); STICKLINE(DIFF>=DEA ,DIFF ,DEA, 8,0 ),Color9797D1; STICKLINE(DIFF<dea ,diff="" ,dea,="" 8,0="" ),colorgray; DIFF2 := EMA(C,12)-EMA(C,26),LINETHICK0,COLORRED; DEA2 := EMA(DIFF2,9),LINETHICK0,COLORYELLOW; MACD2 := 2*(DIFF2-DEA2),LINETHICK0; STICKLINE(MACD2<ref(macd2,1) and="" macd2<0,0,macd2,2,0),colorffcf78; STICKLINE(MACD20,0,MACD2,2,0),COLORYELLOW; STICKLINE(MACD2>ref(MACD2,1) and MACD2<0,0,MACD2,2,0),COLORf00ff0; STICKLINE(MACD2>ref(MACD2,1) and MACD2>0,0,MACD2,2,0),COLORRED; D1:=EMA(C,3)-EMA(C,8); D2:=EMA(O,3)-EMA(O,8); D3:=EMA(H,3)-EMA(H,8); D4:=EMA(L,3)-EMA(L,8); STICKLINE(D1>=D2,D3,D4,1,0),COLOR00CCFF; STICKLINE(D1>=D2,D1,D2,8,0),COLOR0066FF; STICKLINE(D1>=D2,D1,D2,6,0),COLOR0077FF; STICKLINE(D1<=D2,D1,D2,5,0),COLOR0088FF; STICKLINE(D1>=D2,D1,D2,4,0),COLOR0099FF; STICKLINE(D1>=D2,D1,D2,3,0),COLOR00AAFF; STICKLINE(D1>=D2,D1,D2,2,0),COLOR00BBFF; STICKLINE(D1>=D2,D1,D2,1,0),COLOR00CCff; STICKLINE(D1<=D2,D3,D4,0,0),COLOR00AA00; STICKLINE(D1<=D2,D1,D2,5,0),COLOR00BB00; STICKLINE(D1<=D2,D1,D2,4,0),COLOR00CC00; STICKLINE(D1<=D2,D1,D2,3,0),COLOR00DD00; STICKLINE(D1<=D2,D1,D2,2,0),COLOR00EE00; STICKLINE(D1<=D2,D1,D2,1,0),COLOR00FF00; 天風(fēng)地火 {天風(fēng)地火 N:1 100 3 M:1 100 30} VAR0:=(3*CLOSE+LOW+OPEN+HIGH)/6; 多頭線: (20*VAR0+19*REF(VAR0,1)+18*REF(VAR0,2)+17*REF(VAR0,3)+16*REF(VAR0,4)+15*REF(VAR0,5)+14*REF(VAR0,6)+13*REF(VAR0,7)+12*REF(VAR0,8)+11*REF(VAR0,9)+10*REF(VAR0,10)+9*REF(VAR0,11)+8*REF(VAR0,12)+7*REF(VAR0,13)+6*REF(VAR0,14)+5*REF(VAR0,15)+4*REF(VAR0,16)+3*REF(VAR0,17)+2*REF(VAR0,18)+REF(VAR0,20))/210, CIRCLEDOT,COLORRED,LINETHICK2; 空頭線: MA(多頭線,10), CIRCLEDOT,COLORGREEN,LINETHICK2; STICKLINE(多頭線>空頭線,多頭線,空頭線,10,10),COLORRED; STICKLINE(多頭線<空頭線,多頭線,空頭線,10,10), COLORGREEN; STICKLINE(C>O,O,C,7,0),COLORRED; STICKLINE(C>O,O,C,4,0),COLORB0B0FF; STICKLINE(C>O,O,C,2,0),COLORYELLOW; STICKLINE(C>O,L,H,0.1,0),COLORYELLOW; STICKLINE(C< O,O,C,7,0),COLORFF2020; STICKLINE(C< O,O,C,4,0),COLORFF6600; STICKLINE(C< O,O,C,2,0),COLORFFCC66; STICKLINE(C< O,L,H,0.1,0),COLORFFCC66; STICKLINE(C=O AND C>=REF(C,1),O,C,7,0),COLORRED; STICKLINE(C=O AND C>=REF(C,1),O,C,4,0),COLORB0B0FF; STICKLINE(C=O AND C>=REF(C,1),O,C,2,0),COLORYELLOW; STICKLINE(C=O AND C>=REF(C,1),L,H,0.1,0),COLORYELLOW; STICKLINE(C=O AND C< REF(C,1),O,C,7,0),COLORFF2020; STICKLINE(C=O AND C< REF(C,1),O,C,4,0),COLORFF6600; STICKLINE(C=O AND C< REF(C,1),O,C,2,0),COLORFFCC66; STICKLINE(C=O AND C< REF(C,1),L,H,0.1,0),COLORFFCC66; VAR1:=(CLOSE*1.1)-(CLOSE*0.9)*80 無(wú)影手 A1:EMA((EMA(CLOSE,1)+EMA(CLOSE,3)+EMA(CLOSE,5))/3,3),COLORRED; A2:EMA((EMA(CLOSE,3)+EMA(CLOSE,5)+EMA( CLOSE,7))/3,3),COLORRED; A3:EMA((EMA(CLOSE,5)+EMA(CLOSE,7)+EMA( CLOSE,9))/3,3),COLORRED; A4:EMA((EMA(CLOSE,7)+EMA(CLOSE,9)+EMA( CLOSE,11))/3,3),COLORRED; A5:EMA((EMA(CLOSE,9)+EMA(CLOSE,11)+EMA( CLOSE,13))/3,3),COLORRED; A6:EMA((EMA(CLOSE,11)+EMA(CLOSE,13)+EMA( CLOSE,15))/3,3),COLORRED; A7:EMA((EMA(CLOSE,13)+EMA(CLOSE,15)+EMA( CLOSE,17))/3,3),COLORRED; A8:EMA((EMA(CLOSE,15)+EMA(CLOSE,17)+EMA( CLOSE,19))/3,3),COLORRED; A9:EMA((EMA(CLOSE,17)+EMA(CLOSE,19)+EMA( CLOSE,21))/3,3),COLORYELLOW; A10:EMA((EMA(CLOSE,19)+EMA(CLOSE,21)+EMA( CLOSE,23))/3,3),COLORYELLOW; A11:EMA((EMA(CLOSE,21)+EMA(CLOSE,23)+EMA( CLOSE,25))/3,3),COLORYELLOW; A:=EMA((EMA(CLOSE,29)+EMA(CLOSE,31)+EMA(CLOSE,33))/3,3),COLORYELLOW; B:=REF(A,1); DRAWTEXT(A>B,(A+B)/2,'★'), COLORFF00FF; DRAWTEXT(A<=B,(A+B)/2,'☆'), COLORGREEN; {STICKLINE(A>B,A,B,8,0),COLORFF00FF; STICKLINE(A<=B,A,B,8,1),COLORFF0000;} A15:A-(A1-A*0.997),COLORFF1010; A16:A-(A2-A),COLORFF2010; A17:A-(A3-A),COLORFF3010; A18:A-(A4-A),COLORFF4010; A19:A-(A5-A),COLORFF5010; A20:A-(A6-A),COLORFF6010; A21:A-(A7-A),COLORFF7010; A22:A-(A8-A),COLORFF8010; A23:A-(A9-A),COLORFF9010; A24:A-(A10-A),COLORFFC010; A25:A-(A11-A*0.997),COLORFFE010; STICKLINE(OPEN>=CLOSE ,O,C,9,0 ),COLORAAAAAA; STICKLINE(OPEN>=CLOSE ,O,C,6,0 ),COLORBBBBBB; STICKLINE(OPEN>=CLOSE ,O,C,2.4,0 ),COLORCCCCCC; STICKLINE(OPEN>=CLOSE ,O,C,1.1,0 ),COLORDDDDDD; STICKLINE(CLOSE>OPEN,O,C,9,0 ),COLOR6666CC; STICKLINE(CLOSE>OPEN,O,C,6 ,0 ),COLOR7777DD; STICKLINE(CLOSE>OPEN,O,C,2.4 ,0 ),COLOR8888EE; STICKLINE(CLOSE>OPEN,O,C,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; VAR31:=(ZIG(3, 19)>REF(ZIG(3,19),1) AND REF(ZIG(3,19), 1)<ref(zig(3,19), 2)); STICKLINE(VAR31=2,L*0.95,L*0.98,8,0),COLOR0000FF; DRAWTEXT(VAR31=2,L*0.95,'3天'),COLORYELLOW; STICKLINE(VAR31=4,H*1.05,H*1.02,8,0),COLOR9966FF; DRAWTEXT(VAR31=4,H*1.06,'5天'),COLORYELLOW; STICKLINE(VAR31=7,L*0.95,L*0.98,8,0),COLOR00FFFF; DRAWTEXT(VAR31=7,L*0.95,'8天'),COLORYELLOW; STICKLINE(VAR31=12,H*1.05,H*1.02,8,0),COLORFF33FF; DRAWTEXT(VAR31=12,H*1.06,'13天'),COLORYELLOW; STICKLINE(VAR31=20,L*0.95,L*0.98,8,0),COLOR0066FF; DRAWTEXT(VAR31=20,L*0.95,'21天'),COLORYELLOW; STICKLINE(VAR31=33,H*1.05,H*1.02,8,0),COLORFFFF00; DRAWTEXT(VAR31=33,H*1.06,'34天'),COLORYELLOW; STICKLINE(VAR31=54,L*0.95,L*0.98,8,0),COLOR006600; DRAWTEXT(VAR31=54,L*0.95,'55天'),COLORYELLOW; STICKLINE(VAR31=88,H*1.05,H*1.02,8,0),COLOR00FF00; DRAWTEXT(VAR31=88,H*1.06,'89天'),COLORYELLOW; STICKLINE(VAR31=143,L*0.95,L*0.98,8,0),COLORCCFFFF; DRAWTEXT(VAR31=143,L*0.95,'144天'),COLORYELLOW; STICKLINE(VAR31=232 ,H*1.05,H*1.02,8,0),COLORFF0033; DRAWTEXT(VAR31=232,H*1.06,'233天'),COLORYELLOW; STICKLINE(VAR31=376,L*0.95,L*0.98,8,0),COLORFF9966; DRAWTEXT(VAR31=376,L*0.95,'377天'),COLORYELLOW; 送個(gè)博易大師的自創(chuàng)指標(biāo), MA(C,4),LINETHICK0;MA(C,9),LINETHICK0;MA(C,18),COLORGREEN; DRAWTEXT(CROSS(MA(C,4),MA(C,9)) AND MA(C,4)>MA(C,18) AND MA(C,9)>MA(C,18),L*0.95,'多'); DRAWTEXT(CROSS(MA(C,9),MA(C,4)) AND MA(C,4)>MA(C,18) AND MA(C,9)>MA(C,18),H*1.05,'多平'); 進(jìn)入"分析" 進(jìn)入"指標(biāo)管理" 點(diǎn)"新建",把上面的復(fù)制進(jìn)去,起個(gè)名字 選"主圖疊加" 就可以了 {利多方舟}{符號(hào)^為"買(mǎi)”} VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(CLOSE*0.95),'^'),COLOR0000FF; DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'賣(mài)'),COLORFFFF34; 年:MA(CLOSE,30),COLORGREEN; STICKLINE(C>=年 AND C>=O,C,O,3,0),COLORRED; STICKLINE(C>=年 AND C>=O,H,L,0,0),COLORRED; STICKLINE(C>=年 AND C<o,c,o,3,1),colorred;< p=""> STICKLINE(C>=年 AND C<o,o,h,0,0),colorred;< p=""> STICKLINE(C>=年 AND C<o,c,l,0,0),colorred;< p=""> STICKLINE(C<年 AND C>O,C,O,3,1),COLORFFFF00; STICKLINE(C<年 AND C<=O,C,O,3,1),COLORFFFF00; STICKLINE(C<年 AND C<=O,H,L,0,1),COLORFFFF00; STICKLINE(C<年 AND C>O,C,H,0,1),COLORFFFF00; STICKLINE(C<年 AND C>O,O,L,0,1),COLORFFFF00; {變色MACD} DIFF:(EMA(CLOSE,12) - EMA(CLOSE,26))*20,COLORFFFFFF,LINETHICK1; DEA:EMA(DIFF,9),COLOR00FFFF,LINETHICK1; MACD:2*(DIFF-DEA), COLORSTICK; MACD1:2*(DIFF-DEA),COLORRED,LINETHICK0; MACD2:SMA(MACD1,0,3),COLORFFFF00,LINETHICK0; STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2,0),COLORRED; STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2,0),COLOR00FFFF; STICKLINE(MACD1<macd2,0,macd1,1,0),color40ff00;< p=""> S1:=MACD<0; S2:= (MACD>=0); S3:=BARSLAST(CROSS(DIFF,DEA)); S4:=REF(S3,S3+1); S5:=DEA>REF(DEA,S4); S6:=DEA; 上成立:=CROSS(DIFF,DEA) AND S5; 下成立:=CROSS(DIFF,DEA) AND S6; L1:=(EMA(CLOSE,3) - EMA(CLOSE,13)); L2:=EMA(L1,9); L3:=BARSLAST(CROSS(L1,L2)); L4:=REF(L3,L3+1); L5:=L2; 變盤(pán):CROSS(L1,L2) AND L5,LINETHICK0,COLORD6FF9C; STICKLINE(變盤(pán),5,-5,4,1),COLORD6FF9C; 成立距今:BARSLAST(CROSS(DIFF,DEA)),LINETHICK0; L6:=BARSCOUNT(CLOSE); DRAWTEXT(CROSS(L1,L2),DIFF,'買(mǎi)'),COLOR0000FF; DRAWTEXT(CROSS(L2,L1),DIFF,'賣(mài)'),COLORFFFF00; REF(DEA,S3),POINTDOT,COLORGREEN; IF(L1>L2,REF(DEA,S3),0),POINTDOT,LINETHICK5,COLORB078FF; IF(MACD<0,REF(DEA,S3),0),POINTDOT,LINETHICK5,COLORGREEN; LS:=IF(DIFF>DEA AND DIFF>0,1,0); 加速上揚(yáng):IF(REF(LS=0,1) AND LS=1,0.1,0); XG1:CROSS(MACD1,MACD2) AND MACD1<0,LINETHICK0; XG2:CROSS(DIFF,DEA),LINETHICK0; M1:=MACD>REF(MACD,1) AND DIFF<dea;< p=""> 綠柱短了:M1 AND COUNT(M1,10)=1 AND C>MA(C,55) AND COUNT(MACD<0,5)>=5,LINETHICK0; DRAWTEXT(綠柱短了,MACD,'綠柱短了'),COLOR00FF80; {漁家樂(lè)} 漁家:3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),LINETHICK2 , COLORYELLOW; 漁家樂(lè): IF(CROSS(漁家,MA(漁家,10)) AND 漁家<=10,35,0),LINETHICK3 , COLORMAGENTA; 漁家出海: IF(CROSS(漁家,MA(漁家,10)) AND 漁家<35,70,0),LINETHICK3 , COLORRED; 漁家網(wǎng): IF(CROSS(MA(漁家,9),漁家) AND 漁家>70,110,72),LINETHICK1 , COLORCYAN; DRAWICON(CROSS(漁家,62),68,1); DRAWICON(CROSS(漁家,72),70,1); DRAWICON(CROSS(漁家,66),72,1); DRAWICON(CROSS(漁家,68),66,1); DRAWICON(CROSS(76,漁家),70,2); DRAWICON(CROSS(68,漁家),84,2); DRAWICON(CROSS(66,漁家),80,2); DRAWICON(CROSS(64,漁家),70,2); 準(zhǔn)備下網(wǎng): IF(漁家<=10,30,0),STICK,COLOR8080FF,LINETHICK4; 此處下網(wǎng): IF(CROSS(漁家,10),45,0),STICK,COLORRED,LINETHICK4; DRAWTEXT(此處下網(wǎng),40,'關(guān)注!??!'),COLORYELLOW; 準(zhǔn)備休漁吧: IF(漁家>=90,70,0),STICK, COLORGREEN; 休漁吧: IF(CROSS(84,漁家),100,0),STICK,COLOR77AAFF,LINETHICK5; DRAWTEXT(休漁吧,98,'回家!'),COLOR77AAFF ; 水面: 72, COLORCYAN ; 網(wǎng)架: 105; 水底: 10; 漁家2: MA(漁家,9),LINETHICK2 ,COLORFF0000; IF(CROSS(漁家,MA(漁家,6)) AND 漁家2<45,漁家2,0),COLORCCB3E2 ,LINETHICK3 ; {仿DDX} VOL,VOLSTICK; VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 成交:VOL,VOLSTICK; 主買(mǎi):IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<open,var1*((high-open)+(close-low)),vol 2)),colorred,colorstick; 主賣(mài):IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<open,0-var1*(high-low),0-vol 2)),color00ff00,colorstick; 增倉(cāng)減倉(cāng): IF(主買(mǎi)>=(ABS(主賣(mài))),主買(mǎi)+主賣(mài),主賣(mài)+主買(mǎi)),COLORYELLOW,LINETHICK2; |
|