只需2個指標(含源碼),讓不會炒股的人年獲利100% 大智慧極品中的極品公式 1.粉進黃出 ma6:ma(c,6),Color0000ff; ma18:ma(c,18),color0096ff; ma30:ma(c,30),COLOR00ff99; ma60:ma(c,60),Colorff00ff; aaf:LLV(LOW,34),LINETHICK1,COLORffffcc; bbf:MA(aaf,4),LINETHICK1,coloryellow; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; DRAWICON(CROSS(84,RSI) ,h*1.03,5); DRAWICON(CROSS(RSI,11) ,l*0.99,4); Var27:=REF(CLOSE,1); Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CLOSE-Var27),6,1)*100; DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5); DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,5), LOW,‘☆‘),linethick7 , COLORff00ff; VARA:=((AMOUNT)/(VOL))/(100); VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7); VARC:=((SUM(AMOUNT,7))/(VARA))/(100); VARD:=DMA(VARB,(VOL)/(VARC)); VARE:=((CLOSE-VARD)/(VARD))*(100); VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100); VARJ:=MA(VARE,20)+STD(VARE,20); BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100); aa:=SMA(VARF,3,1); ss:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>79); DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>ss),h*1.02,‘☆‘),LINETHICK7,colorgreen; Var1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG 有未來} Var2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2); STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2;{高位黃色} STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2;{高位黃色} STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2;{高位黃色} STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;{底位紅色} STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;{底位紅色} STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;{底位紅色} 2.買賣指標 Var1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25); Var2:=HIGH-REF(HIGH,1); Var3:=REF(LOW,1)-LOW; Var4:=SUM(IF(Var2>0 AND Var2>Var3,Var2,0),25); Var5:=SUM(IF(Var3>0 AND Var3>Var2,Var3,0),25); Var6:=Var4*100/Var1; Var7:=Var5*100/Var1; Var8:=MA(ABS(Var7-Var6)/(Var7+Var6)*100,15); Var9:=(Var8+REF(Var8,15))/2; A:=(Var7>Var6 AND Var7>25 AND Var6<25); B:ZIG(3,50/5)*100,colorwhite; g:MA(B,2),coloryellow; D:=CROSS(B,g)*1000,colorred; W:=cross(g,B)*1000,colorblue; E:=REF(INDEXC,1); F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1); Var10:=F AND F<8; Var11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; Var12:=SMA(Var11,3,1); Var13:=SMA(Var12,3,1); Var14:=Var13 AND Var13<20; mm:=A AND D AND Var10 AND Var14 ; DRAWTEXT(W=1000,b*1.05,‘賣‘ ),COLOR00ff00; DRAWTEXT(D=1000,b*1.05,‘買‘),COLORred; |
|