PureBytes Links
Trading Reference Links
|
Terry, thanks for the reply. In my code I'm using:
Sell=ExRem(Sell,Buy);
Buy=ExRem(Buy,Sell);
Cover=ExRem(Cover,Short);
Short=ExRem(Short,Cover);
The problem I'm having is generating a series of signals like sell,
short, sell, short, without a previous buy or cover signal and I don't
understand how that could happen. I've tried different combinations
like exrem(Buy,sell+cover), for example, and I'm still getting signals
that don't make sense. Any idea how to fix that or are there any
programs that include different short/cover signals that I could copy?
Chuck
--- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxx> wrote:
>
> It doesn't matter if Sell = Short, or not. All the function does is
> remove redundant signals AFTER Buy/Sell/Short/Cover has been processed.
> This way you can PlotShapes using Buy/Sell/Short/Cover and you will only
> see the signals you would take.
>
> Buy = ExRem(Buy,Sell); //Removes redundant Buy signals
> Sell = ExRem(Sell,Buy); //Removes redundant Sell signals.
> Do the same for Short,Cover
> --
> Terry
|