好用且易用的主图--喜鹊登枝
发贴前看过发贴须知,可惜,本人不会指标使用说明,与指标及技术相关的使用实用技巧,那就看图说话吧。领导如觉得不合规范,烦请删除,谢谢!
柔柔自编
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+7/100)*DD;
通道4:=(1-7/100)*DD;
股价:=(H+L+C)/3;
股价运动:=股价,LINETHICK2,COLORBLUE;
M5:MA(C,5);
LL:MA(C,10),LINETHICK2,COLORRED;
高险区1:LL*1.1,COLORLICYAN;高风区2:LL*1.125,COLORLICYAN;高风区3:LL*1.15,COLORLICYAN;
良机区1:LL*0.9,COLORLIBLUE;良机区2:LL*0.875,COLORLIBLUE;良机区3:LL*0.85,COLORLIBLUE;
QM:=((C-LL)/LL*100>10 AND C>通道3) OR ((H-LL)/LL*100>10 AND H>通道3 ) OR ((O-LL)/LL*100>10 AND O>通道3);
DRAWICON(QM AND FILTER(QM,3),H+0.01,6);
WM:=((C-LL)/LL*100<-10 AND C<通道4) OR ((O-LL)/LL*100<-10 AND O<通道4 ) OR((L-LL)/LL*100<-10 AND L<通道4);
QW1:=LL>REF(LL,1);
DRAWICON(WM AND QW1 AND FILTER(WM,3),L-0.01,5);
QW2:=((C-LL)/LL*100<-15 AND C<通道4) OR ((O-LL)/LL*100<-15 AND O<通道4 ) OR((L-LL)/LL*100<-15 AND L<通道4);
DRAWICON(QW2 AND FILTER(QW2,3),L-0.03,9);
WSR1:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
WSR2:=CROSS(WSR1,5);
WSR3:=CROSS(8,WSR1);
WSR4:=CROSS(WSR1,-5);
WSR5:=CROSS(WSR1,-8);
WSR6:=WSR3;
WSR7:=WSR4 OR WSR5;
WSR8:=WSR7 AND FILTER(WSR7,5);
WSR10:DRAWICON(WSR8,L-0.01,1);
WSR9:=WSR6 AND FILTER(WSR6,5);
WSR11:DRAWICON(WSR9,H+0.01,2);
顶:BBI+3*STD(BBI,13),COLORYELLOW,LINETHICK1;
底:BBI-3*STD(BBI,13),COLORYELLOW,LINETHICK1;
{主图精准线}
BN:=20;
C2:XMA(C,2),COLORWHITE;
MA10:=MA(C2,10),COLORYELLOW;
MA20:=MA(C2,BN),COLORGREEN;
MA60:=MA(C2,60),COLORBLUE;
{布林线信号}
{BOLL:=MA20;
UPPER:BOLL+1.618*STD(C2,BN),COLORGREEN;
LOWER:BOLL-1.618*STD(C2,BN),COLORGREEN;
DRAWICON(CROSS(C2,LOWER),L*0.97,7);{买信号B}
{DRAWICON(CROSS(UPPER,C2),H*1.03,8);{卖信号S}
{精准线}
N:=3;
L0:=0.02;
L1:=ABS(L-REF(L,1))<=L0;
L2:=ABS(L-REF(L,2))<=L0;
L3:=ABS(L-REF(L,3))<=L0;
{L4:=ABS(L-REF(L,4))<=L0;
L5:=ABS(L-REF(L,5))<=L0;}
精准线首次:=L1 OR L2 OR L3 {OR L4 OR L5};
精准左:=FILTER(精准线首次,N) ;
天数:=BARSLAST(精准左);
LTS:=REF(L,天数);
精准右:=ABS(L-LTS)<=L0;
STICKLINE(精准左,L,L,50,-1),COLORMAGENTA;
DRAWLINE(精准左,L,精准右,LTS,1),COLORMAGENTA;
喜鹊蹬枝
VAR1:=MA(CLOSE,30);
下轨: VAR1-2*STD(CLOSE,60),COLORCYAN;
成本: MA(CLOSE,60),POINTDOT,COLORMAGENTA,LINETHICK4;
上轨: VAR1+2*STD(CLOSE,60),COLORWHITE;
喜鹊:SAR(10,2,20),COLORYELLOW,LINETHICK2;
满仓:0.72*MA(FORCAST(CLOSE,2),40),POINTDOT,COLOR0000FF;
DRAWTEXT(CROSS(满仓,L),L*0.98,'满');
低吸:0.82*MA(FORCAST(CLOSE,2),40),POINTDOT,COLORF7E300;
A:=REF(C,1)>L AND 低吸>L;
DRAWTEXT(A,L,'');
AB:=CROSS(满仓,L) AND A;
DRAWICON(AB,L,1);
VAR1A:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR2A:=REF(HIGH,10)/CLOSE>1.35;
VAR3A:=(COST(20)-CLOSE)/CLOSE>0.15;
VAR4A:=HIGH>LOW*1.051;
秋风起蟹膏满:=VAR4A AND COUNT(VAR4A,5)>1;
蟹膏满:=(((CLOSE-VAR1A)/VAR1A*100<-30) OR VAR2A) AND VAR3A AND 秋风起蟹膏满;
DRAWTEXT(蟹膏满,L*0.9,'');
BB:=蟹膏满 AND A;
DRAWICON(BB,L,1);
BA:=CROSS(满仓,L) AND 蟹膏满;
DRAWICON(BA,L,1);
SS:(MA(CLOSE,8) * 0.998),COLORBLUE;
短期乖离率:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * 100);
VARA:=EMA(((AMOUNT / VOL) / 100),3);
D:=LLV(CLOSE,20);
XXY:=EMA(VARA,88);
XXD:=(XXY * 0.74);
DRAWTEXT(FILTER(((((((短期乖离率 < 6) AND (OPEN <= D)) AND (LOW <= XXD))
AND ((CLOSE / OPEN) > 1.03)) AND (CLOSE > REF(CLOSE,1)))
AND ((CLOSE / LOW) > 1.03)),5),(LOW - (LOW * 0.09)),'★'),COLORFF00FF;
VAR111:=REF(C,1);
VAR122:=SMA(MAX(C-VAR111,0),18,1)/SMA(ABS(C-VAR111),18,1)*100;
DRAWTEXT(CROSS(79,VAR122),H*1.04,' 抛↓'),COLOR33FF33;
另附柔柔自编主图合精准线于一身,
简单实用通道-自用简单实用指标!你绝对会喜欢的(源码)http://www.fxjgsw.com/soft/sort013/sort05/down-23320.html
|