优品公式指标《趋势走强》,好的帮手,是默默出手,就在拉升前

大家平时分析盘面的时候都比较费脑子,结果分析出来的结果也不尽人意,那么笔者自己编写了一组指标,大家可以一起学习一下,主要是分析主力进场,然后精准找到介入时机,出逃提示也很明显,精准度结果,避免了不必要的风险。

指标说明

先简单的说一下主图(趋势走强),此指标分析10日到20日平行线的量价,结合成交量给出相应的提示(箭头符号)。然后是(主力资金进场)副图,这个指标只有一种信号,当出现时就表示有主力介入,这时候就可以考虑介入了。

由于源码过长,笔者就只把主图源码发在下方了。

走强趋势源码

VAR1:=REF(MA(C,20),10);开:=O-VAR1;高:=H-VAR1;低:=L-VAR1;收:=C-VAR1;MID:=MA(C,20);

UPPER:=MID+2*STD(C,20);LOWER:=MID-2*STD(C,20);V1:=(C-LOWER)/(UPPER-LOWER)*100;

V2:=V1-EMA(V1,5);K1:=SUM(LLV(V2,4),4)/4;V3:=EMA(V2,64)*10;V4:=EMA(0.4*V2*(-1),3);

V5:=-1*EMA(V2,39)*10;A:=V3>10;B:=V2>V4;D:=V5>10;E:=V3<=10 OR V2<=V4 OR V5<=10;

STICKLINE(收>=开 AND E,C,O,2.75,0) ,COLORYELLOW;

STICKLINE(收< 开 AND E,C,O,2.75,0) ,COLORYELLOW;

STICKLINE(开> 收 AND A,C,O,2.75,0),COLORFF0000;

STICKLINE(开<=收 AND A,C,O,2.75,0),COLORYELLOW;

STICKLINE(开> 收 AND B,C,O,2.75,0),COLORFF00FF;

STICKLINE(开<=收 AND B,C,O,2.75,0),COLORFF00FF;

STICKLINE(开> 收 AND D,C,O,2.75,0),COLORGREEN;

量:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;

量1:=EMA(量);

量2:=EMA(量);

量3:=EMA(量);

T1:=量2>=量3 AND 量1<REF(量1,1);

T2:=量2< 量3 AND 量1>REF(量1,1);

STICKLINE(T1,C,O,1.25,0),COLORFF7700;

STICKLINE(T1,C,O,1.25,0),COLORFF7700;

STICKLINE(T2,C,O,1.25,0),COLORRED;

STICKLINE(T2,C,O,1.25,0),COLORRED;

N:=10;{WWW.BUYHAOGU.COM}

大:=CLOSE/REF(CLOSE,1)>=1.08 OR ((H-L)/REF(C,1)>0.1 AND C=H);

STICKLINE(大,C,O,2.75,0),COLOR007FFF;

DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;

DBB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;

MA5:MA(C,5)*IF(CONST(MA(C,5)) AND CURRBARSCOUNT<=4,1,DRAWNULL)COLORYELLOW LINETHICK3;

NN:=8;

AA:=REF(H,NN)=HHV(H,2*NN+1); AA1:=REF(L,NN)=LLV(L,2*NN+1);

QY:=BACKSET(AA,NN+1); QY1:=BACKSET(AA1,NN+1);

CC:=FILTER(QY,NN) AND H=HHV(H,NN+1);

CC1:=FILTER(QY1,NN) AND L=LLV(L,NN+1);

DRAWICON(CC1,L,1);

DRAWICON(CC,H,2);

DDD:=BARSLAST(CC); DD1:=BARSLAST(CC1);

GDTS:=IF(CC,CURRBARSCOUNT,0); DDTS:=IF(CC1,CURRBARSCOUNT,0);

DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);

GDCS1:=CONST(DINGBUTS); DDCS1:=CONST(DDTS1);

GDCS13:=CONST(REF(HIGH,GDCS1-1)); DDCS13:=CONST(REF(L,DDCS1-1));

DINGBUTS1:=REF(DINGBUTS,DDD+1); DDTS2:=REF(DDTS1,DD1+1);

GDCS2:=CONST(DINGBUTS1); DDCS2:=CONST(DDTS2);

GDCS23:=CONST(REF(HIGH,DINGBUTS1-1)); DDCS23:=CONST(REF(L,DDTS2-1));

XG1:=BACKSET(ISLASTBAR,GDCS1); XD1:=BACKSET(ISLASTBAR,DDCS1);

XG2:=BACKSET(ISLASTBAR,DINGBUTS1); XD2:=BACKSET(ISLASTBAR,DDTS2);

STICKLINE(XG2,GDCS23,GDCS23,1,1),COLORRED;

STICKLINE(XG1,GDCS13,GDCS13,1,1),COLORRED;

DDDDDDD:STICKLINE(XD2,DDCS23,DDCS23,1,1),COLORGREEN;

EEEEEEE:STICKLINE(XD1,DDCS13,DDCS13,1,1),COLORGREEN;

(0)

相关推荐