编写一个通达信股票主图公式?
原因是发电用煤价格的大幅上涨导致合并报表归属于本公司股东的净利润下降.从而导致他的市盈率很高。(市盈率=股价/每股收益)
该股还是不错的,有奥运概念和整天上市预期。可以适量参与
请高手编写一个通达信主图公式
请高手编写一道通达信息公示很好编的向往上网查吧
通达信主图公式
综价:=(3*C+O)/4;
综价均3:=WMA(综价,3);
短升:=综价均3>REF(综价均3,1);
金操盘线;
IF(短升,金操盘线,DRAWNULL),COLOR008888,LINETHICK3;
IF(短升,金操盘线,DRAWNULL),COLORYELLOW;
STICKLINE(短升,H,L,0,0),COLORYELLOW;
STICKLINE(短升,O,C,3,0),COLOR3666EE;
STICKLINE(短升,O,C,3,0),COLOR2299EE;
STICKLINE(短升,O,C,3,0),COLOR11AAEF;
STICKLINE(短升,O,C,3,0),COLOR00BBFE;
STICKLINE(短升,O,C,3,0),COLOR00CCFE;
STICKLINE(短升,O,C,3,0),COLOR00DDFF;
STICKLINE(短升,O,C,2,0),COLOR00EEFF;
STICKLINE(短升,O,C,1,0),COLOR00FFFF;
STICKLINE(NOT(短升),H,L,0,0),COLOR006600;
STICKLINE(NOT(短升),O,C,3,0),COLOR006600;
买入:短升 AND COUNT(短升,2)=1,COLOR0000FF,LINETHICK0;
DRAWICON(买入,L,1);
HGY:=17;
转强信号:=FILTER(COUNT((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-
REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),
HGY),1))<REF((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,
HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1)),1),5)>=4
AND ((WINNER(C*0.95)>0.5 AND COST(85)<C AND (100*(EMA(EMA(EMA(C,HGY),
HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),
HGY),HGY),1))>0) OR ((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA
(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))>
REF((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),
HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1)),1) AND (100*(EMA(EMA(
EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/
REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))>0) OR ((100*(EMA(EMA(EMA(C,HGY),
HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),
HGY),HGY),1))<=0 AND (100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(
EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))>REF((
100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),
1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1)),1))),5),COLOR00FFFF;
STICKLINE(转强信号,L*0.99,L*0.97,3,0),LINETHICK1,COLORRED;
STICKLINE(转强信号,L*0.99,L*0.97,1,0),LINETHICK1,COLORYELLOW;
DRAWTEXT(转强信号,L*0.95,转强信号)COLORYELLOW;
止损:=REF(HHV(H,13),1)*0.95,COLORGRAY,DOTLINE;
STICKLINE(CURRBARSCOUNT=1,止损,止损,80,-1),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,止损*0.995,盘中破坚决止损★),COLORGREEN;
买卖:(EMA(C,3.14)+EMA(C,6.28))/2,COLORRED,NODRAW;
吸:买卖*0.935,COLORWHITE,NODRAW;
抛:买卖*1.075,COLORYELLOW,NODRAW;
DRAWTEXT(L<买卖*0.935,L*0.98,吸1/5)COLORWHITE;
DRAWTEXT(L<买卖*0.935,L*0.95,反弹出)COLORYELLOW;
DRAWTEXT(H>买卖*1.075 AND C/REF(C,1)<1.091,H*1.04,抛一半)COLORWHITE;
DRAWTEXT(H>买卖*1.075 AND C/REF(C,1)<1.091,H*1.01,再低吸)COLORYELLOW;
通达信主图公式有哪些
打开公式编辑器,即可逐个查看到所有主图指标公式.。
请高手将这个通达信指标改为选股预警公式。选出资金流入强度上穿20的股票
如果用它选股,按上图设置就可以选出,只是公式运算量较大,速度慢。
如果用它预警,把公式放在“条件选股公式”分组。去掉绘图语句,最后加上一句,然后设置预警条件就可以了。
ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算}
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//散户筹码估算}
ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率}
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}
ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}
ZZNTS:=BARSLAST(ZSHTL<90 AND REF(ZSHTL,1)>90);{//走牛天数}
ZSHJJ:=EMA(ZSHTL,89);{//散户警戒}
ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}
ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}
cross(ZJLRQD, 20);
请高手给我把通达信主力控盘公式改成选出开始控盘的选股公式
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
开始控盘:CROSS(控盘,0);
测试通过,
希望能够帮助你!