帮忙做个通达信选股,当出现预警的时候,谢谢。最好能在大智慧里面可以使用。

均价线:=AMOUNT/V/100;
C2:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,0,5,6,0),COLORYELLOW;
DRAWTEXT(涨停,8,'涨停'),COLORYELLOW;

MA13:=MA(C,13),COLORGRAY;
MA21:=MA(C,21),COLORWHITE;
支撑线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;

PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;

HH:=COUNT(涨停,13)>=1;
STICKLINE(PP2 AND HH,0,5,3,0),COLORRED;
STICKLINE(PP AND HH,0,5,3,0),COLORRED;
STICKLINE(PP3 AND HH,0,5,3,0),COLORRED;
DRAWTEXT(PP2 AND HH,8,'预警'),COLORRED;
DRAWTEXT(PP AND HH,8,'预警'),COLORRED;
DRAWTEXT(PP3 AND HH,8,'预警'),COLORRED;

A:=SMA(L,4,3) ;
绿色买入:IF (((A AND REF(PP,1) AND HH) OR (A AND REF(PP3,1) AND HH)),1,0 );
STICKLINE(A AND REF(PP,1) AND HH ,0,10,1,0),COLORGREEN;
DRAWICON(A AND REF(PP,1) AND HH,12,1);
STICKLINE(A AND REF(PP3,1) AND HH ,0,10,1,0)COLORGREEN;
DRAWICON(A AND REF(PP3,1) AND HH,12,1);

你这个公式是网上流传的叫做“涨停回马枪”中的副图指标。我给你一个全套的吧。
{涨停回马枪.副图}
均价线:=AMOUNT/V/100;
C2:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,0,5,6,0),COLORYELLOW;
DRAWTEXT(涨停,8,'涨停'),COLORYELLOW;
MA13:=MA(C,13),COLORGRAY;
MA21:=MA(C,21),COLORWHITE;
支撑线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
STICKLINE(PP2 AND HH,0,5,3,0),COLORRED;
STICKLINE(PP AND HH,0,5,3,0),COLORRED;
STICKLINE(PP3 AND HH,0,5,3,0),COLORRED;
DRAWTEXT(PP2 AND HH,8,'预警'),COLORRED;
DRAWTEXT(PP AND HH,8,'预警'),COLORRED;
DRAWTEXT(PP3 AND HH,8,'预警'),COLORRED;
A:=SMA(L,4,3) ;
绿色买入:IF (((A AND REF(PP,1) AND HH) OR (A AND REF(PP3,1) AND HH)),1,0 );
STICKLINE(A AND REF(PP,1) AND HH ,0,10,1,0),COLORGREEN;
DRAWICON(A AND REF(PP,1) AND HH,12,1);
STICKLINE(A AND REF(PP3,1) AND HH ,0,10,1,0)COLORGREEN;
DRAWICON(A AND REF(PP3,1) AND HH,12,1);

{涨停回马枪主图}
ZT:=C/REF(C,1)>1.096;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);
CZ:=REF(H,BH)-REF(L,BH);
STICKLINE(C,(REF(L,BH)+CZ*0.5),(REF(L,BH)+CZ*0.5),3,0),COLORRED;
STICKLINE(C,REF(L,BH),REF(L,BH),3,0),COLORBLUE;
STICKLINE(ZT,REF(O,BH),REF(C,BH),3,1),COLORYELLOW;
DRAWTEXT(ZT,L*0.98,'涨停'),COLORF00FF0;
VARZT:=BARSLAST(C/REF(C,1)>1.097);
STICKLINE(VARZT=2,L*0.97,L*0.98,3,0),COLOR0000FF;
DRAWTEXT(VARZT=2,L*0.95,'3天'),COLORYELLOW;
STICKLINE(VARZT=4,H*1.03,H*1.02,3,0),COLOR9966FF;
DRAWTEXT(VARZT=4,H*1.06,'5天'),COLORYELLOW;
STICKLINE(VARZT=7,L*0.97,L*0.98,3,0),COLOR00FFFF;
DRAWTEXT(VARZT=7,L*0.95,'8天'),COLORYELLOW;
STICKLINE(VARZT=12,H*1.03,H*1.02,3,0),COLORFF33FF;
DRAWTEXT(VARZT=12,H*1.06,'13天'),COLORYELLOW;
STICKLINE(VARZT=20,L*0.97,L*0.98,3,0),COLOR0066FF;
DRAWTEXT(VARZT=20,L*0.95,'21天'),COLORYELLOW;
STICKLINE(VARZT=33,H*1.03,H*1.02,3,0),COLOR9932CD;
DRAWTEXT(VARZT=33,H*1.06,'34天'),COLORYELLOW;
STICKLINE(VARZT=54,L*0.97,L*0.98,3,0),COLOR006600;
DRAWTEXT(VARZT=54,L*0.95,'55天'),COLORYELLOW;
STICKLINE(VARZT=88,H*1.03,H*1.02,3,0),COLOR00FF00;
DRAWTEXT(VARZT=88,H*1.06,'89天'),COLORYELLOW;
STICKLINE(VARZT=143,L*0.97,L*0.98,3,0),COLORCCFFFF;
DRAWTEXT(VARZT=143,L*0.95,'144天'),COLORYELLOW;
STICKLINE(VARZT=232 ,H*1.03,H*1.02,3,0),COLORFF0033;
DRAWTEXT(VARZT=232,H*1.06,'233天'),COLORYELLOW;
STICKLINE(VARZT=376,L*0.97,L*0.98,3,0),COLORFF9966;
DRAWTEXT(VARZT=376,L*0.95,'377天'),COLORYELLOW;

{涨停回马枪.选股}
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
震仓线:=45;
震仓线2:=50;
抄底线:=20;
PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
A:=SMA(L,4,3) ;
绿色买入:IF (((A AND REF(PP,1) AND HH) OR (A AND REF(PP3,1) AND HH)),1,0 );
温馨提示:内容为网友见解,仅供参考
第1个回答  2012-05-11
均价线:=AMOUNT/V/100;
C2:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
MA13:=MA(C,13),COLORGRAY;
MA21:=MA(C,21),COLORWHITE;
支撑线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
T1:=PP2 AND HH;
T2:=PP AND HH;
T3:=PP3 AND HH;
T1 OR T2 OR T3;本回答被提问者采纳
第2个回答  2012-05-09
涨停:IF(REF(C,1)*1.1-C<0.01 ,1,0);追问

是出现红柱子,预警,的时候。谢谢,再帮忙改改。

请帮忙把通达信预警修改为大智慧可用!谢谢
你好,大智慧里没有与通达信REFDATE完全一样的功能代替,但可以大概意思的转换。目前是这样的,所以修改后的结果,与通达信是有不同的,仅供参考,希望能够帮到你!高:=REF(HHV(H,150),3);A1:=ref(date,barslast(高));近期顶:=ref(c,barslast(date=a1));a2:=ref(date,barslast(近期顶));最...

...通达信的指标,改成底位出现笑脸预警选股指标,谢谢!
短高H:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+...

请老师帮我做一个通达信的预警公式,谢谢!
LC:=REF(CLOSE,1);RSI1:SMA(MAX(CLOSE-LC,0),9,1)\/SMA(ABS(CLOSE-LC),9,1)*100,COLORFF00FF;WR1:100*(HHV(HIGH,21)-CLOSE)\/(HHV(HIGH,21)-LLV(LOW,21)),COLOR00FFFF;DRAWICON(CROSS(RSI1,WR1),RSI1,1);=== {选股} LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),9,...

...做预警,就是MACD60分钟时候出现上穿和下破的时候预警
通达信只能以日线数据预警,从你发出的图就可以知道,“使用周期 日线”如果一定要以分钟数据预警,可以用大智慧试试

求大神编个通达信选股公式,能用在条件预警里就行
选股公式: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("...

求助:帮忙改个通达信公式成选股预警公式,非常感谢
L,5));T2:=100*(C-LLV(L,10))\/(HHV(C,10)-LLV(L,10));T3:=100*(C-LLV(L,20))\/(HHV(C,20)-LLV(L,20));T4:=100*(C-LLV(L,30))\/(HHV(C,30)-LLV(L,30));XG1:=BARSLAST(CROSS(T4,T1))<5 AND T1>T4;天瀑:=COUNT(XG1,3)=1 AND XG1;XG:EZTO AND 天瀑;

“~高手帮帮忙~”选股周期15分钟的指标,在通达信软件中怎么设置...
你多试几次就可以,因为有可能是你点击错了地方),点击‘设置预警委托’,弹出‘修改量价条件预警’,在该界面下点击左下角的‘所有设置’,弹出‘条件预警设置’,在该界面下点击‘公式设置’,在‘公式设置’下面选择‘添加公式’,在弹出的界面里选择公式‘kdj买入’就可以了!不清楚可以问我!

哪位高手帮编一个选股预警公式,谢谢!
TA1:=REF(L,2)=LLV(L,20) AND REF(H,2)<REF(H,3);TA2:=REF(C,1)>REF(O,3) AND C>REF(O,1) AND C>REF(O,3);TXG:TA1 AND TA2;看这合条件?二个通用。

请问能否给我编一个通达信的选股公式,可以预警的。条件:5日内15分钟...
通达信15分钟报警被限制了 公式为 N:=80;{5天有80个5分钟k线成交量} V>=HHV(V,N);{如果回答满意,请记得给采纳}

求高人,通达信选股预警延迟怎么解决
通达信预警选股出现延迟。首先把每天做好数据下载,不然选出的股有错误的。然后所做的选股范围不要太多,最好先做个范围的预选,缩小范围,减少数量,这样才可以计算加快,预警就快了。另外还一点,其他软件最好不要开,影响电脑计算速度,这也是原因。

相似回答