飞狐波段买卖副图指标
源码
M:=100;N:=120;P:=5;
Q1:=600*(EMA(CLOSE,3) - EMA(low,30))/EMA(low,30),colorblue;
Q:=EMA(Q1,7);
T:=(WINNER(n*C/100)-WINNER(m*C/100))*100,color009900,linethick2;
D:=-100*(WINNER(n*C/100)-WINNER(m*C/100))+p,color3399ff,linethick2;
波段买入: if(((T+D)<7 and CROSS(Q1,Q) and Q<-18) AND Q
波段卖出: if((T+D)<7 and CROSS(Q,Q1) and Q1>10,-50,0),STICK;
逃顶:if((T+D)<7 and CROSS(Q,Q1) and Q1>50 and Q>T,-100,0), STICK;
DRAWICON(波段买入>0,100 ,1 );
DRAWICON(波段卖出<0,-50 ,2);
DRAWICON(逃顶<0,-100 ,2);