[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] AFL (Beginner Question)



PureBytes Links

Trading Reference Links

Hi Anthony,
as a beginner I unfortunately don't understand the meaning
of the following statements in your code. Can you please give
an explanation what is going on here:

...
> Short=Sell;Cover=Buy;
> Buy=ExRem(Buy,Sell);Sell=ExRem(Sell,Buy);
> Short=ExRem(Short,Cover);Cover=ExRem(Cover,Short);
> Filter=1;
> AddColumn(Buy,"buy");AddColumn(Sell,"sell");
...

I disabled them but then AB gives an error.
I wanted the formula be applied for Long positions only
and it is OK being out of trade.

Regards
anty3de