“選股指標公式” 效果圖展示 源碼分享 換手:=V*100/CAPITAL; 主力:=MA(換手,4); 大戶:=MA(換手,9); 中戶:=MA(換手,17); 散戶:=MA(換手,34); 均量:=(主力+大戶+中戶+散戶)/4; 主力能量:=(主力-均量); 操盤:=主力能量>=0 AND 主力能量>=REF(主力能量,1); HJ_1:=C/REF(C,1)>=1.098; HJ_22:=COUNT(HJ_1,2)>=1 AND NOT(COUNT(HJ_1,3)>=2); {DRAWTEXT_FIX(C>O,0.01,0.81,0,'更多精彩實用選股指標公式, 請關(guān)注微信公眾號:選股指標公式'),COLORYELLOW;} XG1:=FILTER(HJ_22,13); FFD:=EMA((C-REF(C,1))/REF(C,3),10)*100; KJHU:=EMA(EMA(EMA(EMA(FFD,2),2),2),3); XG2:=KJHU>=REF(KJHU,1) AND FFD>2; BJQD:=100*C/INDEXC; B:=SUM(BJQD,500)/500; XDQD1:=BJQD/B; XDQD:=XDQD1/(SUM(XDQD1,60)/60)-0.4; HJXX_3:=EMA(H,3)*1.03; XG4:=CROSS(C,HJXX_3) AND (C/REF(C,1)-1)>0.04; AKK1:=EMA(C,8); AKK2:=EMA(AKK1,20); AKK3:=CROSS(AKK1,AKK2); AKK4:=AKK1<EMA(C,120); VK1:=MA(C,5)=HHV(MA(C,5),20); VK2:=MA(C,5)>MA(C,10); VK3:=MA(V,5)>MA(V,40)*1.01; VK4:=COUNT(C>REF(C,1),2)=2; XG5:=(AKK3 AND AKK4) OR (VK1 AND VK2 AND VK3 AND VK4); UB:=MA(C,20)+2*STD(C,20); XG6:=CROSS(C,UB); ASR:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100; RPY:=(C-LLV(C,240))/(HHV(C,240)-LLV(C,240))*100; XG7:=RPY>99 AND ASR<30; VARA1:=(V/C)/2; VARA2:=SUM(IF(VARA1>100 AND C>REF(C,1),VARA1,0),0); VARA3:=SUM(IF(VARA1>100 AND C<REF(C,1),VARA1,0),0); VARA4:=SUM(IF(VARA1<100 AND C>REF(C,1),VARA1,0),0); VARA5:=SUM(IF(VARA1<100 AND C<REF(C,1),VARA1,0),0); VARA6:=VARA2+VARA3+VARA4+VARA5; 機買:=(VARA2/VARA6)*100; 機賣:=(VARA3/VARA6)*100; 主力差:=機買-機賣; 強度:=主力差-REF(主力差,1); L2:=MA(AMOUNT/(100*V),13); CYS13:=(C/L2-1)*100; XG9:=CYS13>5; XG:操盤 AND XG1 AND XG2 AND XG4 AND XG5 AND XG6 AND XG7 AND XG9; {注:本文中所有代碼均不構(gòu)成推薦,僅做指標交流學(xué)習(xí)使用} 友情提醒: 建立穩(wěn)定交易模式是在股市長期生存的唯一途徑,指標則是幫助建立穩(wěn)定交易模式的一個有效工具。 歡迎留言交流 |
|