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

筹码堆积,漂亮的筹码公式(通达信公式 副图指标公式 公式、源码 测试图)[通达信公式]

相关标签:

 

{公式名称: 筹码堆积公式描述: 副图 2☆☆☆◆保留参数数量: 1参数1: N1, 最小: 1, 最大: 1000, 缺省: 6参数精灵:请设置计算参数:N1: Param#0 (1.00--1000.00)用法注释:无公式源码:}cxh1:=13;cxh2:=30;cxh3:=(CLOSE+OPEN+LOW+HIGH)/4;cxh4:=WINNER(cxh3*1.04)*100;cxh5:=WINNER(cxh3*0.96)*100;A04:cxh5,NODRAW;A08:cxh4-cxh5,NODRAW;A06:100-cxh4,NODRAW;STICKLINE(1,100,cxh4,2,1),COLORGREEN;STICKLINE(1,0,A08,2,0),COLOR000080;STICKLINE(1,0,A04,2,0),COLORRED;中轴:50,DOTLINE,COLORGREEN;cxh6:=EMA(CLOSE,60)-EMA(CLOSE,300);cxh7:=EMA(cxh6,300);cxh8:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;买入线:SMA(cxh8,2,1),COLORWHITE;卖出线:SMA(买入线,2,1),COLORGREEN;cxh9:=CLOSE/REF(CLOSE,3)>=1.1;cxh10:=BACKSET(cxh9,3);大涨买:IF(cxh10 AND COUNT(cxh10,3)=1,50,0),LINETHICK0;DRAWTEXT(大涨买,50,5);STICKLINE(FILTER(大涨买,5)=1,0,20,3,0),COLORYELLOW;DRAWTEXT(大涨买 AND 大涨买,LOW*0.8,6),COLORWHITE;cxh11:=PEAKBARS(3,15,1)<10;cxh12:=IF(cxh11=1,50,0);cxh13:=IF(cxh12=50,100,0);卖:IF(cxh13>REF(cxh13,1),50,0),LINETHICK0;STICKLINE(FILTER(卖,5)=1,0,20,3,0),COLORFF8800;DRAWTEXT(卖 AND 卖,LOW*0.6,7),COLORWHITE;cxh14:=TROUGHBARS(3,15,1)<10;cxh15:=IF(cxh14=1,50,0);cxh16:=IF(cxh15=50,50,0);买:IF(cxh16>REF(cxh16,1),40,0),LINETHICK0;DRAWTEXT(买,40,8);{程序化久久公式网}STICKLINE(FILTER(买,5)=1,0,20,2,0),COLOR999999;DRAWTEXT(买 AND 买,LOW*0.2,9),COLORWHITE;DRAWRECTREL(323,999,0,632.400024,IF(120,RGB(0,20,0),0));cxh17:=L2_AMO(0,2)/10000;cxh18:=L2_AMO(1,2)/10000;cxh19:=L2_AMO(2,2)/10000;cxh20:=L2_AMO(3,2)/10000;cxh21:=(-L2_AMO(0,3))/10000;cxh22:=(-L2_AMO(1,3))/10000;cxh23:=(-L2_AMO(2,3))/10000;cxh24:=(-L2_AMO(3,3))/10000;cxh25:=cxh17+cxh18+cxh19+cxh20+(cxh21+cxh22+cxh23+cxh24);cxh26:=cxh19+cxh23;cxh27:=cxh17+cxh18+(cxh21+cxh22);cxh28:=SUM(cxh27,3);cxh29:=SUM(cxh27,10);cxh30:=cxh17+cxh21;cxh31:=cxh18+cxh22;cxh32:=cxh20+cxh24;cxh33:=cxh17+cxh18;cxh34:=cxh21+cxh22;cxh35:=cxh19+cxh20;cxh36:=cxh23+cxh24;cxh37:=SUM(cxh25,3);cxh38:=SUM(cxh25,10);cxh39:=LARGEINTRDVOL*100/VOL;cxh40:=LARGEOUTTRDVOL*100/VOL;cxh41:=IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0);cxh42:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);cxh43:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*100/CAPITAL;DRAWRECTREL(100,910,2,805,IF(CONST(cxh41)>0,RGB(192,17,127),RGB(0,100,0)));DRAWRECTREL(207,910,115,805,IF(CONST(cxh42)>0,RGB(192,17,27),RGB(0,100,0)));DRAWRECTREL(324,910,219,805,IF(CONST(cxh43)>0,RGB(192,17,27),RGB(0,100,0)));DRAWTEXT_FIX(1,0.003,0.807,0,STRCAT(10,CON2STR(cxh41,2))),COLOR00AA00;DRAWTEXT_FIX(1,0.118,0.807,0,STRCAT(11,CON2STR(cxh42,2))),COLORWHITE;DRAWTEXT_FIX(1,0.223,0.807,0,STRCAT(12,CON2STR(cxh43,2))),COLORWHITE;cxh44:=IF(cxh41>0 AND REF(cxh41,1)<0,1,0);cxh45:=IF(cxh41>0 AND REF(cxh41,1)>0 AND REF(cxh41,2)<0,2,cxh44);cxh46:=IF(cxh41>0 AND REF(cxh41,1)>0 AND REF(cxh41,2)>0 AND REF(cxh41,3)<0,3,cxh45);cxh47:=IF(cxh41>0 AND REF(cxh41,1)>0 AND REF(cxh41,2)>0 AND REF(cxh41,3)>0 AND REF(cxh41,4)<0,4,cxh46);cxh48:=IF(cxh41>0 AND REF(cxh41,1)>0 AND REF(cxh41,2)>0 AND REF(cxh41,3)>0 AND REF(cxh41,4)>0 AND REF(cxh41,5)<0,5,cxh47);cxh49:=IF(cxh41>0 AND REF(cxh41,1)>0 AND REF(cxh41,2)>0 AND REF(cxh41,3)>0 AND REF(cxh41,4)>0 AND REF(cxh41,5)>0 AND REF(cxh41,6)<0,6,cxh48);cxh50:=IF(cxh41>0 AND REF(cxh41,1)>0 AND REF(cxh41,2)>0 AND REF(cxh41,3)>0 AND REF(cxh41,4)>0 AND REF(cxh41,5)>0 AND REF(cxh41,6)>0 AND REF(cxh41,7)<0,7,cxh49);cxh51:=IF(cxh41>0 AND REF(cxh41,1)>0 AND REF(cxh41,2)>0 AND REF(cxh41,3)>0 AND REF(cxh41,4)>0 AND REF(cxh41,5)>0 AND REF(cxh41,6)>0 AND REF(cxh41,7)>0 AND REF(cxh41,8)<0,8,cxh50);cxh52:=IF(cxh41>0 AND REF(cxh41,1)>0 AND REF(cxh41,2)>0 AND REF(cxh41,3)>0 AND REF(cxh41,4)>0 AND REF(cxh41,5)>0 AND REF(cxh41,6)>0 AND REF(cxh41,7)>0 AND REF(cxh41,8)>0 AND REF(cxh41,9)<0,9,cxh51);cxh53:=IF(cxh41>0 AND REF(cxh41,1)>0 AND REF(cxh41,2)>0 AND REF(cxh41,3)>0 AND REF(cxh41,4)>0 AND REF(cxh41,5)>0 AND REF(cxh41,6)>0 AND REF(cxh41,7)>0 AND REF(cxh41,8)>0 AND REF(cxh41,9)>0,10,cxh52);DRAWTEXT_FIX(1,0.075,0.803,0,STRCAT(STRCAT(13,CON2STR(cxh53,0)),14)),COLORWHITE;cxh54:=IF(cxh42>0 AND REF(cxh42,1)<0,1,0);cxh55:=IF(cxh42>0 AND REF(cxh42,1)>0 AND REF(cxh42,2)<0,2,cxh54);cxh56:=IF(cxh42>0 AND REF(cxh42,1)>0 AND REF(cxh42,2)>0 AND REF(cxh42,3)<0,3,cxh55);cxh57:=IF(cxh42>0 AND REF(cxh42,1)>0 AND REF(cxh42,2)>0 AND REF(cxh42,3)>0 AND REF(cxh42,4)<0,4,cxh56);cxh58:=IF(cxh42>0 AND REF(cxh42,1)>0 AND REF(cxh42,2)>0 AND REF(cxh42,3)>0 AND REF(cxh42,4)>0 AND REF(cxh42,5)<0,5,cxh57);cxh59:=IF(cxh42>0 AND REF(cxh42,1)>0 AND REF(cxh42,2)>0 AND REF(cxh42,3)>0 AND REF(cxh42,4)>0 AND REF(cxh42,5)>0 AND REF(cxh42,6)<0,6,cxh58);cxh60:=IF(cxh42>0 AND REF(cxh42,1)>0 AND REF(cxh42,2)>0 AND REF(cxh42,3)>0 AND REF(cxh42,4)>0 AND REF(cxh42,5)>0 AND REF(cxh42,6)>0 AND REF(cxh42,7)<0,7,cxh59);cxh61:=IF(cxh42>0 AND REF(cxh42,1)>0 AND REF(cxh42,2)>0 AND REF(cxh42,3)>0 AND REF(cxh42,4)>0 AND REF(cxh42,5)>0 AND REF(cxh42,6)>0 AND REF(cxh42,7)>0 AND REF(cxh42,8)<0,8,cxh60);cxh62:=IF(cxh42>0 AND REF(cxh42,1)>0 AND REF(cxh42,2)>0 AND REF(cxh42,3)>0 AND REF(cxh42,4)>0 AND REF(cxh42,5)>0 AND REF(cxh42,6)>0 AND REF(cxh42,7)>0 AND REF(cxh42,8)>0 AND REF(cxh42,9)<0,9,cxh61);cxh63:=IF(cxh42>0 AND REF(cxh42,1)>0 AND REF(cxh42,2)>0 AND REF(cxh42,3)>0 AND REF(cxh42,4)>0 AND REF(cxh42,5)>0 AND REF(cxh42,6)>0 AND REF(cxh42,7)>0 AND REF(cxh42,8)>0 AND REF(cxh42,9)>0,10,cxh62);DRAWTEXT_FIX(1,0.183,0.803,0,STRCAT(STRCAT(13,CON2STR(cxh63,0)),14)),COLORWHITE;cxh64:=IF(cxh43>0 AND REF(cxh43,1)<0,1,0);cxh65:=IF(cxh43>0 AND REF(cxh43,1)>0 AND REF(cxh43,2)<0,2,cxh64);cxh66:=IF(cxh43>0 AND REF(cxh43,1)>0 AND REF(cxh43,2)>0 AND REF(cxh43,3)<0,3,cxh65);cxh67:=IF(cxh43>0 AND REF(cxh43,1)>0 AND REF(cxh43,2)>0 AND REF(cxh43,3)>0 AND REF(cxh43,4)<0,4,cxh66);cxh68:=IF(cxh43>0 AND REF(cxh43,1)>0 AND REF(cxh43,2)>0 AND REF(cxh43,3)>0 AND REF(cxh43,4)>0 AND REF(cxh43,5)<0,5,cxh67);cxh69:=IF(cxh43>0 AND REF(cxh43,1)>0 AND REF(cxh43,2)>0 AND REF(cxh43,3)>0 AND REF(cxh43,4)>0 AND REF(cxh43,5)>0 AND REF(cxh43,6)<0,6,cxh68);cxh70:=IF(cxh43>0 AND REF(cxh43,1)>0 AND REF(cxh43,2)>0 AND REF(cxh43,3)>0 AND REF(cxh43,4)>0 AND REF(cxh43,5)>0 AND REF(cxh43,6)>0 AND REF(cxh43,7)<0,7,cxh69);

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


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

相关文章

    没有相关内容