買(mǎi)點(diǎn)指標:
VAR1:="DMI.PDI"(12,6);
VAR2:="DMI.MDI"(12,6);
VAR3:=VAR1>65 AND VAR1>REF(VAR1,1);
VAR4:=LLV(VAR1,0);VAR5:=BARSLAST(VAR4=VAR1);VAR6:=(0-REF(VAR2,4))/(VAR4-REF(VAR2,VAR5))>2;
VAR7:=VAR1>REF(VAR1,1);VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(12,6);VARA:="DMI.ADXR"(12,6);VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));VARE:=0-"MACD.DIFF"(7,21,3);VARF:=TROUGHBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
VAR12:=CROSS(VAR2,VAR1) AND CROSS(VARA,VAR9);
VAR13:=CROSS(VAR2,VAR1) AND CROSS(VAR9,VARA);
VAR14:=VARB AND VARC AND VARD AND VAR10 AND VAR6 AND VAR7 AND VAR8*50;
VAR15:=BARSLAST(CROSS(VAR2,VAR1)=1);
VAR16:=BARSLAST(CROSS(VAR1,VAR2)=1);
VAR17:=HHV(VAR1,VAR16);
VAR18:=BARSLAST(VAR1=VAR17);
DK:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
0,COLORRED;
STICKLINE(FILTER(VARF=1,5) AND DK<-10,50,0,30,0),COLORRED;
STICKLINE(FILTER(VARF=1,5),50,0,10,0),COLORRED;VAR19:=VAR3 OR VAR12 OR VAR13*100;VAR1A:=VAR13*100;
DRAWICON(FILTER(VARF=1,3),50,1); DRAWTEXT(FILTER(VARF=1,3),25,'LDJJ'),COLORYELLOW;
STICKLINE(DK<-10,0,DK,1,0),COLORyellow;STICKLINE(DK>10,0,DK,1,0),COLORyellow;
if(FILTER((TROUGHBARS(3,15,1)<4)=1,3),10,0);
看我實(shí)力:
Var1:=1/WINNER(CLOSE); Var2:=MA(CLOSE,13); Var3:=100-ABS((CLOSE-Var2)/ Var2*100); Var4:=LLV(LOW,75); Var5:=HHV(HIGH,75); Var6:=(Var5-Var4)/100; Var7:=SMA((CLOSE-Var4)/ Var6,20,1); Var8:=SMA((OPEN-Var4)/ Var6,20,1); Var9:=3*Var7-2*SMA(Var7,15,1); VarA:=3*Var8-2*SMA(Var8,15,1); VarB:=100-VarA; VarC:=IF(900101<DATE AND DATE<99991230,1,0); 看(我)實(shí)力: (100-Var9)*VarC{000B0001}; 散戶(hù)區: MA(WINNER(CLOSE*0.95)*100,3)*VarC,COLORYELLOW; 新莊區: (100-IF(Var1>5,IF(Var1<100,Var1,Var3-10),0))*VarC, COLORGREEN; VarD:=散戶(hù)區>Var3; VarE:=REF(LOW,1)*0.9; VarF:=LOW*0.9; Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL; Var11:=EMA(Var10,30); Var12:=CLOSE-REF(CLOSE,1); Var13:=MAX(Var12,0); Var14:=ABS(Var12); Var15:=SMA(Var13,7,1)/SMA(Var14,7,1)*100; Var16:=SMA(Var13,13,1)/SMA(Var14,13,1)*100; Var17:=BARSCOUNT(CLOSE); Var18:=SMA(MAX(Var12,0),6,1)/SMA(ABS(Var12),6,1)*100; Var19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; Var1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; Var1B:=SMA((SMA(Var1A,4,1)-50)*2,3,1); Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; Var1D:=SMA(Var1C,4,1); Var1E:=SMA(Var1D,3,1); Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; Var20:=Var18<=25 AND Var19<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var11-CLOSE>=-0.25 AND Var15<22 AND Var16<28 AND Var17>50; Var21:=(HIGH+LOW+CLOSE)/3; Var22:=(Var21-MA(Var21,14))/(0.015*AVEDEV(Var21,14)); Var23:=(Var21-MA(Var21,70))/(0.015*AVEDEV(Var21,70)); Var24:=IF(Var22>=150 AND Var22<200 AND Var23>=150 AND Var23<200,10,0); Var25:=IF(Var22<=-150 AND Var22>-200 AND Var23<=-150 AND Var23>-200,-10,Var24); Var26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; Var27:=REVERSE(Var26); Var28:=SMA(Var26,3,1); 散戶(hù): SMA(Var28,3,1)*VarC; 新莊: SMA(散戶(hù),3,1)*VarC, COLORYELLOW; 地獄: IF(CROSS(散戶(hù),新莊) AND 散戶(hù)<30,新莊,0)*VarC, COLORRED; 天堂: IF(CROSS(新莊,散戶(hù)) AND 新莊>75,新莊,100)*VarC,COLORGREEN; DRAWTEXT(CROSS(散戶(hù),新莊) AND 散戶(hù)<30,新莊,'逢低吸吶!'),COLORWHITE; DRAWTEXT(CROSS(新莊,散戶(hù)) AND 新莊>75,新莊,'逢高減磅!'), COLORGREEN; 小心斷裂: (IF(Var23>=200 AND Var22>=150,15,IF(Var23<=-200 AND Var22<=-150,-15,Var25))+50)*VarC {00050006}; DRAWTEXT(CROSS(Var20,0.5) AND COUNT(Var20=1,10)=1,35,'抄底'), COLORYELLOW; DRAWTEXT(CROSS(VarD,0.5) AND COUNT(VarD=1,10)=1,65,'逃頂'); STICKLINE(VarD,100,25,1,0) ; STICKLINE(1,散戶(hù)區,0,1,0), COLORYELLOW; STICKLINE(1,新莊區,100,1,0) {00010001}; STICKLINE(Var20,0,80,1,0),COLORRED; 超級短線(xiàn):
Var1:=HHV(HIGH,25); Var2:=LLV(LOW,25); 阻力線(xiàn):EMA((CLOSE-Var2)/(Var1-Var2)*100,20),colorgreen,Linethick1; 突破線(xiàn):= EMA((CLOSE-Var2)/(Var1-Var2)*100,5); 操作線(xiàn):突破線(xiàn),colorred, Linethick1; 黑馬線(xiàn)公式:
A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); 黑馬線(xiàn):EMA(A1,5),LINETHICK2,COLOR6600FF; A2:=(黑馬線(xiàn)-REF(黑馬線(xiàn),1))/REF(黑馬線(xiàn),1)*100; A3:=EMA(C,5); A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; 趨勢線(xiàn):(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,coloryellow; A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100; DRAWTEXT(FILTER(REF(黑馬線(xiàn),1)>90 AND A2<0,7),黑馬線(xiàn),'跑'),COLOR00FF00; DRAWTEXT(CROSS(A1,黑馬線(xiàn))AND 黑馬線(xiàn)<A5,黑馬線(xiàn),'黑馬'); DRAWTEXT(CROSS(黑馬線(xiàn),A5)AND 趨勢線(xiàn)<80,黑馬線(xiàn),'追漲'); DRAWTEXT(CROSS(趨勢線(xiàn),0)AND 黑馬線(xiàn)<40,5,'大黑馬'); 底部:(A2<-10 AND A2>REF(A2,1))*25,colorred; DRAWICON(底部 AND A3>REF(A3,1),25,4); 機會(huì )來(lái)臨:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0; 大勢已去:IF(CROSS(黑馬線(xiàn),A1)AND 黑馬線(xiàn)>70 AND 趨勢線(xiàn)>80,90,100),COLORFF0000; 短線(xiàn)狙擊手1:
A:=HHV(HIGH,5); B:=REF(OPEN,4); f:=LLV(LOW,5); D:=2*(A-f); W: (A-B+CLOSE-f)/D*100; MW:MA(W,3); X:30,COLORGREEN; S:70,COLORGREEN; 短線(xiàn)狙擊手2:
ao:=MA((((HHV(H,5)-REF(O,4))+(C-LLV(L,5)))*100)/((HHV(H,5)-LLV(L,5))*2),3); 30; 50; 70 ; STICKLINE( ao>=REF( ao,1),0, ao,1,1),COLORRED; STICKLINE( ao<=REF( ao,1),0, ao,1,1),COLORGREEN; 長(cháng)線(xiàn)王 :
VAR1:=IF(DATE<1340830 AND DATE>900101,1,0); VAR2:=IF(MONTH<12,1,100000); VAR3:=(2*CLOSE+HIGH+LOW)/4; VAR4:=LLV(LOW,34); VAR5:=HHV(HIGH,34); 散戶(hù): EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13),LINETHICK2,COLOR00FF99; 新莊: EMA(0.667*REF(散戶(hù),1)+0.333*散戶(hù),2),LINETHICK2,coloryellow; 高拋低吸界線(xiàn): 50*VAR1, CROSSDOT; DRAWTEXT(CROSS(散戶(hù),新莊) AND 散戶(hù)<22,20,'絕望中誕生'),colorwhite,LINETHICK7 ; DRAWICON(CROSS(散戶(hù),新莊) AND 散戶(hù)<22,25,1); DRAWTEXT(CROSS(散戶(hù),30) AND 新莊<散戶(hù),40,'猶豫中上揚'),coloryellow, LINETHICK4; DRAWICON(CROSS(散戶(hù),30) AND 新莊<散戶(hù),35,1); DRAWTEXT(CROSS(散戶(hù),65) AND 新莊<散戶(hù),55,'無(wú)奈中嘆息'),colorred ,LINETHICK4 ; DRAWICON(CROSS(散戶(hù),65) AND 新莊<散戶(hù),70,2); DRAWTEXT(CROSS(散戶(hù),75) AND 新莊<散戶(hù),67,'小心清醒'),COLOR66FF99 ,LINETHICK4 ; DRAWICON(CROSS(散戶(hù),75) AND 新莊<散戶(hù),80,2); DRAWTEXT(CROSS(新莊,散戶(hù)) AND 新莊>75,80,'憧憬中毀滅'),colorgreen ,LINETHICK7 ; DRAWICON(CROSS(新莊,散戶(hù)) AND 新莊>75,85,2); 買(mǎi)入:IF(CROSS(散戶(hù),新莊) AND 散戶(hù)<40,25,10),colorred,LINETHICK2; 賣(mài)出:IF(CROSS(新莊,散戶(hù)) AND 新莊>75,75,90),colorgreen,LINETHICK2; 【大智慧】操盤(pán)手指標(主圖)
買(mǎi)線(xiàn):=EMA(C,2); 賣(mài)線(xiàn):=EMA(SLOPE(C,21)*20+C,42); BU:=cross(買(mǎi)線(xiàn),賣(mài)線(xiàn)); SEL:=cross(賣(mài)線(xiàn),買(mǎi)線(xiàn)); drawtext(bu,LOW*0.996,'B'),colorred,linethick3; drawtext(sel,HIGH*1.028,'S'),colorffff00,linethick3; stickline(買(mǎi)線(xiàn)>=賣(mài)線(xiàn),low,high,1,0),colorred; stickline(買(mǎi)線(xiàn)>=賣(mài)線(xiàn),close,open,4.5,0),color0000aa; stickline(買(mǎi)線(xiàn)>=賣(mài)線(xiàn),close,open,4,0),color0000cc; stickline(買(mǎi)線(xiàn)>=賣(mài)線(xiàn),close,open,3,0),color0000cc; stickline(買(mǎi)線(xiàn)>=賣(mài)線(xiàn),close,open,2,0),color0000ee; stickline(買(mǎi)線(xiàn)<賣(mài)線(xiàn),close,open,4.5,0),coloraaaa00; stickline(買(mǎi)線(xiàn)<賣(mài)線(xiàn),close,open,4,0),colorbbbb00; stickline(買(mǎi)線(xiàn)<賣(mài)線(xiàn),close,open,3,0),colorcccc00; stickline(買(mǎi)線(xiàn)<賣(mài)線(xiàn),close,open,2,0),coloreeee00; stickline(買(mǎi)線(xiàn)<賣(mài)線(xiàn),low,high,1,0),colorffff00; stickline(cross(買(mǎi)線(xiàn),賣(mài)線(xiàn)) or cross(賣(mài)線(xiàn),買(mǎi)線(xiàn)),open,close,3,0),color00ffff; 指導線(xiàn): EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF; 界: MA(CLOSE,27),linethick1,Color00FFFF;
VAR1:=IF(DATE<1340830 AND DATE>900101,1,0); VAR2:=IF(MONTH<12,1,100000); VAR3:=(2*CLOSE+HIGH+LOW)/4; VAR4:=LLV(LOW,34); VAR5:=HHV(HIGH,34); 散戶(hù): EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13),LINETHICK2,COLOR00FF99; 新莊: EMA(0.667*REF(散戶(hù),1)+0.333*散戶(hù),2),LINETHICK2,coloryellow; 高拋低吸界線(xiàn): 50*VAR1, CROSSDOT; DRAWTEXT(CROSS(散戶(hù),新莊) AND 散戶(hù)<22,20,'絕望中誕生'),colorwhite,LINETHICK7 ; DRAWICON(CROSS(散戶(hù),新莊) AND 散戶(hù)<22,25,1); DRAWTEXT(CROSS(散戶(hù),30) AND 新莊<散戶(hù),40,'猶豫中上揚'),coloryellow, LINETHICK4; DRAWICON(CROSS(散戶(hù),30) AND 新莊<散戶(hù),35,1); DRAWTEXT(CROSS(散戶(hù),65) AND 新莊<散戶(hù),55,'無(wú)奈中嘆息'),colorred ,LINETHICK4 ; DRAWICON(CROSS(散戶(hù),65) AND 新莊<散戶(hù),70,2); DRAWTEXT(CROSS(散戶(hù),75) AND 新莊<散戶(hù),67,'小心清醒'),COLOR66FF99 ,LINETHICK4 ; DRAWICON(CROSS(散戶(hù),75) AND 新莊<散戶(hù),80,2); DRAWTEXT(CROSS(新莊,散戶(hù)) AND 新莊>75,80,'憧憬中毀滅'),colorgreen ,LINETHICK7 ; DRAWICON(CROSS(新莊,散戶(hù)) AND 新莊>75,85,2); 買(mǎi)入:IF(CROSS(散戶(hù),新莊) AND 散戶(hù)<40,25,10),colorred,LINETHICK2; 賣(mài)出:IF(CROSS(新莊,散戶(hù)) AND 新莊>75,75,90),colorgreen,LINETHICK2; |