A. 請高手把資金動能公式改成選股公式,通大信的,要求資金動能A上穿REFLINE0.00。先謝謝了
CROSS(((EMA(CLOSE,3)-EMA(CLOSE,8)))*5,0);
B. 幫忙寫個股票選股公式
僅供學習研究之用!!! 一){選股公式}
VAR1:=MA(CLOSE,34);
VAR2:=MA(VAR1*0.82,5);
VAR3:=CLOSE<VAR2;
VAR4:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<-0.4;
VAR4 AND VAR3;二){選股公式}
X:=0.27*MA(C,3);
M:=0.57*REF(MA(C,50),1);
VMA:=X+M;
C<VMA*0.97 AND COUNT(H=L AND C=O AND C<REF(C,1),3)<=0;三){選股公式}
VAR1:=CLOSE/MA(CLOSE,40)*100<78;
VAR2:=CLOSE/MA(CLOSE,60)*100<74;
VAR3:=HIGH>LOW*1.051;
VAR4:=VAR3 AND COUNT(VAR3,5)>1;
VAR4 AND (VAR1 OR VAR2) AND
MA(C,27)/CLOSE>1.169 AND MA(C,17)/CLOSE>1.158 AND
CLOSE<MA(C,120) AND MA(C,60)<MA(C,120) AND MA(C,60)>MA(C,30) AND "CCI">-210 ;四){選股公式}
VAR1:=AMOUNT/VOL/100;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=SUM(AMOUNT,13)/VAR1/100;
VAR4:=DMA(VAR2,VOL/VAR3);
VAR5:=(CLOSE-VAR4)/VAR4*100;
VAR6:=(INDEXC-LLV(INDEXL,9))/(HHV(INDEXH,9)-LLV(INDEXL,9))*100;
VAR7:=SMA(VAR6,3,1);
VAR8:=SMA(VAR7,3,1);
CROSS(VAR7,VAR8) AND VAR7<45 AND COUNT(VAR5<=-15,5)>=1 ;五){選股公式}
VAR1:=OPEN<EMA(CLOSE,3) AND CLOSE=HIGH AND CLOSE/OPEN>=1.11 AND VOL/CAPITAL>=0.02 AND VOL/CAPITAL<=0.2;
VAR1 AND COUNT(VAR1,3)=1;六){選股公式}
{漲勢確立,N1=41,N3=29}
VAR1:=C/MA(C,3)>=1.05 AND C=HHV(C,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND C>REF(C,1);
VAR2:=REF(C,1);
VAR3:=SMA(MAX(C-VAR2,0),5,1)/SMA(ABS(C-VAR2),5,1)*100;
VAR4:=COUNT(VAR3<25,20)>=1;
VAR5:=(H-L)/H*100+(C-VAR2)/VAR2*100;
VAR6:=EMA(MA(VAR5,N1),6);
VAR7:=VAR6>LLV(VAR6,6)*1.02 AND REF(VAR6,1)<REF(LLV(VAR6,6),1)*1.02 AND LLV(VAR6,N1)=LLV(VAR6,6);
VAR8:=LLV(L,6)=LLV(LOW,N1) AND LLV(LOW,6)<HHV(L,N1)*(100-N3)/100;
VAR9:=H>L*1.033;
VAR8>0 AND VAR9;七){選股公式}
VAR1:=CLOSE/MA(CLOSE,20)*100<80;
VAR2:=CLOSE/MA(CLOSE,40)*100<78;
VAR3:=CLOSE/MA(CLOSE,60)*100<72;
VAR4:=HIGH>LOW*1.051;
VAR5:=VAR4 AND COUNT(VAR4,5)>1;
絕地鷹王:VAR5 AND (VAR1 OR VAR2 OR VAR3);八){選股公式}
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:="RSI";
VAR6:="MACD";
VAR7:=1;
A:=AMOUNT/(100*VOL);
VAR8:=100*(CLOSE-MA(A,26))/MA(A,26);
VAR9:=VAR8<-17.5 AND VAR8>-36 AND CLOSE*VAR7<10 AND CLOSE*VAR7/REF(CLOSE,1)>0.935 AND CROSS(VAR4,VAR2);
VAR10:VAR9/VAR7;九){選股公式}
流通:=AMOUNT/VOL;
PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
ZLL:=VOL/CAPITAL;
HSL1:=IF(ZLL>10,10,ZLL);
HSL:=(XVL/20)/1.15;
攻擊流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
GJJ:=EMA(攻擊流量,8);
LLJX:=EMA(攻擊流量,3);
資金流向:LLJX,COLOR0000FF;{LINETHICK0}
流量基線:GJJ,COLOR00FFFF;
買入:CROSS(資金流向,流量基線);十){MACD金叉選股選股公式}
DIF:=EMA(CLOSE,5)-EMA(CLOSE,10);
DEA:=EMA(DIF,3),LINETHICK1;
XG:CROSS(DIF,DEA) AND DIF<0.3;十一){選股公式}
VAR1:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;
VAR2:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR3:=SMA(VAR2,13,8);
VAR4:=SMA(VAR1,21,8);
VAR5:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
趨勢:CEILING(SMA(VAR3,13,8)),LINETHICK0,COLOR0000FF;
看底:IF((趨勢-VAR4<(-65)),1,6),COLOR00FF00;
頂峰:IF((趨勢-VAR4>85),95,100),COLORF0F000;
操盤線: MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK0,COLORBLUE;十二){選股公式}
{改編自系統自帶指標EXPMA}
{用法說明:1、出現買入信號後,二至三天沒有出現紅柱則放棄操作。
2、也可根據紅柱持股,綠柱持幣的操盤思路進行操作。}
MA1:EMA(CLOSE,5),COLORYELLOW;
MA2:EMA(CLOSE,21),COLORFF00FF;
STICKLINE(MA1>MA2,MA1,MA2,4,0),COLORRED;
STICKLINE(MA1<MA2,MA1,MA2,4,0),COLOR00FF00;
差值:ABS(MA1-MA2),COLORWHITE;
A:=(C-REF(C,1))/REF(C,1)*100;
買入:IF(MA1<MA2 AND CLOSE>OPEN AND BETWEEN(MA1,OPEN,CLOSE) AND BETWEEN(MA2,OPEN,CLOSE) AND A>=3 AND VOL>MA(VOL,5)/5,5,0),LINETHICK2,COLORRED;十三){選股公式}
{n=13,m=13}
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
a1:=AMOUNT/VOL/1000;
b2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
d3:=SUM(AMOUNT,n)/a1/1000;
e4:=DMA(b2,VOL/d3);
v1:=((CLOSE-e4)/e4*1000+100);
V2:=POW(V1/RSI1,1)+6;
W4:=POW((COST(M)/C/1),6)*2;
CROSS(V2,W4);
ref(INDEXC,1)<ref(INDEXC,2) and ref(c,2)/ref(c,1)>1.05
and ref(c,1)<ref(o,1) and c>0 and o<=ref(c,1) and c>ref(o,1)
and ref(vol,1)<ref(vol,2);十四){放量選股公式}
VAR199:=MA(CLOSE,80)-MA(CLOSE,10)/3;
vvvv:=CLOSE<VAR199 AND VOL/240>MA(VOL,5)/240 AND
CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3;
放量xg:if(vvvv,1,0),stick,color99ff99;十五){選股公式}
{抄底信號出現太少,一但出現,哈哈發財吧!}
A:=DMA(EMA(CLOSE,24),SUM(VOL,9)/3/CAPITAL);
SW:=(CLOSE-A)/A*100;
b:=sw<-38 ;
A1:=DMA(EMA(CLOSE,22),SUM(VOL,9)/3/CAPITAL);
s:=(CLOSE-A1)/A1*100;
j:=ref(s,1)<-37 and s>ref(s,1) and ref(s,1)<ref(s,2) and
(ref(s,2)-ref(s,1))>1;
k:=b or j ;
k and count(k,10)=1;十六){金礦買選股公式}
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
買:=IF(LLV(DX,2)=LLV(DX,8) AND COUNT(DX<0,3) AND CROSS(DX,MA(DX,3)),1,0);
filter(買=1,8);十七){選股公式}
n:=3;
var3:=(c-llv(l,18))/(hhv(h,18)-llv(l,18))*100;
var4:=sma(var3,9,1);
a2:=ema(var4,n);
b1:=(h+l+c)/3;
b2:=hhv(b1,15);
b3:=llv(b1,15);
b4:=b2-b3;
b5:=ma((b1-b3)/b4,2)*100;
均線:=ma(c,5);
cross(b5,a2)>0 and 均線-ref(均線,1)>0;十八){逢低吸選股公式}
Var1:=1;
Var2:=(2*CLOSE+HIGH+LOW)/4;
Var3:=IF(YEAR>=2099 AND MONTH>2,0,1);
Var4:=LLV(LOW,5);
Var5:=HHV(HIGH,4);
散戶:=EMA((Var2-Var4)/(Var5-Var4)*100,4)*Var3*Var1;
莊家:=EMA(0.667*REF(散戶,1)+0.333*散戶,2)*Var3*Var1;
CROSS(散戶,莊家) AND 散戶<30;十九){選股公式}
n:=9;
RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
TJ:= IF(RSV<5,0,RSV);
投機:= IF(TJ>95,100,TJ);
投機<10 or cross(投機,5);二十){選股公式}
VAR2Q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
神奇線:= MA((CLOSE-VAR2Q)/VAR2Q,1);
XA:=EMA(神奇線,12)*0.7;
XB:=EMA(神奇線,3);
底部將成:=IF(LLV(XB-XA,12)>0,0,-30);
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
底部將成<0 AND CROSS(MACD,0);廿一){選股公式}
LS261:=EMA(CLOSE,2);
LS262:=EMA(CLOSE,150);
LS26:=LS261-LS262;
LS27:=EMA(LS26,100);
LS28:=2*(LS26-LS27);
LS29:=POW(LS28,3)*0.1+POW(LS28,1);
黑馬線:=IF(LS28>0.1,LS29,0)*5;
量價線:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
cross(量價線,黑馬線);廿二){選股公式}
量:=v;
換手:=V/CAPITAL*100;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買盤:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
賣盤:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
DLX:=(買盤-(-賣盤))/量*換手;
DLX1:=SUM(DLX,6);
DLX2:=ma(DLX1,5);
DLX3:=ma(DLX1,10);
cross(DLX1,DLX2) and DLX1<DLX3;廿三){選股公式}
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
FILTER(CROSS(VAR2,MA(VAR3,6)),7);廿四){選股公式}
input:m(88,1,300),n1(6,1,100);
VAR1:=EMA(AMOUNT/VOL/100,3);
低吸伏擊:=EMA(VAR1,M)*0.85;
走勢鐵底:=低吸伏擊*0.87;
VAR2:=LOW<=走勢鐵底 AND CLOSE>REF(CLOSE,1)*1.02;
笑臉買入:FILTER(VAR2,N1);廿五){金叉選股公式}
千:=2*HIGH-LOW/3;
千鈞線:=EMA(千,14);
cross(千,千鈞線);
C. 股票選股公式
三日大漲幅:=(C-REF(C,3))/REF(C,3)*100>23;
兩日大漲幅:= (C-REF(C,2))/REF(C,2)*100>18;
單日大漲幅:=(C-REF(C,1))/REF(C,1)*100>9.9;
三日強無大跌:= (HHV(C,12)-C)/C*100<13;
兩日強無大跌:= (HHV(C,8)-C)/C*100<8;
單日強無大跌:= (HHV(C,3)-C)/C*100<4;
強勢股:IF(DYNAINFO(4)>0 ,(EVERY(三日大漲幅,9) AND 三日強無大跌) OR (EVERY(兩日大漲幅,6) AND 兩日強無大跌) OR (EVERY(單日大漲幅,3) AND 單日強無大跌),0);
D. 請大神幫忙寫個股票選股公式!
匯總幾種股票選股公式供參考:
1、多方炮為一種K線形態,走勢上呈現兩陽夾一陰的K線技術形態。價格連續下跌或橫盤震盪,第一天多方發力上攻,高開高走,創下近期新高。但第二天出現回調整理的走勢,第三天則多方再度放量上攻,形成突破大陽線,再創新高。多方炮選股公式:TJ1:=C>0AND C=HAND(C-REF(C, 1) ) /REF(C, 1) *180>=5;
TJ 2:=UOLTJ 4:=EUERY(MAX(C, 0) >HA(C, 7) , 3)AND CAPITAL/1008000<7;
TJ 3:=C>0ANDC=H;
XG:TJ1 AND REF(TJ 2,1) AND REF(TJ 3, 2) AND TJ 4;
2、早晨之星是股市中比較常見的底部或是階段性底部的信號之一。在理論上,它是由三根K線組成,先是拉出一根有力度的陰線,再是一根小陽或小陰線、螺旋槳、錘頭線、倒錘頭線等,最後拉出一根有力度的陽線。三條K線就組成了早晨之星K線組合。早晨之星又稱為希望之星。早晨之星選股公式:
KSTAR:(REF(CLOSE, 2) /REF(OPEN, 2) <0.98) &&(REF(OPEN, 1)1&&CLOSE>REF(CLOSE, 2) AND UOL/REF(UOL, 2) >=1ANDHA(UDL, 5) >MA(UOL, 34) AND HA(C, 5) >HR(C, 25) AND U>MA(UOL, 5) ;
3、烏雲蓋頂是一種開始看跌的K線形態,它由一根陽線和一根陰線構成,出現在漲勢之中,市場高開向下,收盤價跌過陽線的二分之一。烏雲蓋頂選股公式:
ZT:=(0-REF(H, 1) ) /REF(H, 1) *100>0;
實體:=(MAX(C, 0) -H IN(C, 0) ) /MIN(C, 0) *100>2ANDC<0;
烏雲蓋頂:=ZT AND 實體;
TT:=BARS =LAST(烏雲蓋頂);
QM 1:=HHU(H, TT) <=REF(H, TT) ;
XG:CROSS(C, REF(O, TT) ) AND TT<90 ANDREF(QN1, 1) ;
4、獵豹出擊指的是股價在長期過程中莊家會悄然建倉,然後在某一個瞬間突然放量上攻;股價在長期橫向盤整過程中莊家也同樣會悄然建倉,然後在某一瞬間突然放量上攻;這兩種走勢就像獵豹匍匐前行接近獵物,然後突然躍起出擊一樣!准確的說,獵豹出擊形態就是主力拉升前的K線形態,而且迅速伶俐,攻勢猛烈!獵豹出擊選股公式:
M1:=MA(C,60);
A 1:=COUNT(C
A 2:=CROSS(C, H 1) ;
A 3:=C/REF(C, 1) >1.045;
A1 AND A2 AND A3.
E. 股票 選股 公式
a:=ma(v,5);
b:=ma(v,20);
ab:=a>b*1.5;
d:=if(ab,every(b>a,5),0);
e:=b/a<1.3 and b/a>0.7;
ag:d and e;
F. 急急請高手幫忙 通達信的選股公式和預警公式 (資金動能)
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD:=2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
X3:=IF(X2>0,X2,0);
{紅柱選股}
紅柱:REF(X2,1)<0 AND X2>0;
---------------------------------------------
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD:=2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
X3:=IF(X2>0,X2,0);
XG2:X2>0 AND X2>REF(X2,1);
---------------------------------
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD:=2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
X3:=IF(X2>0,X2,0);
XG3:CROSS(X2,X1);
G. 有什麼股票選股公式
高點時=近低點時+(前高點時-前或近低點時)×L···(1)
高點=近低點+(前高點-前或近低點)×L···(2)
低點時=近高點時+(近高點時—前低點時)×L···(3)
低點=近高點—(近高點時—前低點時)×L···(4)
L為黃金分割率(有±0.034的誤差)。
當L=1時就是時空對稱。
當L>1時就是時空對稱破。
當L<1時就是時空對稱缺。
公式對大盤、個股都適用(需取兩個以上樣本)。L如何選?
先用近實際時空點值代入上述公式左邊,求得估值「L」,然後優選最接近估值「L」的L值代入公式右邊,求得未來最接近實際的時空區域值。
見頂見底的四項基本原則:
1. 時到,空未到,頂(或底)未到。
2. 空到,時未到,頂(或底)未到。
3. 空到,時到,頂(或底)才到。
4. 在上軌附近賣出,與上軌平行的下軌附近買入。
H. 麻煩高手幫忙把下面同花順指標公式改成選股公式 要求資金動能A(黃線)金叉資金動能B(藍線)
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
資金動能A:=X2;
資金動能B:=X1;
XG:CROSS(資金動能A,資金動能B);
I. 請高手給編寫個選股公式,通達信的,謝謝了
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
資金動能A:=X2;
AA:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
XG:CROSS(資金動能A,0)and AA;