要上班了,为感谢论坛各位老师、同学的支持特发此帖,主图命为大头组合拳,副图包括大头工作休息、大头一线、大头新量(新量指标为东郭版,纯属搬运动作,觉得好一起放出),至于使用者喜欢怎么命名自便。
主图、副图工作休息、一线均采用无加密导出指标,分时版面为无加密导出指标(依据证券软件及数据交流区 理想牛肉面 老师的通达信分时看盘面板修改),仅新量放出源码和导出指标。
采用以上做法目的:进来看了,觉得有参考意义则顶一个,拿下使用的加两分,闲言碎语的免开尊口,谢谢;其二,行情演变,指标具有时间局限性,因此主图指标设定了1年限时,通达信加密技术烂的要死,还是放开算了;其三,既然只为论坛同学服务,故重新放开。
本帖属于本人原创作品,因此将使用原创的字眼。
一、组合拳构成与主图基本用法和指标:
组合拳构成与图标含义
{大头组合拳主图}
VARA:=(MA(C,13)+MA(C,17))/2;
VARB:=(STD(C,13)+STD(C,17))/2;
VARC:=IF((C>REF(C,1)),88,0);
VARD:=VARA+0.72*VARB;
VARF:=IF(((C)/(REF(C,1))>1.05) AND H/C<1.01 AND VARC>0,91,0);
VARE:=IF(VARB>1.88 ,MA(VARD,3),VARD);
VARG:=EMA(EMA(C,9),9);
CON:=(VARG-REF(VARG,1))/REF(VARG,1)*1000;
HCON:=100*WINNER(C*0.95);
VAR1:=EMA(EMA(EMA(C,5),5),5);
VAR2:=VAR1-REF(VAR1,1)+VAR1;
VAR3:=CROSS(VAR2,MA(VAR2,26));
VAR4:=CROSS(MA(C,13),MA(C,21));
VAR5:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
VAR6:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
VAR7:=IF(VAR6<=10,30,0);
VARJ:=SMA(VAR5,3,1);
VARK:=SMA(VARJ,3,1);
VARL:=EMA(SMA((C-LLV(L,19))/(HHV(H,19)-LLV(L,19))*100,8,1),3);
VARM:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
VAR8:=(VARL>20 AND VARL<80);
VAR9:=((VARL-REF(VARL,1))>3 AND VAR8);
VAR10:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*100,5);
VAR11:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*50,13);
止赢:VARE*1.1,COLORRED;
压力:VARE*1.05,COLORBLUE;
支撑:VARE*0.95,COLOR18FF18;
反转:VARE*0.9,COLORYELLOW;
平衡:VARE,COLORFFFFFF;
DRAWTEXT(ISLASTBAR,止赢,'止赢'),COLORRED;
DRAWTEXT(ISLASTBAR,压力,'压力'),COLORBLUE;
DRAWTEXT(ISLASTBAR,支撑,'支撑'),COLOR18FF18;
DRAWTEXT(ISLASTBAR,反转,'反转'),COLOR18CCFF;
DRAWTEXT(ISLASTBAR,平衡,'平衡'),COLORFFFFFF;
DRAWTEXT(FILTER((VARF>90),34),LOW*0.965,'◆'),COLORRED;
STICKLINE(HCON>50 AND COST(85)<C AND CON>0,O,C,1.8,0),COLORFF00FF;
DRAWTEXT(VAR3 AND VAR4,L*0.95,'圆底'),COLORYELLOW;
STICKLINE(CROSS(VARJ,VARK) AND CROSS(MACD.DIF, MACD.DEA),C,O,1,0),COLORYELLOW;
DRAWTEXT(VAR7<REF(VAR7,1),L*0.98,'抢'),COLORYELLOW;
DRAWTEXT(FILTER(VAR9,5),L*0.97,'加'),COLORFF00FF;
DRAWICON(CROSS(76,VARM),H,16);
重心:AMOUNT/VOL/100,POINTDOT,LINETHICK5,COLORYELLOW;
布林极限:BB,COLORFF00FF,NODRAW;
RSI1:RSI.RSI1,COLORRED,NODRAW;
KDJJ:KDJ.J,COLORWHITE,NODRAW;
STICKLINE(CROSS(VAR10, VAR11),O,C,1.6,1),COLORRED;
STICKLINE(CROSS(VAR10, VAR11),O,C,1,1),COLORRED;
DRAWTEXT(FILTER(CROSS(C,反转) OR CROSS(C,支撑) OR CROSS(C,平衡) OR CROSS(C,压力),3),L*0.995,'买'),COLORRED;
DRAWTEXT(FILTER(CROSS(反转,C) OR CROSS(支撑,C) OR CROSS(平衡,C) OR CROSS(压力,C),3),H*1.02,'卖'),COLORGREEN;
{大头一线源码}
VAR1:=HHV(FORCAST(C,10),18);
VAR2:=HHV(FORCAST(C,10),8);
VAR3:FORCAST(C,10),COLOR00FF00;
买入:IF(VAR3>REF(VAR3,1) AND COUNT(VAR3>REF(VAR3,1),2)=1,L,DRAWNULL),COLORFF00FF,CIRCLEDOT,LINETHICK4;
加仓:IF(VAR2=VAR3,VAR3,DRAWNULL),COLORYELLOW,LINETHICK2;
持股:IF(VAR1=VAR2 AND VAR2=VAR3,VAR3,DRAWNULL),COLORRED,LINETHICK3;
{大头工作休息源码}
VAR1:=(C- LLV(L,32)) / (HHV(H,32) - LLV(L,32)) * 1.2 * C;
VAR2:=EMA(VAR1,3);
VAR3:=EMA(VAR1,5);
VAR4:=EMA(VAR1,7);
VARA:=VAR3 >= VAR4 AND VAR2 < REF(VAR2,1);
VARB:=VAR3 < VAR4 AND VAR2 > REF(VAR2,1);
超短:MA(VAR2,6);
短线:MA(超短,2);
加仓:=C/REF(C,1)>=1.09 OR ((H-L)/REF(C,1)>0.1 AND C=H);
STICKLINE(VAR2 >= VAR3,VAR4,VAR2,3,0),COLORRED;
STICKLINE(VARA,VAR2,VAR4,3,0),COLORFFEE44;
STICKLINE(VARA,VAR2,VAR4,1,0),COLORBLUE;
STICKLINE(VARB,VAR2,VAR4,3.3,0),COLOR00DDFF;
STICKLINE(VARB,VAR2,VAR4,1,0),COLORRED;
STICKLINE(加仓,VAR2,VAR4,1,0),COLORYELLOW;
DRAWTEXT(FILTER(VARB,3),VAR2*0.96,'醒醒'),COLORFF00FF;
DRAWTEXT(CROSS(短线,超短),VAR4*1.05,'睡觉'),COLORLIBLUE;
DRAWTEXT(CROSS(短线,超短) AND COUNT(CROSS(短线,超短),10)=2,VAR4*1.2,'跑'),COLORGREEN;
|