请老师帮忙做个当日突破五指通道上轨的选股公式 谢谢 源码是 MA5:MA(CLOSE,5), COLOR0000FF; MA10:MA(CLOSE,10) ,COLOR00FF00; N:=3; VAR11:=MA(CLOSE,N); VAR12:=MA(CLOSE,2*N); VAR13:=MA(CLOSE,3*N); VAR14:=MA(CLOSE,4*N); VAR15:=MA((VAR11+VAR12+VAR13+VAR14)/4,5); 上轨:VAR15*1.08,COLORYELLOW,LINETHICK2; 下轨:VAR15*0.92,COLORYELLOW,LINETHICK2; 中上:VAR15*1.05,COLORGREEN,LINETHICK2; 中下:VAR15*0.95,COLORGREEN,LINETHICK2; 再帮忙做个当日突破轨道线(ENE)上轨的选股公式 源码是 n 2.00 120.00 25.00 m1 2.00 120.00 6.00 m2 2.00 120.00 6.00 UPPER:(1+M1/100)*MA(CLOSE,N); LOWER:(1-M2/100)*MA(CLOSE,N); ENE:(UPPER+LOWER)/2;
爱约股解答:
{1}
N:=3;
VAR11:=MA(CLOSE,N);
VAR12:=MA(CLOSE,2*N);
VAR13:=MA(CLOSE,3*N);
VAR14:=MA(CLOSE,4*N);
VAR15:=MA((VAR11+VAR12+VAR13+VAR14)/4,5);
上轨:=VAR15*1.08;
CROSS(C,上轨);
================
{2}
CROSS(C,(1+6/100)*MA(C,25));