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;
【中下】:包杨通道中下,COLORred;
【下】:包杨通道下,COLORgreen;
【临界】:包杨临界,COLORYELLOW;