您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信公式>>正文内容

快抢筹码主图指标公式[通达信公式]

相关标签:

 

注册有一段时间了,可惜自己不会编写指标,现在整合了几位论坛里高手的指标,放在一起,感觉有一些参考价值,希望给大家借鉴,指标不是万能的哦!(忘记了是哪几位高手,请见谅!)
准确主图

 

原理解析:


 

 

源码:

MA05:MA(C,5)LINETHICK3,COLOR00CCFF;MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);五日乖离率:=(C-MA05)/MA05*100;BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED;BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;IF(BB05<0 AND MA05<REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORGREEN;三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) AND MA30<REF(MA30,1);BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05<REF(MA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10<REF(MA10,1),10);DRAWTEXT(加仓 ,LOW*0.98,'←加仓'),COLORRED;JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10>REF(MA10,1) ;减仓:=FILTER(JC,10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30;买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.02,'←风险'),COLORCYAN;DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;DRAWTEXT(清仓 ,HIGH*1.02,'←清仓'),COLORGREEN;DRAWTEXT(强势狙击,LOW*0.98,'←强势狙击'),COLORYELLOW;VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;A:=MAX(MA(C,60),MA(C,120));E:=MAX(MA(C,45),MA(C,90));J:=MAX(MA(C,30),MA(C,60));A1:=DATE <= 13181231;生命线:=(MA(C,25)) * A1;牛线1:=(MA(C,40)) * A1;FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);趋势:=IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17));年线:=EMA(C,250);LA:=趋势-(EMA(C,3)-趋势);反线:=EMA((年线-(EMA(C,3)-年线)),5);追涨:=EMA(COST(81),10);牛熊线:=EMA(COST(27),120),DOTLINE;做空68:= HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-L,5);平衡点:= LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3);XG:=CROSS(做空68,牛熊线);DRAWTEXT(XG,L*0.95,'←主'),COLOR00FF00;DRAWTEXT(XG,L*0.90,'←浪'),COLOR00FF00;M2:=EMA(C,2);M18:=EMA(C,18);:=IF(CROSS(M18,M2),5,0* 10000),COLORFF00FF,LINETHICK2;RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;VARB2:=(RSVV/2+22)*1;Q:=EMA(VOL,13);Y:=EMA(AMOUNT,13);S:=((Y /Q) / 100);X:=(((CLOSE -S) / S) * 100);F:=((X < (0)) AND ZXNH);XQ:=F AND RSVV<VARB2-2;收阴买:= AND XQ ,STICK,COLORYELLOW,LINETHICK3;DRAWTEXT(收阴买,L*0.98,'←快买'),COLORYELLOW;M5:=MA(C,5);M10:=MA(C,10);M20:=MA(C,20);M60:=MA(C,60);YC5:=PPART(5)*100;YC100:=PPART(100)*100;C85:=COST(85);C15:=COST(15);B1:=C85-C15;B2:=(C85+C15)/2;B3:=B1/B2*100<15 AND YC5>90 AND YC100<15;ZF:=RANGE((C-REF(C,1))/REF(C,1)*100,-3,3) AND M5>=REF(M5,1); XG1:=EVERY(ZF,3) AND M10>=M20 AND B3 AND M5>M60 AND ASR>80;STICKLINE(CROSS(XG1,0.5),C,O,1.8,0),COLORLIMAGENTA;STICKLINE(CROSS(XG1,0.5),H,L,0,0),COLORLIMAGENTA;DRAWTEXT(CROSS(XG1,0.5),L*0.98,'←快抢筹码'),COLORYELLOW;DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
 

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容