請高手把這個通達信公式改成選股公式大智慧的,謝謝
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;rnYJD: (EMA(CS,3)-50)*2;rnYJD,COLORSTICK;rnYJF:MA(YJD,5),COLORYELLOW;rnVAR18:=(HIGH+LOW+CLOSE)/3;rnVAR19:=(VAR18-MA(VAR18,14))/(0.015*AVEDEV(VAR18,14));rnVAR1A:=(VAR18-MA(VAR18,70))/(0.015*AVEDEV(VAR18,70));rnVAR1B:=IF(VAR19>=150 AND VAR19<200 AND VAR1A>=150 AND VAR1A<200,-10,0);rnVAR1C:=IF(VAR19<=-150 AND VAR19>-200 AND VAR1A<=-150 AND VAR1A>-200,10,0);rnVAR1D:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;rnVAR1E:=100-ABS(VAR1D);rn風險2:IF(BARSCOUNT(CLOSE)<13,60,IF(VAR1E<88 AND VAR1D>0,40,60)),COLORCCFFCC,LINETHICK2; rn出擊2:IF(BARSCOUNT(CLOSE)<13,-60,0-IF(VAR1E<92 AND VAR1D<0,40,60)),COLORF00FF0,LINETHICK2; rn風險1:IF(BARSCOUNT(CLOSE)<70,80,IF(VAR1A>=200 AND VAR19>=150,-15,VAR1B)+80),LINETHICK2,COLORCCFF66; rn出擊1:IF(BARSCOUNT(CLOSE)<70,-80,IF(VAR1A<=-200 AND VAR19<=-150,15,VAR1C)-80),COLORRED,LINETHICK2,;rnDRAWTEXT(ISLASTBAR,-80,x27 高安全區x27),COLORWHITE;rnDRAWTEXT(ISLASTBAR,-60,x27 安全區x27),COLORWHITE;rnDRAWTEXT(ISLASTBAR,60,x27 風險區x27),COLORWHITE;rnDRAWTEXT(ISLASTBAR,80,x27 高風險區x27),COLORWHITE;{通達信、大智慧測試通過}
{出擊2}
VAR1D:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR1E:=100-ABS(VAR1D);
-(VAR1E<92 AND VAR1D<0);
-----------------------------------------------
{出擊1}
VAR18:=(HIGH+LOW+CLOSE)/3;
VAR19:=(VAR18-MA(VAR18,14))/(0.015*AVEDEV(VAR18,14));
VAR1A:=(VAR18-MA(VAR18,70))/(0.015*AVEDEV(VAR18,70));
VAR1C:=IF(VAR19<=-150 AND VAR19>-200 AND VAR1A<=-150 AND VAR1A>-200,10,0);
出擊1:VAR1A<=-200 AND VAR19<=-150;
-----------------------------------
{ok.你要的副圖已改好,大智慧通過。說明:上面的是配套的選股指標}
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD: (EMA(CS,3)-50)*2;
YJD,COLORSTICK;
YJF:MA(YJD,5),COLORYELLOW;
VAR18:=(HIGH+LOW+CLOSE)/3;
VAR19:=(VAR18-MA(VAR18,14))/(0.015*AVEDEV(VAR18,14));
VAR1A:=(VAR18-MA(VAR18,70))/(0.015*AVEDEV(VAR18,70));
VAR1B:=IF(VAR19>=150 AND VAR19<200 AND VAR1A>=150 AND VAR1A<200,-10,0);
VAR1C:=IF(VAR19<=-150 AND VAR19>-200 AND VAR1A<=-150 AND VAR1A>-200,10,0);
VAR1D:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR1E:=100-ABS(VAR1D);
風險2:IF(BARSCOUNT(CLOSE)<13,60,IF(VAR1E<88 AND VAR1D>0,40,60)),COLORCCFFCC,LINETHICK2;
出擊2:IF(BARSCOUNT(CLOSE)<13,-60,0-IF(VAR1E<92 AND VAR1D<0,40,60)),COLORF00FF0,LINETHICK2;
風險1:IF(BARSCOUNT(CLOSE)<70,80,IF(VAR1A>=200 AND VAR19>=150,-15,VAR1B)+80),LINETHICK2,COLORCCFF66;
出擊1:IF(BARSCOUNT(CLOSE)<70,-80,IF(VAR1A<=-200 AND VAR19<=-150,15,VAR1C)-80),COLORRED,LINETHICK2;
請高手幫我把下面公式改成通達信選股公式
VAR1:=1;rnVAR3:=LLV(HIGH,240);rnVAR4:=100*(CLOSE-VAR3)/VAR3*VAR1;rnVAR5:=REF(LLV(CLOSE,480),1)*VAR1;rnVAR6:=REF(HHV(CLOSE,480),1)*VAR1;rnVAR7:=100*(CLOSE-VAR5)/(VAR6-VAR5)*VAR1;rnVAR8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*VAR1;rnVAR9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100*VAR1;rnVARA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*VAR1;rnVARB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*VAR1;rnVARC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4*VAR1;rnVARD:=IF(VARC>23.16,VARC,0)*VAR1;rnVARE:=VARC<1*VAR1;rnVARF:=VARD*VAR1;rnVAR10:=VAR4<0 AND VAR7<0;rnVAR11:=1;rnVAR12:=(HIGH+LOW+CLOSE*2)/4;rnVAR13:=EMA(VAR12,21);rnVAR14:=STD(VAR12,21);rnVAR15:=((VAR12-VAR13)/VAR14*100+200)/4;rnVAR16:=(EMA(VAR15,89)-25)*1.56;rnVAR17:=EMA(VAR16,5)*1.22;rnVAR18:=EMA(VAR17,3);rnVAR19:=3*VAR17-2*VAR18;rnVAR1B:IF(CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19) AND CROSS(VAR18,VAR17),1,0);rnVAR1D:=EMA(CLOSE,3)-EMA(CLOSE,89);rnVAR1E:=EMA(VAR1D,21);rnVAR1F:=(VAR1D-VAR1E)*10;rnVAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);rn拉升資金:IF(VAR1F>0.015,VAR20,0)/45,COLORRED;rnVAR26:=EMA(CLOSE,2)-EMA(CLOSE,55);rnVAR27:=EMA(VAR26,13);rnVAR28:=2*(VAR26-VAR27);rnVAR29:POW(VAR28,3)*0.1+POW(VAR28,1);rnSTICKLINE(VAR29>0,0,VAR29,2,0),COLORYELLOW;rnCROSS(VAR29,0)AND REF(拉升資金,1)=0;VAR12:=(HIGH+LOW+CLOSE*2)/4;
VAR13:=EMA(VAR12,21);
VAR14:=STD(VAR12,21);
VAR15:=((VAR12-VAR13)/VAR14*100+200)/4;
VAR16:=(EMA(VAR15,89)-25)*1.56;
VAR17:=EMA(VAR16,5)*1.22;
VAR18:=EMA(VAR17,3);
VAR19:=3*VAR17-2*VAR18;
VAR1B:=IF(CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19) AND CROSS(VAR18,VAR17),1,0);
XG1:IF(CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19) AND CROSS(VAR18,VAR17),1,0);
以上是一個選股公式
VAR1D:=EMA(CLOSE,3)-EMA(CLOSE,89);
VAR1E:=EMA(VAR1D,21);
VAR1F:=(VAR1D-VAR1E)*10;
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
拉升資金:=IF(VAR1F>0.015,VAR20,0)/45,COLORRED;
VAR26:=EMA(CLOSE,2)-EMA(CLOSE,55);
VAR27:=EMA(VAR26,13);
VAR28:=2*(VAR26-VAR27);
VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
XG:CROSS(VAR29,0)AND REF(拉升資金,1)=0;
以上是另一個選股公式,但不知你想要哪一個?索性兩個一起發出來給你,你自己選吧
請高手把這個通達信主圖公式改成選股指標
選股2個要求,1、股價運行在‘中線’之上;2、‘短線’收盤價由灰色變為黃色。謝謝!!
N:=IF(BARSCOUNT(C)>=48,48,BARSCOUNT(C));
AMOV:=VOL*(C+L+H)/3;
MN:=SUM(AMOV,N)/SUM(VOL,N);
中線1:IF(C>=MN,MN,DRAWNULL),LINETHICK3,COLORYELLOW;
中線2:IF(C<MN,MN,DRAWNULL),LINETHICK3,COLORGRAY;
N1:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));
AMOV2:=VOL*(C+L+H)/3;
MN1:=SUM(AMOV,N1)/SUM(VOL,N1);
短線3:IF(C>=MN1,MN1,DRAWNULL),LINETHICK2,COLORYELLOW;
短線4:IF(C<MN1,MN1,DRAWNULL),LINETHICK2,COLORGREEN;
第一個
N:=IF(BARSCOUNT(C)>=48,48,BARSCOUNT(C));
AMOV:=VOL*(C+L+H)/3;
MN:=SUM(AMOV,N)/SUM(VOL,N);
XG1:C>MN;
第二個
N1:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));
MN1:=SUM(AMOV,N1)/SUM(VOL,N1);
XG2:C>=MN1 AND REF(C<MN1,1);
你說的收盤價由灰色變為黃色我沒看見,短線是由綠色變為黃色,中線是由灰色變為黃色,上面公式第一個是收盤價大于中線,第二個是短線由綠線變為黃色
有可能是胎記哈
ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)
請高手把這個指標公式改成選股公式(通達信)謝謝!
要求是,股價跌過前期低點(10-50個交易日內的低點)2%或更多時,下面對應的粉線的位置要高于前
面的A1的位置。請同時過濾掉st股和停牌股。
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;
粉線:IF(VAR8>100,100,VAR8)*VAR1,COLOR00FFFF;
主力線:STICKLINE(紫線>-150,0,粉線,6,1),COLOR00FFFF;
M:=10;N:=9;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
主力線:EMA(J,6),COLORFF00FF,LINETHICK2;
GG:=100*(1-WINNER(C))>99.8 AND V/CAPITAL*100<5 AND 100*(WINNER(1.1*C)-WINNER(0.9*C))
<3.9;
STICKLINE(C>REF(C,1) AND REF(GG,1)>0 AND VAR3,0,80,2,0),COLORRED;
DRAWTEXT(C>REF(C,1) AND REF(GG,1)>0 AND VAR3,85,'★最佳買點★'),COLORRED;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
粉線:=IF(VAR8>100,100,VAR8),COLOR00FFFF;
{STICKLINE(粉線>-150,0,粉線,6,1),COLOR00FFFF;}
M:=10;N:=9;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
主力線:=EMA(J,6),COLORFF00FF,LINETHICK2;
RX:粉線>1 AND REF(L,1)<REF(L,2) AND 主力線<20 AND C>O;
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;
粉線:=IF(VAR8>100,100,VAR8)*VAR1;
M:=10;N:=9;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
主力線:=EMA(J,6);
GG:=100*(1-WINNER(C))>99.8 AND V/CAPITAL*100<5 AND 100*(WINNER(1.1*C)-WINNER(0.9*C))<3.9;
count( C>REF(C,1) AND REF(GG,1)>0 AND VAR3,10) ;
測試成功。需要把前面的空格在公式上都去掉。沒有去除st股。
請高手把通達信這個公式改成選股公式,謝謝!
N:=40;rnN1:=20;rnVAR:((3 * SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1),3,1)));rn秘密買點:IF((VAR <= 3),55,0);N:=40;
N1:=20;
VAR1:=((3 * SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1),3,1)));
IF((VAR1 <= 3),55,0);
秘密買點:((3 * SMA((((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*100),5,1))
-(2*SMA(SMA((((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*100),5,1),3,1)))<=3;
做交易的本質不是考慮怎么賺錢,而是有效地控制風險,風險管理好,利潤自然來,交易不是勤勞致富,而是風險管理致富!沒有股神,沒有暴利,只求穩健投資. 聯系方式++ 810072722
---
相關推薦:
專利轉讓稅收怎么算(技術轉讓所得繳稅)
失信被執行人名單查(被法院列入失信被執行人名單后影響)
虐待兒童怎么處理(虐童觸犯了哪些法律)
兒童意外險是什么(意外險如何買 小孩子要買嗎)
哺乳期上班時間規定(勞動法哺乳期上班時間)