飞狐包杨通道副图指标
源码
Var1:=AMOUNT/VOL/100;
Var2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
Var3:=SUM(AMOUNT,7)/Var1/100;
CYC7:=DMA(Var2,VOL/Var3);
CYS7:=(CLOSE-CYC7)/CYC7*100;
包杨通道中上:=MA(CYS7,20)+STD(CYS7,20);
包杨通道中下:=MA(CYS7,20)-STD(CYS7,20);
包杨通道上:=MA(CYS7,20)+1.732*STD(CYS7,20);
包杨通道下:=MA(CYS7,20)-1.732*STD(CYS7,20);
包杨通道中:=MA(CYS7,20);
包杨临界:=CYS7;
【上】:包杨通道上,COLORFF9999;
【中上】:包杨通道中上,COLORCC66FF;
【中下】:包杨通道中下,COLORCC66FF;
【下】:包杨通道下,COLORFF9999;
【临界】:包杨临界,COLORYELLOW;
包杨排序:CYS7,POINTDOT,COLORWHITE;
STICKLINE(包杨通道中>0,包杨通道中,0,6,0),COLORRED;
STICKLINE(包杨通道中<=0,包杨通道中,0,6,0),COLORGREEN;