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

Re: [amibroker] BarsSince(Buy) - Can somebody spell out the solution PLEASE? - ALREADY spelt


  • To: <amibroker@xxxxxxxxxxxxxxx>
  • Subject: Re: [amibroker] BarsSince(Buy) - Can somebody spell out the solution PLEASE? - ALREADY spelt
  • From: "Tomasz Janeczko" <amibroker@xxxxxx>
  • Date: Tue, 16 Nov 2004 13:19:17 +0100

PureBytes Links

Trading Reference Links

Hello,

The solution was spelt out already (with full example formula) at:
http://finance.groups.yahoo.com/group/amibroker/message/73241

(please read the code, the entrybar variable contains the bar index
when entry was made, ( i - entrybar ) represents EXACTLY the number of
bars that passed since entry).

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "kubikconcepts" <kubikconcepts@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, November 16, 2004 12:11 PM
Subject: [amibroker] BarsSince(Buy) - Can somebody spell out the solution PLEASE?


> 
> 
> Hello,
> I have been searching for a way to figure out BarsSince(Buy).  I 
> followed the other thread and did not see an actual solution.  
> Tomasz pointed to a location which had a for loop.  In a backtest 
> AFL, how can a for loop be used?
> 
> Anyway, like the other guys pointed out: Just tell me how to do 
> BarsSince(Buy) both in the case of multiple open positions and one 
> position only.
> 
> Amibroker is very powerful.  I only wish Tomasz would see things 
> more from a user perspective and tighten up the software and 
> documentation.  A hot temper does not help the user at all.  I am 
> beginning to see Amibroker like Linux: POWERFUL and STRONG but a 
> pain in the rear to use.
> 
> Anyways, I hope somebody will just spell the solution.  I don't care 
> if there are a thousand ways to achieve, I just want one way so that 
> I can get on with my task at hand.
> 
> Thanks.
> 
> 
> 
> 
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/