预警选股公式条件:1.股价上穿“相对高点”;
2.同时在资金指数指标中要满足"主流资金>非主流资金 "。
公式源码如下:
自动划线公式源码:
HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;
AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
QY:=BACKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
DRAWICON(CC,H*1.02,2);
DDD:=BARSLAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=CONST(DINGBUTS);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=CONST(DINGBUTS1);
DINGBU2:=REF(DINGBU1,DDD+1);
MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT;
相对高点:DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT;
AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
DRAWICON(CC1,L*0.98,1);
DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(DD1,REF(L,DD1),L);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=CONST(DDTS1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=CONST(DDTS2);
低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2;
ZGSTAR:=(高点压力+低点支撑)/2;
ZGEND:=CONST((高点压力+低点支撑)/2);
STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);
中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENTA,POINTDOT,;
DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,POINTDOT;
资金指数源码:
主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2;
非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORBLUE,LINETHICK2;
弱势区:20,LINETHICK1,COLORGREEN;
强弱分水岭:50,LINETHICK1,COLORWHITE;
强势区:80,LINETHICK1,COLORF00FF0;
请高手帮忙用这个通达信指标公式改编成预警选股公式,先谢谢!
朋友,以下是你要的预警选股公式:AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);BB1:=0;B1万元:=DVOL*DCLOSE\/100;B1差:=B1万元-REF(B1万元,1);B2万元:=DVOL*DCLOSE\/1...
请高手帮忙把这个公式改成通达信条件预警选股公式 跪谢
公式帮你改好了 MB1:=EMA(WINNER(C)*100,5),COLORYELLOW;MB2:=EMA(MB1,2),COLORBLUE;MB3:=EMA(MB2,2),COLORBLUE;MB4:=EMA(MB3,2),COLORBLUE;N:=5;VAR2:=MB1;VAR3:=DRAWLINE(VAR2>=HHV(VAR2,N)=1,VAR2,VAR2<=LLV(VAR2,N)=1,VAR2,1);预警XG:REF(VAR2,1)=REF(VAR3...
烦请高手帮忙修改通达信公式为预警公式。
MA1:=MA(CLOSE,M1);MA2:=MA(CLOSE,M2);MA3:=MA(CLOSE,M3);MA4:=MA(CLOSE,M4);DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIF,9);AAA:=(DIF-DEA)*2*60;起爆:CROSS(AAA-REF(AAA,1),15);将它放进一选股公式里,然后在预警系统-条件预警设置里面选择添加公式,把此公式添加好,...
求大神编写通达信预警公式,同时满足下面三个条件的选股
选股:CROSS(JRS,0.8)AND CROSS(0.9,1\/VOL*1000>0.01 AND "KDJ.J"<0)AND COUNT(J<0,8)>=3 AND CROSS(J,1) AND K>=REF(K,1);
(通达信)恳请高手将其改成预警公式或选股公式; 以便在“短买”出现预 ...
在“短买”出现预警(预警公式)JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)\/6;VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR3:=(REF(VAR2,1) ...
求老师修改成通达信的选股预警公式
V,1)\/REF(V,2)>=3 AND REF(C,1)\/REF(C,2)>1.02;ZA3:=C>REF(H,1);突破假阴:ZA1 AND ZA2 AND ZA3;{阳吞阴} AC1:=REF(C,1)\/REF(C,2)<0.92;AC2:=C>REF(O,1) AND C\/REF(C,1)>1.05;阳吞阴:AC1 AND AC2;股票公式专家团为你解答,希望能帮到你,祝投资顺利。
请求好人高手把这个公式做成通达信选股预警公式,主力筹码集中度线金叉主...
LOW,34))\/(HHV(HIGH,34)-LLV(LOW,34)),3);指数趋势:=EMA(100*(INDEXC-LLV(INDEXL,34))\/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);强弱分界:=80;主力筹码集中度:=WINNER(C)*100;散筹筹码集中度:=(WINNER(C*1.1)-WINNER(C*0.9))*100;选股:CROSS(主力筹码集中度,主力持仓);...
求大神编个通达信选股公式,能用在条件预警里就行
选股公式:TJ1:=CROSS(C,MA(C,10)) AND CROSS(C,MA(C,20));TJ2:=CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30));TJ3:=CROSS(C,MA(C,30)) AND CROSS(C,MA(C,60));TJ4:=CROSS(C,MA(C,60)) AND CROSS(C,MA(C,120));XG:CROSS("MACD.DIF","MACD.DEA") AND RANGE("...
请高手将这个通达信指标改为选股预警公式。选出资金流入强度上穿20的...
如果用它选股,按上图设置就可以选出,只是公式运算量较大,速度慢。如果用它预警,把公式放在“条件选股公式”分组。去掉绘图语句,最后加上一句,然后设置预警条件就可以了。ZLCM:=EMA(WINNER(CLOSE)*70,3);{\/\/主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{\/\/...
请高手帮我的公式修改选股公式通达信用的
福星:=EMA(来势线,7);VAR1:=CLOSE\/REF(LLV(LOW,35),5)< 1;决策:=IF(VAR1,0.5,0);必买:IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,1,-1);必卖:=IF(PEAKBARS(3,15,1)=1,1,2);趋势线:=(EMA(WINNER(CLOSE),7)-EMA(WINNER(CLOSE),35))*5;逃顶线:=EMA(CLOSE\/REF(HHV...