技術指標公式:拉升在即 缺省周期:日線
參數描述: N(10,244,10) Var1:=MA(CLOSE,5); Var2:=MA(CLOSE,10); Var3:=MA(CLOSE,60); Var4:=MA(CLOSE,35); Var5:=MA(REF(VOL,10),20); Var6:=IF(CLOSE-SMA(CLOSE,75,1)<0,CAPITAL/VOL,0); Var7:=IF(CLOSE<Var3*0.95 AND 100*VOL/CAPITAL<1.2 AND Var6>150,50,0); Var8:=IF(CLOSE>Var1 AND Var3 AND CROSS(Var1,Var2) AND (VOL-Var5)/Var5>0.5 AND CLOSE>MA(REF(CLOSE,1),3) AND SMA(Var7,5,1)>0,100,50); Var9:=IF(100*VOL/CAPITAL>10 AND 100*VOL/CAPITAL<18 AND SMA(Var8,5,1)>50 AND Var1>Var2,150,100); 注意: Var7; 持有: Var8; 拉升: Var9; 源碼 : var1:=1; 趨勢線: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),COLORRED; var2:=(2*CLOSE+HIGH+LOW+OPEN)/5; var3:=LLV(LOW,34); var4:=HHV(HIGH,34); SK:= EMA((var2-var3)/(var4-var3)*100,13)*var1{,colorwhite}; SD:= EMA(SK,2)*var1{,coloryellow}; var5:=EMA(CLOSE,12)-EMA(CLOSE,26); var6:=EMA(var5,9); var7:=var1*CLOSE*1.236<MA(CLOSE,60); var8:=CLOSE/REF(CLOSE,1)>1.021; var9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN; varA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100; varB:=ABS(var5-var6); varC:=STD(CLOSE,90)*10; varD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5); varE:=SLOPE(CLOSE,40); varF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90); var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100; var11:=var1*STD(CLOSE,63)*10; var12:=var1*(MA(CLOSE,76)-MA(CLOSE,13)/3); var13:=var1*MA((CLOSE-var12)/var12,1); var14:=MA(CLOSE,5); var15:=MA(CLOSE,10); var16:=MA(CLOSE,20); var17:=MA(CLOSE,30); var18:=MA(CLOSE,60); var19:=MA(CLOSE,150); var1A:=MA(CLOSE,250); var1B:=var1*VOL/CAPITAL*100; var1C:=(CLOSE-var1A)/var1A*100; var1D:=(CLOSE/REF(CLOSE,1)-1)*100; var1E:=PWINNER(1,CLOSE); var1F:=IF(var1>0.75 AND var1<0.901,0.618,1); 買入就漲:= IF(var14>var15 AND var15>var16 AND var16>var17 AND var16>var18 AND var19>var1A AND (var1E>=0.9 OR var1E>0.76 AND var1E<0.901 AND var1D>5 AND var1B>5) AND var1D>1.8 AND var1C<40 AND CLOSE>3 AND (CLOSE-var18)/var18<0.25 AND var1B<=6 AND var4*var1B>=1 AND CLOSE<18.5,76,0){, coloryellow}; var20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; var21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; var22:=var1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4; var23:=var1*MA(CLOSE,250); var24:=MA(CLOSE,125); 買入就漲:IF(SD>18 AND SK<75 AND CROSS(var20,var21) AND (var22-var23)/var23<0.161 AND REF(SK,3)<SK AND REF(var22,1)<var22,95,0); var25:=CLOSE/MA(CLOSE,3)>=1.05 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA (VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); var26:=REF(CLOSE,1); var27:=SMA(MAX(CLOSE-var26,0),5,1)/SMA(ABS(CLOSE-var26),5,1)*100; var28:=var1*COUNT(var27<25,20)>=1; var29:=(HIGH-LOW)/HIGH*100+(CLOSE-var26)/var26*100; var2A:=EMA(MA(var29,41),6); var2B:=var2A>LLV(var2A,6)*1.02 AND REF(var2A,1)<REF(LLV(var2A,6),1)*1.02 AND LLV(var2A,29) =LLV(var2A,6); var2C:=var1*LLV(LOW,6)=LLV(LOW,41) AND LLV(LOW,6)<HHV(LOW,41)*71/100; var2D:=HIGH>LOW*1.033; var2E:=IF(CROSS(SK,SD),25,18.5); var2F:=IF(CROSS(SD,SK),75,81.5); var30:=0-SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5; |
|