極品公式——鑽石選股王三個公式,源碼
07-14
{雷達一號}Var1:=EMA(VOL/CAPITAL,3);Var2:=HHV(Var1,240);Var3:=LLV(Var1,240);Var4:=MA(CLOSE,33);Var5:=EMA(CLOSE,13)-EMA(CLOSE,26);Var6:=EMA(Var5,9);Var7:=2*(Var5-Var6);Var8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;Var9:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;VarA:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100;VarB:=SMA(Var8,3,1);VarC:=SMA(Var9,15,1);VarD:=SMA(VarA,45,1);VarE:=(VarD-REF(VarD,1))*50;VarF:=(VarC-REF(VarC,1))*10;Var10:=REF(VarC,1)-REF(VarD,1);Var11:=(VarC-Var10-VarD)*30;Var12:=VarB-REF(VarB,1);固定籌碼: EMA((Var1-Var3)/Var3*Var4,13);移動籌碼: EMA((Var2-Var1)/Var1*Var4,13);多空對比: 固定籌碼-移動籌碼, COLORSTICK;Var13:=Var7>=-0.035 AND Var7<=0.045 AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND 多空對比>-100;大黑馬: IF(Var13 AND Var12>7 AND REF(Var12,1)<0 AND Var12-REF(Var12,1)>9,1,0),LINETHICK3 , Color00FFFF;STICKLINE(大黑馬,0,固定籌碼,5,0),LINETHICK3 , Color00FFFF;DRAWICON(大黑馬,固定籌碼*1.1,1); {雷達二號}Var1:=MA(CLOSE,5);Var2:=MA(CLOSE,10);Var3:=MA(CLOSE,30);Var4:=MA(CLOSE,60);Var5:=EMA(COST(85),7);Var6:=EMA(COST(15),7);Var7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);Var8:=INTPART(Var7*100)/100;Var9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);VarA:=INTPART(Var9*100)/100;VarB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);VarC:=INTPART(VarB*100)/100;VarD:=EMA(CLOSE,5)-EMA(CLOSE,10);VarE:=EMA(VarD,9);VarF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;Var10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;Var11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;Var12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;Var13:=REF(VarE,1);Var14:=VarE;Var15:=Var14-Var13;Var16:=REF(VarD,1);Var17:=VarD;Var18:=Var17-Var16;Var19:=OPEN;Var1A:=CLOSE;短線黑馬: IF(Var19<=Var1 AND Var19<=Var2 AND Var19<=Var3 AND Var1A>=Var1 AND Var1A>=VarC AND Var15>0 AND Var18>0,0.5,0),LINETHICK3 , Color00FFFF;STICKLINE(短線黑馬,0,短線黑馬*0.86,2,1),LINETHICK3 ,Color00FFFF;DRAWICON(短線黑馬>0,短線黑馬,1); {波段導航}Var1:=(CLOSE-LLV(LOW,29))/(HHV(HIGH,29)-LLV(LOW,29))*100;K: SMA(SMA(Var1,3,1),3,1);D: SMA(K,3,1);J: 3*K-2*D;Var2:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);Var3:=(CLOSE+HIGH+LOW+OPEN)/4;Var4:=LLV(LOW,34);Var5:=HHV(HIGH,34);Var6:=EMA((Var3-Var4)/(Var5-Var4)*100,8);Var7:=EMA(Var6,5);80, POINTDOT;50, POINTDOT;20, POINTDOT;Var8:=MA(CLOSE,3);Var9:=REF(CLOSE,2)*0.865;VarA:=REF(CLOSE,13)*0.772;VarB:=MIN(Var9,VarA);VarC:=100*VOL/CAPITAL;VarD:=MA(CLOSE,13);VarE:=CLOSE>0.899*REF(CLOSE,1) AND CLOSE<0.901*REF(CLOSE,1);VarF:=EMA(CLOSE,30)-EMA(CLOSE,17);Var10:=EMA(VarF,5);Var11:=CROSS(VarF,Var10) AND TROUGHBARS(3,7,1)<1;Var12:=IF((CLOSE-VarB)/CLOSE<0.03 AND SUM(VarC,5)/5<1.8,VarE=0,0);STICKLINE(Var6-Var7>0,Var6,Var7,8,1) Color0000FD;STICKLINE(Var6-Var7<0,Var6,Var7,8,1) Color00FFFF;
推薦閱讀:
推薦閱讀:
※其實天很藍 其實夢很淺…【極品美圖】
※汝瓷的歷史謎團,需要民藏極品的解答
※有個奇葩親戚是種什麼神奇體驗
※極品小氣男情感分析[情感空間]
※極品婆婆擠我奶水給公公喝