The trade issue

Author: The fat boy, Created: 2019-06-13 20:39:02, Updated:

img

I set L to trade across the MA line & H to trade across the MA line, but only the first time the MA line crossed the K line did the trade trigger, and the next 3 cycles met the set conditions but did not trigger the trade After three cycles, it starts again.

This is why, here's my trick, please point out to me how to achieve the conditions to trigger.

MAN^^MA(C,N);

T1:=CROSS(H,MAN); T2:=CROSSDOWN(L,MAN); T1=1&&C>MAN&&BKVOL<1,BPK; T1=1&&C<MAN&&SKVOL<1,SPK; T2=1&&C>MAN&&BKVOL<1,BPK; T2=1&&C<MAN&&SKVOL<1,SPK;

AUTOFILTER; MULTSIG(0,0,100,0);


More

The fat boyThis is used to determine whether the current holdings are used.

The Little DreamThere is a problem with coding, it seems, judging what BKVOL <1 and SKVOL <1 do.

The Little DreamLess than 1 means no holdings. Why do you want BPK?