求最低价等于或小于薛氏通道2(通道3)选股指标,条件;股价6天前涨停,今天最低价等于或小于薛氏通道2里(通道3)的选股指标。下面是通达信的薛氏通道2的源码,请老师帮忙。谢谢。 AA:=MA((2*CLOSE+HIGH+LOW)/4,5); 通道1:AA*N/100; 通道2:AA*(200-N)/100; CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); DD:=DMA(CLOSE,CC); 通道3:(1+M/100)*DD; 通道4:(1-M/100)*DD;
爱约股解答:
M:=7;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+M/100)*DD;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
REF(涨幅>9.5,6) AND L<=通道3;