中线牛股,短线买入(大智慧)

INPUT:N(21,1,999),P1(60,0,100);

VAR0:=MIN(COUNT(ORDER(2),0),P1);

A:=EMA((BIGORDER(1) - BIGORDER(2)) * vol/CAPITAL * 100,VAR0) * VAR0;

B:EMA(MA(A,3),55);

牛市:COUNT(MA(B,5)>REF(MA(B,5),1),3)>=3;

AB:牛市 AND LLV(L,N)=L AND NOT(LLV(B,N)=B) ,Color0000FF;

中线黑马短线出击:REF(AB,1)=1 AND AB=0 AND B>REF(B,1);