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

Re: Stops implementation in AFL (Arrows available)



PureBytes Links

Trading Reference Links

Hi,

I tried to download this file a couple of times, and I always got 0 
byte. Please help.

Thomas

--- In amibroker@xxxx, "Marek Chlopek" <mchlopek@xxxx> wrote:
> Hi all,
> 
> Please find attached afl script with stops implementation directly 
as a
> afl code without using ApplyStop formula. This implementation gives
> possibility to get arrows on the chart.
> Also please note this stops have been split into two parts - for 
long
> and short trades.
> Also activation level is defined as a level when stop should be
> activated. By multiplying stop code you can get (a) stop loss, (b)
> static save profit stop (means: static stop activated when you start
> getting profit and suddenly market turns around - this stop is used 
to
> at least have money for brokerage fee) and (c) trailing stop.
> 
> The reason why I have started to think about stops is my message:
> http://groups.yahoo.com/group/amibroker/message/6691
> 
> Please note this is draft version and should be still tested.
> Any comments, bug reports or improvements are welcome.
> 
> Regards
> Marek