Ⅰ 求大神寫個通達信副圖選股公式
公式如下:
X1:=C>O;
X2:=C<O;
X3:=O<REF(L,1) AND X2;
X4:=C>REF(O,1);
X5:=C>REF(O,2);
X:(X5 OR REF(X4,1)) AND REF(X3,2) AND REF(X2,3) AND REF(X1,4);
Ⅱ 通達信副圖指標,想改成選股公式,條件:當天出現大黑馬的股,謝謝!
該指標使用了TROUGHBARS等函數(屬於未來函數),
不適合做選股使用。
Ⅲ 把這個副圖公式改成選股公式
啟爆A0:=EVERY(OPEN>CLOSE,3);
啟爆A1:=C/REF(C,1)>1.03;
啟爆A2:=SMA(MAX(CLOSE-REF(C,1),0),2,1)*C*102;
啟爆A3:=SMA(ABS(CLOSE-REF(C,1)),2,1)*C*100;
啟爆A4:=啟爆A2/啟爆A3*100<10;
啟爆A5:=啟爆A0 AND 啟爆A4;
啟爆A6:=MA(C,5)<REF(MA(C,5),1);
啟爆A7:=REF(MA(C,5),4)>REF(MA(C,5),5);
啟爆A8:=(H-C)/C*100<1 AND REF((O-C)/C*100>1,1) AND KDJ.J>25;
起爆點:(啟爆A5,1) AND C>O AND 啟爆A1 AND 啟爆A6 AND 啟爆A7 AND 啟爆A8;
Ⅳ 如何將主,副圖公式改為選股公式
若想來把主副圖指標公源式改成選股公式,那就要把公式多餘的部分刪掉,把沒有的部分添上,改正不能通過的語句,科學的重新組合起來,公式盡量做的簡單,最後只保留一個條件輸出就行了,基本上就是這些內容。
希望能夠幫助你!
Ⅳ 請高手把這個指標公式改成這三個選股公式分別是:牛股起爆 .門庭若市 .瘋狂箭頭 謝謝!
牛股起爆選股公式:
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
二次金叉1:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(低位金叉,21)=2;
TJ1:=低位金叉 OR 二次金叉1;
LJPK:=(C+H+O+L)/4;
MCC:=XMA(LJPK,20)*(1+80/1000);
MRR:=XMA(LJPK,32)*(1-100/1000);
ZXX:=(MCC+MRR)/2;
ZXA:=(MRR+ZXX)/2;
TJ2:=REF(L,1)<ZXA;
TJ3:=TJ2 AND COUNT(TJ2,6)>=6;
TJ8:=REF(C,1)/REF(C,5)<=1.1 AND C>=MA(C,24) AND EXIST(V/REF(V,1)>=2,5) AND C>REF(C,1);
牛股起爆:TJ3 AND TJ8;
門庭若市選股公式:
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
二次金叉1:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(低位金叉,21)=2;
TJ1:=低位金叉 OR 二次金叉1;
LJPK:=(C+H+O+L)/4;
MCC:=XMA(LJPK,20)*(1+80/1000);
MRR:=XMA(LJPK,32)*(1-100/1000);
ZXX:=(MCC+MRR)/2;
ZXA:=(MRR+ZXX)/2;
TJ2:=REF(L,1)<ZXA;
TJ3:=TJ2 AND COUNT(TJ2,6)>=6;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA17:=MA(C,17);
MA20:=MA(C,20);
MA24:=MA(C,24);
MA30:=MA(C,30);
MA43:=MA(C,43);
MA72:=MA(C,72);
MA200:=MA(C,200);
TJ4:=MA5>=MA24 AND MA24>=MA72 AND MA72>=MA200;
TJ5:=MA10>=MA30 AND MA20>=MA30;
TJ7:=TJ4 OR TJ5;
AAA:=EVERY(V<=REF(V,1),1) OR V/REF(V,1)>=1.5;
牛股:=TJ2 AND TJ3 AND TJ7;
牛股出爐:=AAA AND 牛股 AND C>=MA(C,24);
門庭若市:COUNT(EXIST(牛股出爐,6),6)>=2 AND C>REF(C,1) AND REF(C,2)<REF(C,1) AND C>O;
瘋狂箭頭選股公式:
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
二次金叉1:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(低位金叉,21)=2;
TJ1:=低位金叉 OR 二次金叉1;
LJPK:=(C+H+O+L)/4;
MCC:=XMA(LJPK,20)*(1+80/1000);
MRR:=XMA(LJPK,32)*(1-100/1000);
ZXX:=(MCC+MRR)/2;
ZXA:=(MRR+ZXX)/2;
TJ2:=REF(L,1)<ZXA;
TJ3:=TJ2 AND COUNT(TJ2,6)>=6;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA17:=MA(C,17);
MA20:=MA(C,20);
MA24:=MA(C,24);
MA30:=MA(C,30);
MA43:=MA(C,43);
MA72:=MA(C,72);
MA200:=MA(C,200);
TJ4:=MA5>=MA24 AND MA24>=MA72 AND MA72>=MA200;
TJ5:=MA10>=MA30 AND MA20>=MA30;
TJ7:=TJ4 OR TJ5;
AAA:=EVERY(V<=REF(V,1),1) OR V/REF(V,1)>=1.5;
牛股:=TJ2 AND TJ3 AND TJ7;
牛股出爐:=AAA AND 牛股 AND C>=MA(C,24);
門庭若市:=COUNT(EXIST(牛股出爐,6),6)>=2 AND C>REF(C,1) AND REF(C,2)<REF(C,1) AND C>O;
瘋狂箭頭:IF(BARSLASTCOUNT(EXIST(門庭若市,3))>=2,門庭若市,0);
Ⅵ 通達信軟體的主圖和兩個副圖的指標源碼改為條件選股公式
第一個
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,5);
B:=REF(A,1);
XG:A>B&&REF(A,1)<REF(B,1);
第二個回
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
XG:CROSS(VAR4,VAR5) AND VAR5<30;第三答個
N:=21; M:=5;
TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),N);
TL:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),N);
TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),N);
VAR0:=100*(TH*2+TQ)/(TL*2+TQ);
VAR1:=MA(VAR0,M);
W:=CROSS(VAR0,VAR1);
WL1:=VAR1<100;
WLT1:=W AND WL1;
TJ1:FILTER(WLT1,5);
Ⅶ 求老師寫個通達信副圖選股公式謝謝!
XG:REF(C<REF(LLV(L,6),1) AND REF(HHV(H,6)/LLV(L,6)<1.15,1),1) AND (C>REF(LLV(L,6),2)) AND V>REF(V,1);
這公式設計條件橫盤時間較短僅僅大於5日就滿足條件,幅度還是15%,這應該有很多形態版不符.再有就是放量沒有權具體條件,所以上面公式僅僅是當日成交量大於前一日而已.
Ⅷ 通達信完全加密的選股公式怎樣引用到副圖
下面是引用日線數據
日M1:="公式名稱.輸出名回稱#DAY",COLORGREEN;
日M2:="公式名稱.輸出名稱#DAY",COLORGREEN;
下面是引用周答線數據,象MACD為例。
周M1:="MACD.DEA#WEEK",COLORBLUE;
周M2:="MACD.DIF#WEEK",COLORWHITE;
按這個照搬就可以了。
Ⅸ 老師 這個只是個指標吧能做選股嗎 把最近一兩天出現 「鎖定牛股」 「大牛股」,選出來
{鎖定牛股}
Y:=(H+L)/2;
AO:=MA(Y,5)-MA(Y,34 );
DU0:=CROSS(AO,0);
UD0:=CROSS(0,AO);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3));
JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;
JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
鎖定牛股:JDU2;
{大牛股}
M6:=EMA(C,13);
M7:=MA(C,78);
M8:=EMA(M7,3);
M9:=EMA(M8,3);
XG:CROSS(M6,M9);
股票公式專家團為你解答,希望能幫到你,祝投資順利。