金叉叉: 条件 and 今大于昨 and 金叉 ,PRECIS0,ColorABFF46,linethick0;
DRAWTEXT(金叉叉,HIGH * 1.05,'火山'),linethick1,COLORYellow;
选股公式代码
input :n(10,1,100,1),m(6,1,100,1);
OSC:=100*(CLOSE-MA(CLOSE,N));
MAOSC:=EMA(OSC,M);
今大于昨:=OSC REF(OSC,1 );
条件:=OSC 0 and MAOSC
金叉:=CROSS(OSC ,MAOSC );
金叉叉: 条件 and 今大于昨 and 金叉;