{利多方舟}{符號(hào)^為"買”} 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),'賣'),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 STICKLINE(C>=年 AND C STICKLINE(C>=年 AND C 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 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; 變盤:CROSS(L1,L2) AND L5,LINETHICK0,COLORD6FF9C; STICKLINE(變盤,5,-5,4,1),COLORD6FF9C; 成立距今:BARSLAST(CROSS(DIFF,DEA)),LINETHICK0; L6:=BARSCOUNT(CLOSE); DRAWTEXT(CROSS(L1,L2),DIFF,'買'),COLOR0000FF; DRAWTEXT(CROSS(L2,L1),DIFF,'賣'),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 綠柱短了:M1 AND COUNT(M1,10)=1 AND C>MA(C,55) AND COUNT(MACD<0,5)>=5,LINETHICK0; DRAWTEXT(綠柱短了,MACD,'綠柱短了'),COLOR00FF80; {漁家樂} 漁家: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; 漁家樂: 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; 主買:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE 主賣:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE 增倉減倉: IF(主買>=(ABS(主賣)),主買+主賣,主賣+主買),COLORYELLOW,LINETHICK2; 合并即漲 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) 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) 0,COLOR0000FF; 頂?shù)灼鏈?zhǔn)
買:=MA(CLOSE,1); 賣:=(LOW+HIGH+CLOSE)/3; 奇:= MA(賣,5); 準(zhǔn):= HHV(奇,10); 急賣奇準(zhǔn):IF(HHV((買<準(zhǔn)),5),50,10),COLORFF6699; STICKLINE(急賣奇準(zhǔn)=10,50,10,1,1),COLORFF6699; 短賣奇準(zhǔn):IF(HHV((買<準(zhǔn)),10),50,20),COLORGREEN; STICKLINE(短賣奇準(zhǔn)=20,50,20,1,0),COLORGREEN; TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5); HD:=(HIGH - REF(HIGH,1)); LD:=(REF(LOW,1) - LOW); DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) ); DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5); 神偷線:=(((DMP ) * 100) / TR); 輔助線:=((DMM * 100) / TR); XXX:=(MA(((ABS((輔助線 - 神偷線)) / (輔助線 + 神偷線)) * 100),3)); 奇準(zhǔn):= MA(賣,5); 買賣:=LLV(奇準(zhǔn),10); 底部關(guān)注:IF(((XXX > 88) AND (神偷線 < 5.8)),95,50),LINETHICK1,COLORYELLOW; STICKLINE(底部關(guān)注=95,50,95,1.5,0),COLORYELLOW,LINETHICK1; 急買奇準(zhǔn):IF(LLV((買<買賣),5),75,50),COLORRED,LINETHICK1; STICKLINE(急買奇準(zhǔn)=75,50,75,1.5,0),COLORRED,LINETHICK1; 短買奇準(zhǔn):IF(LLV((買<買賣),10),85,50),COLORred,LINETHICK1; STICKLINE(短買奇準(zhǔn)=85,50,85,1.5,0),COLORred,LINETHICK1; ADXR:=((XXX + REF(XXX,3)) / 2); VAR1:=MA(LOW,1); VAR2:=MA(HIGH,2); VAR3:=MA(CLOSE,2); VAR7:=REF(VAR3,1); 動(dòng)向趨勢線:XXX,LINETHICK2,COLORFFAA66; 一品操盤 {N:1,8,1;} WR:=ABS(100-100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))); IF(WR>0,WR,0),COLORYELLOW; 漲:CROSS(WR,50),POINTDOT,COLOR0000FF; 強(qiáng):CROSS(WR,80),POINTDOT,COLORYELLOW; 回:CROSS(80,WR) AND WR>50,POINTDOT,COLORWHITE; 險(xiǎn):=COUNT(WR>60,7)>=5 AND WR>90; 跑:=COUNT(WR>60,7)>=5 AND CROSS(80,WR); 慌:WR<=10 AND WR>0,POINTDOT,COLOR00FF00; 絕:WR=0,POINTDOT,COLORFF6600; 買:REF(WR,1)<10 AND C>REF(C,1) AND C>O,POINTDOT,COLORWHITE; 攻:WR>=90 AND WR<100 OR (H=HHV(H,5) AND H/REF(C,1)>=1.05),POINTDOT,COLORFF00FF; 停:WR=100,POINTDOT,COLORRED; 優(yōu)選:IF((漲 AND COUNT(WR<=10,6) AND REF(WR,1)>10)*100,100,50),COLORFF6666,LINETHICK2; FLSZ:=V*N>REF(V,1) AND C>REF(C,1) AND C>O; 助漲:(漲 OR 強(qiáng)) AND FLSZ,POINTDOT,COLORFF00FF; DRAWICON(優(yōu)選=100,50,1); {以下設(shè)置副圖顯示方式} STICKLINE(WR>=50,50,WR,1,0),COLORWHITE; STICKLINE(WR>=90 AND WR<100,100,95,4,0),COLORWHITE; STICKLINE(WR=100,100,95,4,0),COLORFF00FF; STICKLINE(WR<=10 AND WR>0,0,5,4,0),COLORWHITE; STICKLINE(WR=0,0,5,4,0),COLORFF6600; DRAWTEXT(漲,60,'漲'),COLOR0000FF; DRAWTEXT(助漲,25,'▲'),COLORFF00FF; DRAWTEXT(助漲,20,'‖'),COLORFF00FF; DRAWTEXT(強(qiáng),70,'強(qiáng)'),COLORYELLOW; DRAWTEXT(回,50,'回'),COLORWHITE; DRAWTEXT(險(xiǎn),100,'●'),COLOR0000FF; DRAWTEXT(跑,100,'跑'),COLORFFFF00; DRAWTEXT(慌,20,'慌'),COLOR00FF00; DRAWTEXT(絕,20,'絕'),COLORWHITE; DRAWTEXT(買,50,'買'),COLORWHITE; DRAWTEXT(攻,50,'攻'),COLORFF00FF; DRAWTEXT(停,85,'停'),COLOR0000FF; 50,COLORFFFF00,LINETHICK2; 10,COLOR00FF00; 90,COLOR00FF00; {★底部提示:副} Var2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; Var3:=SMA(SMA(Var2,3,1),3,1)/28.57; Var4:=EMA(Var3,5); Var5:=3*Var3-2*Var4; AA:=CROSS(Var5,Var3) AND Var3<2.1 and c>o; Var6:=(2*CLOSE+HIGH+LOW)/4; Var7:=LLV(LOW,13); Var8:=HHV(HIGH,13); Var9:=EMA((Var6-Var7)/(Var8-Var7)*100,13); VarA:=EMA(0.667*REF(Var9,1)+0.333*Var9,2); 多:Var9,COLORRED,POINTDOT; 空:EMA(0.382*REF(Var9,2)+0.618*Var9,12),COLORgreen; STICKLINE(Var9>VarA,Var9,VarA,6,0),COLORred; STICKLINE(Var9<=VarA,Var9,VarA,6,0),COLORFFCC66; STICKLINE(AA,0,30,40,1),coloryellow; STICKLINE(AA,16,29,38,0),colorred; STICKLINE(AA,1,14,38,0),colorred; 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; DRAWTEXT(AA,85,'底'),coloryellow; 合并即漲 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) 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) 0,COLOR0000FF; 頂?shù)灼鏈?zhǔn)
買:=MA(CLOSE,1); 賣:=(LOW+HIGH+CLOSE)/3; 奇:= MA(賣,5); 準(zhǔn):= HHV(奇,10); 急賣奇準(zhǔn):IF(HHV((買<準(zhǔn)),5),50,10),COLORFF6699; STICKLINE(急賣奇準(zhǔn)=10,50,10,1,1),COLORFF6699; 短賣奇準(zhǔn):IF(HHV((買<準(zhǔn)),10),50,20),COLORGREEN; STICKLINE(短賣奇準(zhǔn)=20,50,20,1,0),COLORGREEN; TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5); HD:=(HIGH - REF(HIGH,1)); LD:=(REF(LOW,1) - LOW); DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) ); DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5); 神偷線:=(((DMP ) * 100) / TR); 輔助線:=((DMM * 100) / TR); XXX:=(MA(((ABS((輔助線 - 神偷線)) / (輔助線 + 神偷線)) * 100),3)); 奇準(zhǔn):= MA(賣,5); 買賣:=LLV(奇準(zhǔn),10); 底部關(guān)注:IF(((XXX > 88) AND (神偷線 < 5.8)),95,50),LINETHICK1,COLORYELLOW; STICKLINE(底部關(guān)注=95,50,95,1.5,0),COLORYELLOW,LINETHICK1; 急買奇準(zhǔn):IF(LLV((買<買賣),5),75,50),COLORRED,LINETHICK1; STICKLINE(急買奇準(zhǔn)=75,50,75,1.5,0),COLORRED,LINETHICK1; 短買奇準(zhǔn):IF(LLV((買<買賣),10),85,50),COLORred,LINETHICK1; |