❶ 通達信VOL均量線22 40 66日多頭選股公式
m2:=ma(v,22);
m4:=ma(v,40);
m6:=ma(v,66);
a:=m2>m4 and m4>m6;
x:a and ref(a,1)=0;
❷ 通達信軟體,成交量在開盤後30分鍾就通過5日均量線選股公式或預警公式怎麼寫
XG:FROMOPEN<=30 AND DYNAINFO(8)>MA(V,5);
抄底 選 股 (預警)公 式
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
抄底:REF(COUNT(k<ref(k,1),5)>=5,1) AND COUNT(K<30,5)>=2 AND COUNT(J<0,3)>0 AND CROSS(J,0);
----------------------------------------------------------------------------------------------------------------------
加倉 選 股 (預警)公 式
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
tj00:=BARSLAST(ref(cross(k,d) and ref(k,1)<35,1));
加倉:c<ref(c,tj00+1)*1.1 and ref(k,1)<60 and (tj00+1)<25 and (tj00+1)>5 and k>ref(k,tj00+1) and cross(k,d);
======================================
交叉蠻准 選股(預警)
VAR1:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,24);
VAR24:=STD(VAR22,24);
VAR25:=(VAR22-VAR23)/VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR27:=EMA(VAR25,5);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,13);{13}
VAR2E:=(VAR2A+VAR2C)/2/1.1;
超短線:=EMA(VAR2E,2);
短線:=EMA(超短線,5);
CROSS(超短線,短線);
-=====================================================================
趨勢主升 選股(預警)
VAR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,24);
VAR24:=STD(VAR22,24);
VAR25:=(VAR22-VAR23)/VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR27:=EMA(VAR25,5);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,7);
快線:=EXPMA((VAR2B+VAR2D)/2,2);
趨勢線A:=EXPMA(快線,12);
趨勢線B:=EXPMA(快線,21);
CROSS(快線,趨勢線A) AND 快線>趨勢線B;
======================================================================
通達信可以這樣實現「分時預警」 【獨家】下載eXeScope(見下面)軟體,安裝完畢後,在通達信安裝文件夾中用右鍵點擊TdxW.exe圖標,再點擊「用eXeScope編輯資源」,出現下面對話框: 點擊:資源→對話框→901→ComboBox,出現下列對話框:將「禁用」前的「√」去掉,公式條件預警設置中的時間周期就能無限制使用了。去「預警系統」設置就OK.
==============================================
CJDX底背離 選股(預警)
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEA:=EMA(DIFF,9);
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背離:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
AA: 底背離 OR 低位金叉 OR 二次金叉;
=====================================================================
極品底 選股(預警)
(1)
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,3);
xg:CROSS(BIAS,乖離) AND 乖離<-9;
(2){選出幾天內出現極品底}
{N,1,100,2}
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,3);
xg:EXIST((CROSS(BIAS,乖離) AND 乖離<-9),N);
=============================================
RSI 選股(預警)公 式
RSIXG:("RSI.RSI1"<24 AND "RSI.RSI2"<36 AND "RSI.RSI3"<45 AND "KDJ.J"<0)*100,COLORFF00FF;
-------------------------------------------------------------------------------
CJDX(系統短線)(黃白兩線向上拐頭交叉時預警。)
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);
K:=MA(J,1);
CROSS(K,D);
(AKDJ)中出現紅箭頭時預警(2009.05.01)
N:=9;
M1:=3;
M2:=3;
P:=9;
短線:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORMAGENTA;
中線:=SMA(短線,M1,1),COLORYELLOW;
長線:=SMA(中線,M2,1),COLORLIBLUE;
BB:=IF(BARSLAST(CROSS(中線,短線))>=3 AND CROSS(短線,中線) AND 中線<30,20,0);
BB>0;
(短線高手U)中多方能量線(紫色線)向上拐頭時預警
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:=EMA(VAR1,13)-EMA(VAR1,21);
SD:=EMA(SK,2);
多方能量:=2*(SK-SD)*3.8;
空方能量:=(-2)*(SK-SD)*3.8;
XG:多方能量<0 AND CROSS(多方能量,REF(多方能量,1));
CCI「買點」預警
N:2.100.14
TYP:=(HIGH+LOW+CLOSE)/3;
C1:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
買點: CROSS(C1,-150),COLORFF00FF;
底部預警
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
紅線:MA(MM,3)<-6
CJDX-A(強勢選股)
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D:=MA(J,3);
K:=MA(J,1);
xg:j>=0 and d>=0 and cross(j,d);
牛股啟動 預警
組合出一個選股公式,出現信號後當天11點30前堅決買入當天就可以有點收獲,第二天遇高賣出觀察,並把股票放到自選股,如信號出現後第二天或幾天後開始跌調整,連跌三天,第三天是堅決陰線抄底;信號出現後一般會調整的,當調整到價位在出現信號當天的最低價附近時,可以堅決買入,股票跌時可以做高拋低吸。(信號很少,但較准)
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
A:=REF(RSI1<45,1) AND RSI1>45;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
B:=REF(CCI<-100,1) AND CCI>=-100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
MMS:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
W:=REF(MMS<39,1) AND MMS>=39;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
F:=REF(J<10,1) AND J>=10;
A AND B AND W AND F;
買入加倉 預警
當出現「買」字時預警。
VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,24);
VAR24:=STD(VAR22,24);
VAR25:=(VAR22-VAR23)/VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR27:=EMA(VAR25,5);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,7);
VAR2E:=(VAR2A+VAR2C)/2/1.1;
超短線:=EMA(VAR2E,3);
短線:=EMA(超短線,5) ;
CROSS(超短線,短線);
三金叉選股
MA5:=EMA(C,5);
MA10:=EMA(C,10);
MV5:=EMA(V,5);
MV10:=EMA(V,10);
K:="KDJ.K"(9,3,3);
D:="KDJ.D"(9,3,3);
V1:=MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND C>REF(C,1) AND C/O>1.01;
VV1:=MV5>REF(MV5,1) AND MV10>=REF(MV10,1) AND V>REF(V,1)*1.2 ;
KD1:=K>REF(K,1) AND D>=REF(D,1);
VA:=COUNT(CROSS(K,D),4)>=1 AND COUNT(CRSS(MA5,MA10),4)>=1 AND
COUNT(CROSS(MV5,MV10),4)>=1;
XG1:IF(V1 AND VV1 AND KD1 AND VA,1,0);
抄底王 選股
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,3);
CROSS(BIAS,乖離) AND 乖離<-10;
9點抄底王選股
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,3);
STICKLINE(CROSS(BIAS,乖離) AND 乖離<-9,10,0,5,0),COLORRED;
CCI底背離A選股
N: 2 100 14
K: -200 0 -100
TYP:=(HIGH*LOW*CLOSE)/3;
A:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
B:=A>K;
CCI底背離B選股
N: 1 999 14
{N 1 999 14}底背離:LLV(L,N)=L AND NOT(LLV(CCI,N)=CCI)COLORYELLOW,LINETHICK1;
=============================================================
成功率98 選股
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
低:=REF(C,1)<MA5 AND REF(C,1)<MA10 AND REF(C,1)<MA30;
高:=CROSS(C,MA5) AND CROSS(C,MA10) AND CROSS(C,MA5);
選股:低 AND 高;
❸ 求通達信均量線公式
根據題意,選股公式如下:
A:=MA(V,40);
REF(V,5)>REF(V,6)*2 AND COUNT(V<=A,5)>=1;
❹ 求高手寫AMO均量線選股公式[通達信公式]
具體條件如下:成交金額均量線參數為:5日均量線、40日均量線、135日均量線
要求:5日均量線上穿135均量線,在上穿40均量線;即135均量線在最下面,40日均量線在中間,5日均量線在最上面,呈多頭發散良好形態。
當股價一波上揚後,股價回調整理,此時成交金額量能也呈現縮量形態,5日均量線回踩40日均量線,靠近40日均量線且未下穿40日均量線時的選股公式。此方法一般情況下能抓到起步階段的或者說即將進入快速拉升階段的股票。AMO副圖指標是通達信自帶程序,只不過參數改成了5、40、135罷了。不過,為了方便大師,我還是把源碼貼到這里:
AMO:AMOUNT,VOLSTICK;
MAAMO1:MA(AMO,M1);
MAAMO2:MA(AMO,M2);
MAAMO3:MA(AMO,M3);
❺ 通達信炒股怎麼設置AMO三條均量線 百度網盤
通過編寫指標公式就可以在amo指標顯示三條均量線例如下圖分別是5,10,20均量線。
❻ 通達信軟體副圖成交量指標里如何設置5日 35日 135日 均量線
自己新建一個副圖指標即可,公式如下:
公式名稱:成交量
公式描述:成交量和多條均量線
公式源碼:
----------------------------------------------------------
成交量:v,volstick;
均量1:MA(V,5);
均量2:MA(V,35);
均量3:MA(V,135)
-------------------------------------------------------
註:
裡面的數字5、35、135都可以調整!