一目了然 据说不错
卖线:EMA(((SLOPE(CLOSE,34) * 20) + CLOSE),75),LINETHICK2,COLORMAGENTA;
顶: COST(95)*1,NODRAW,COLORRED;
VARY:=(2*CLOSE+HIGH+LOW)/4;
底: EMA(VARY,99)*0.91,NODRAW,COLORGREEN ;
M1:=L*2-REF(H,27/2);
M2:=REF(H,27/2)*2-L;
M3:=(M1+M2)/2;
趋势判断:MA(M3,27*2),COLOR0000FF,NODRAW;
阻力价:HHV(HIGH,19),COLORBLUE,NODRAW;
VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR2:=EMA(VAR1,9);
VAR3:=(CLOSE*2.5/100+CLOSE);
买线:EMA(C,3),COLORYELLOW;
VAR5:=LLV(HIGH,240);
VAR6:=100*(CLOSE-VAR5)/VAR5;
VARF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;
DRAWICON(COUNT(REF(买线,1)<REF(买线,2),5)=5 AND 买线>REF(买线,1),L*0.98,4);
DRAWICON(FILTER(COUNT(VAR6<0,5)AND CROSS(VAR6,0)AND VARF>REF(VARF,1)AND C>O,3),L,1);
DRAWICON(FILTER(REF(买线,1)>REF(买线,2)AND 买线<REF(买线,1)AND VARF>17 AND VAR1>VAR2,5),H,2);
DRAWICON(阻力价>REF(阻力价,1)AND CROSS(阻力价,VAR3)AND C<O,H*1.02,5);
N1:=30;
T11:=CONST(HHVBARS(V,N1));
平30:IF(CURRBARSCOUNT<=N1+7,CONST(IF(T11=0,H,REF(H,T11))),DRAWNULL);
IF(CURRBARSCOUNT=T11+1,平30,DRAWNULL),CIRCLEDOT;
DRAWTEXT(ISLASTBAR,平30,'量能');
N:=10;
T1:=CONST(HHVBARS(V,N));
台10:IF(CURRBARSCOUNT<=N+7,CONST(IF(T1=0,H,REF(H,T1))),DRAWNULL);
IF(CURRBARSCOUNT=T1+1,台10,DRAWNULL),CIRCLEDOT;
DRAWTEXT(ISLASTBAR,台10,'平台'),COLORLIRED;
- 上一篇公式:主图-{牛熊彩K}
- 下一篇公式:洗盘结束及选股公式源码(主图 源码)