飞狐包杨逃顶主图指标
源码
Var1:=AMOUNT/VOL/100;
Var2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
Var3:=SUM(AMOUNT,7)/Var1/100;
Var4:=DMA(Var2,VOL/Var3);
Var5:=(CLOSE-Var4)/Var4*100;
包杨通道中上:=MA(Var5,20)+STD(Var5,20);
包杨通道上:=MA(Var5,20)+1.732*STD(Var5,20);
包杨临界:=Var5;
BIAS18:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;
Var6:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K:=SMA(Var6,3,1);
STICKLINE(REF(BIAS18,1)>=5 AND CROSS(包杨通道中上,包杨临界) AND K>79 ,MA(CLOSE,25)*(1-6/100),MA(LOW,30)*(1-15/100),5,0),color0099ff;
STICKLINE(REF(BIAS18,1)>=5 AND CROSS(包杨通道上,包杨临界) AND K>79,MA(CLOSE,25)*(1-6/100),MA(LOW,30)*(1-15/100),5,0),color0099ff;