- UID
- 2
- 积分
- 2893117
- 威望
- 1396590 布
- 龙e币
- 1496527 刀
- 在线时间
- 13326 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-12-26
|
组图配合使用,绝对没有未来函数,每一个波段都看的清清楚楚,真正能抓住低点,并能逃顶,不要太贪哟
1;布林带主图
- MA7:EMA(CLOSE,7),COLORFFFFFF;
- MID:MA(CLOSE,20),COLORYELLOW;
- UPPER:MID+2*STD(CLOSE,20),COLORRED,DOTLINE;
- LOWER:MID-2*STD(CLOSE,20),COLORGREEN,DOTLINE;
- EMA1:EMA(C,5),COLORFFFFFF,LINETHICK0;
- EMA2:EMA(C,21),COLORYELLOW,LINETHICK0;
- STICKLINE(C>=OPEN,C,OPEN,3.5,0),COLOR0000AA;
- STICKLINE(C>=OPEN,C,OPEN,3.0,0),COLOR0000CC;
- STICKLINE(C>=OPEN,C,OPEN,2.0,0),COLOR0000EE;
- STICKLINE(C>=OPEN,C,OPEN,1.5,0),COLOR0000FF;
- STICKLINE(C>=OPEN,C,OPEN,0.5,0),COLORFF00FF;
- STICKLINE(C>=OPEN,C,OPEN,0.4,0),COLORFF00FF;
- STICKLINE(C>=OPEN,C,OPEN,0.2,0),COLORFF00FF;
- STICKLINE(OPEN>=C,C,OPEN,3.5,0),COLORAAAA00;
- STICKLINE(OPEN>=C,C,OPEN,3.0,0),COLORBBBB00;
- STICKLINE(OPEN>=C,C,OPEN,2.0,0),COLORCCCC00;
- STICKLINE(OPEN>=C,C,OPEN,1.5,0),COLOREEEE00;
- STICKLINE(OPEN>=C,C,OPEN,0.5,0),COLORFFFF00;
- STICKLINE(OPEN>=C,C,OPEN,0.4,0),COLORFFEE00;
- STICKLINE(OPEN>=C,C,OPEN,0.2,0),COLORFFEE00;
- VAR31:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
- VAR41:=CROSS(VAR31,0.9);
- VAR51:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
- VAR61:=CROSS(VAR51,0.9);
- 压力:= REF(HIGH,BARSLAST(VAR41));
- STICKLINE(C,REF(HIGH,BARSLAST(VAR41)),REF(HIGH,BARSLAST(VAR41)),8,1),COLORFFFFFF;
- 支撑:= REF(LOW,BARSLAST(VAR61));
- STICKLINE(C,REF(LOW,BARSLAST(VAR61)),REF(LOW,BARSLAST(VAR61)),8,1),COLORYELLOW;
- DRAWICON(CROSS(EMA1,EMA2),EMA2*1.00,5);
- DRAWICON(CROSS(EMA2,EMA1),EMA2*1.00,6);
- DRAWICON(CROSS(C,EMA1),L*1.00,7);
- DRAWICON(CROSS(EMA1,C),H*1.00,8);
- DRAWICON(CROSS(C,EMA2),L*1.00,7);
- DRAWICON(CROSS(EMA2,C),H*1.00,8);
- DRAWICON(CROSS(C,压力),L*1.00,1);
- DRAWICON(CROSS(支撑,C),H*1.00,2);
复制代码
2;附图成交量
- X:=CONST(DATE);
- Y:=IF(DATE<X, 240, FROMOPEN);
- 上证昨日额亿:REF("999999$AMOUNT",1)/100000000,NODRAW;
- 上证今日额亿:"999999$AMOUNT"/Y*240/100000000,NODRAW;
- 上证预计额比:"999999$AMOUNT"/Y*240/REF("999999$AMOUNT",1),NODRAW;
- 123456, COLORBLACK, NODRAW;
- 个股预计量万:VOL/Y*240/10000,NODRAW;
- 预计量比:VOL/Y*240/REF(VOL,1),COLORYELLOW,NODRAW;
- 总交易日:=BARSCOUNT(CLOSE);
- STICKLINE((VOL/Y*240)=CONST(LLV(VOL,60)),CONST(HHV(VOL,70)),(VOL/Y*240),2,0),COLORYELLOW;
- STICKLINE((VOL/Y*240)=CONST(LLV(VOL,总交易日)),CONST(HHV(VOL,70)),0,0.5,0),COLOR006432;
- DRAWTEXT((VOL/Y*240)=CONST(LLV(VOL,60)) AND (VOL/Y*240)>CONST(LLV(VOL,总交易日)),CONST(HHV(VOL,70))*0.7,'量底'),COLORYELLOW;
- DRAWTEXT((VOL/Y*240)=CONST(LLV(VOL,60)) AND (VOL/Y*240)=CONST(LLV(VOL,总交易日)),CONST(HHV(VOL,70))*0.7,'绝对量底'),COLORYELLOW;
- NOTEXTVOLUME:VOL,VOLSTICK;
- NOTEXTVOL5:MA(VOL,5);
- NOTEXTVOL10:MA(VOL,10);
- {上证成交额直观描述}
- 预计变化:=(上证预计额比-1)*100;
- 预计1:=CONST(IF(预计变化>=40,1,0));
- 预计2:=CONST(IF(预计变化>=30 AND 预计变化<40,1,0));
- 预计3:=CONST(IF(预计变化>=20 AND 预计变化<30,1,0));
- 预计4:=CONST(IF(预计变化>=10 AND 预计变化<20,1,0));
- 预计5:=CONST(IF(预计变化>=5 AND 预计变化<10,1,0));
- 预计6:=CONST(IF(ABS(预计变化)<5,1,0));
- 预计7:=CONST(IF(预计变化<=-5 AND 预计变化>-10,1,0));
- 预计8:=CONST(IF(预计变化<=-10 AND 预计变化>-20,1,0));
- 预计9:=CONST(IF(预计变化<=-20 AND 预计变化>-30,1,0));
- 预计10:=CONST(IF(预计变化<=-30 AND 预计变化>-40,1,0));
- 预计11:=CONST(IF(预计变化<=-40,1,0));
- 位置1:=PERIOD=5 AND CURRBARSCOUNT=34;
- DRAWTEXT(预计1=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘猛烈放量40%以上'), COLORFF00FF;
- DRAWTEXT(预计2=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘大幅放量30-40%'), COLORFF00FF;
- DRAWTEXT(预计3=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘放量20-30%'), COLORFF00FF;
- DRAWTEXT(预计4=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘放量10-20%'), COLORFF00FF;
- DRAWTEXT(预计5=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘轻微放量5-10%'), COLORFF00FF;
- DRAWTEXT(预计6=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘成交额小幅波动±5%'), COLORFF00FF;
- DRAWTEXT(预计7=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘轻微缩量5-10%'), COLORFF00FF;
- DRAWTEXT(预计8=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘缩量10-20%'), COLORFF00FF;
- DRAWTEXT(预计9=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘缩量20-30%'), COLORFF00FF;
- DRAWTEXT(预计10=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘大幅缩量30-40%'), COLORFF00FF;
- DRAWTEXT(预计11=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘猛烈缩量40%以上'), COLORFF00FF;
- {大盘KDJ,RSI超跌,牛熊市都能用}
- 上证J超跌:=CONST(IF("999999$KDJ.J"<=5,1,0));
- 上证R超跌:=CONST(IF("999999$RSI.RSI1"<=20,1,0));
- DRAWTEXT(上证J超跌=1 AND 上证R超跌=0 AND CURRBARSCOUNT=15, CONST(HHV(NOTEXTVOLUME,70))*0.6, '上证KDJ超跌(小于5),有反弹预期');
- DRAWTEXT(上证J超跌=0 AND 上证R超跌=1 AND CURRBARSCOUNT=15, CONST(HHV(NOTEXTVOLUME,70))*0.6, '上证RSI超跌(小于20),有反弹预期');
- DRAWTEXT(上证J超跌=1 AND 上证R超跌=1 AND CURRBARSCOUNT=15, CONST(HHV(NOTEXTVOLUME,70))*0.6, '上证KDJ-RSI都超跌(小于5或20)');
复制代码
3;趋势顶底
Z 1 60 5 n 1 60 9- HIGH1:=IF(HIGH<REF(H,1),(H+L)*0.5,HIGH);
- LOW2:=IF(LOW>=(REF(L,1)+REF(L,2))/2,CLOSE,LOW);
- LOW1:=IF(LOW>=REF(LOW,1),CLOSE,LOW);
- CLOSE1:=IF(CLOSE>=REF(CLOSE,1),CLOSE,(HIGH1+LOW2)*0.5);
- VARA:=IF(CLOSE=CLOSE,(CLOSE+LOW+OPEN+HIGH+HIGH1+LOW2)/6,AMOUNT/(100*VOL));
- VARU1:=LLV(LOW1,30);
- VARA1:=HHV(HIGH1,30);
- VARU2:=LLV(LOW1,21);
- VARA2:=HHV(HIGH1,21);
- CC:=MA((VARA-VARU2)/(VARA2-VARU2)*100,11);
- CC1:=EMA(CC,7),COLOR336699;
- B:=EMA((VARA-VARU1)/(VARA1-VARU1)*101,13);
- B1:=EMA(B,8);
- 移动平均A:STICKLINE(B-B1>0 ,B*1.03,B1,2,1),COLOR336699;
- 移动平均B:STICKLINE(B-B1<=0,B*1.03,B1,2,1),COLOR777777;
- KDCM:=100*(1-WINNER(C));
- 空头筹码FILLRGN:=(C>1,KDCM,0),COLORCCFF66;
- DDCM:=100*WINNER(C);
- 多头筹码FILLRGN:=(C>1,DDCM,0),COLORCCCCFF;
- 获利平均值:EMA(100*WINNER(C),20),COLOR00DD00,LINETHICK2;
- 获利99:=MA(COST(99),5);
- 获利80:=MA(COST(80),5);
- 均线5日:=MA(C,5);
- 获利20:=MA(COST(20),5);
- 获利1:=MA(COST(1),5);
- A11:=(获利99-获利80)/获利80*100;
- A2:=(获利80-获利20)/获利20*100;
- AA3:=(获利20-获利1)/获利1*100;
- A4:=IF(A2<10,95,95 );
- A5:=IF(A2<15,50,50 );
- A6:=IF(A2<20,25,25 );
- 密集度:A2,COLORFF1177,LINETHICK2;
- 高密集:=A4,COLOR00AAFF,LINETHICK1;
- 中密集:=A5,COLORFF00FF,LINETHICK1;
- 低密集:=A6,COLORE66878,LINETHICK1;
- 金牛牛:=IF(获利平均值>=密集度,获利平均值,DRAWNULL),COLOR00CCFF,LINETHICK2;
- YK:=BACKSET(获利平均值>REF(获利平均值,1),5);
- YKNO:=BACKSET(获利平均值<REF(获利平均值,1),5);
- 金牛金牛:IF(获利平均值>=密集度 AND YK,获利平均值,DRAWNULL),COLOR0000FF,LINETHICK3;
- 泥牛泥牛:IF(获利平均值<密集度 AND YKNO,获利平均值,DRAWNULL),CROSSDOT,COLORFFAA77,LINETHICK2;
- STICKLINE(获利平均值>=密集度 AND YK,获利平均值,密集度,0,1),COLOR0033FF;
- A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
- D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
- +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
- +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
- REF(A,20))/211;
- D2:=EMA(D1,2);
- D3:=EMA(D2,2);
- K1:=EMA(D3,2);
- VARAA:=ZIG(3,Z);
- RSV:=(VARAA-LLV(VARAA,N))/(HHV(VARAA,N)-LLV(VARAA,N))*100;
- K:SMA(RSV,3,1),COLORFFFFFF,LINETHICK1;
- D:SMA(K,3,1),COLORCC33DD,LINETHICK1;
- J:=3*K-2*D,COLORFFFFFF,LINETHICK1;
- 金叉RSI:=DRAWICON(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),50,1);
- 波段升:STICKLINE(CROSS(D1,K1) AND CC>=CC1,1,30,0.1,0),COLOREE99FF;
- 波段下:STICKLINE(CROSS(K1,D1) AND CC<CC1,100,73,0.1,0),COLORFFFF00;
- DIFFR:=EMA(CLOSE,12)-EMA(VARA,26);
- DEAR:=EMA(DIFFR,9),COLORFFFFFF,LINETHICK1;
- MACDA:=EMA(CLOSE,12)-EMA(CLOSE,26);
- MACDD:=EMA(CLOSE,9)-EMA(CLOSE,12);
- MACDB:=EMA(CLOSE,9)-EMA(CLOSE1,12);
- MACDH:=EMA(CLOSE,12)-EMA(CLOSE1,26);
- MACDC:=EMA(CLOSE,8)-EMA(CLOSE1,15);
- MACDM:=EMA(CLOSE,7)-EMA(CLOSE,11);
- 中线持仓:=IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL);
- 中线空仓:=IF(CLOSE<SAR(4,2,20),SAR(4,2,20),DRAWNULL);
- DXB:=COUNT(CROSS(MACDM,0) OR CROSS(MACDD,0) OR CROSS(MACDA,0),15)>=2;
- DXC:=COUNT(CROSS(MACDM,0) OR CROSS(MACDD,0) OR CROSS(MACDA,0) OR CROSS(MACDH,0),20)>=2;
- DXD:=COUNT(CROSS(MACDM,0) OR CROSS(MACDC,0) OR CROSS(MACDH,0) OR CROSS(MACDB,0),20)>=2;
- DXE:=COUNT(CROSS(MACDM,0) OR CROSS(MACDH,0) OR CROSS(MACDB,0) OR CROSS(MACDD,0) OR
- CROSS(MACDA,0),30)>=4;
- MD:=BACKSET(DEAR>=REF(DEAR,1),2);
- 卖点:IF(PEAKBARS(3,15,1)=1,67,100),COLOR00FF44,LINETHICK2;
- 买点:IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,33,0),COLORAA00FF,LINETHICK2;
- STICKLINE((MACDC>=0 OR MACDH>=0) AND 中线持仓 AND (DXB OR DXC OR DXD OR DXE) AND MD
- ,10,0,3,0),COLOR0000FF;
- MCST:=DMA(AMOUNT/(100*VOL),VOL/CAPITAL);
- DIF:=EMA(EMA(CLOSE,18)-EMA(CLOSE,34),11);
- MACD:=EMA(EMA(DIF,11),11),COLOR58FF58;
- DEF:=2*(DIF-MACD),COLORFFFF00,LINETHICK0;
- STICKLINE(C>=MCST AND 获利平均值>=密集度 AND YK,8,2,1.6,0),COLOR00EEFF;
- 金牛:DRAWTEXT(CROSS(获利平均值,密集度),获利平均值,'※金牛出现★'),COLOR00FFFF;{上穿密集度-金牛出现};
复制代码
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|