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

Re: [amibroker] applystop question



PureBytes Links

Trading Reference Links

Hi Paul,

I might jump in.  The problem I see at the moment is that your stop amount
needs to be the distance from entry.  Assume ref(l,-2) = 10 and ref(l,-1) =
8 and your buy price is 14.

Currently your stop is 10+8-5=13.  Don't know about you, but that's a pretty
wide stop :-).

I imagine what your looking for under these circumstances is a 1 'point'
stop, i.e. 14-13.

Your calc needs to be BuyPrice - (ref(l,-2)+(ref(l,-1)-ref(l,-2))*0.5)



On 18/01/07, paulradge <paulradge@xxxxxxxxxxxxxxx> wrote:
>
>   sorry typed the calc wrong should have checked it before posting ,,
>
> this is the calcultion i'm using,,,
>
> ref(l,-2)+(ref(l,-1)-ref(l,-2))*0.5
>  
>

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.13/632 - Release Date: 1/16/2007 4:36 PM