PureBytes Links
Trading Reference Links
|
Var: MP(0);
If marketposition=1 then MP=1;
If marketposition=-1 then MP=-1;
If MP=1 and blabla then sell;
If MP=-1 and blabla then buy;
That should do. Idea is to have a marker, and act if marker is OK.
Yours
Gwenn
Tullman, Mitch a écrit:
> Hi,
>
> A system I wrote in tradestation makes too many trades. It
> will take a position, get out at a profit , then reestablsh the same
> position on
> the next bar.
>
> Is there a way to not take a new signal until it is opposite direction
> of last signal?
>
> I want buy sell buy sell........not buy buy buy sell sell
|