优化分水岭副图 选股 源码
参数
n1 5 1 20 1
n2 10 5 50 1
n3 12 3 50 1
源码
SW1:(EMA(CLOSE,N1)*7+EMA(CLOSE,N2)*3)/10;
SW2:DMA(EMA(CLOSE,N3),SUM(VOL/CAPITAL,5)/3);
选股
分水1:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
分水2:=DMA(EMA(CLOSE,12),SUM(VOL/CAPITAL,5)/3);
分水岭选:CROSS(分水1,分水2);