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

Re: [amibroker] Objective function My A**



PureBytes Links

Trading Reference Links

Dear aequalsz,

I have one kind request: please use a little bit more polite language on this group.
Thank you very much.

As to your request: assuming that your vertical line has study id of "VT"
the code that gives bar index of it looks like this:

vertline = Study("VT",GetChartID() ) ;

vertlinebarindex =  LastValue( ValueWhen( IsNull( vertline ), BarIndex() ) );


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "aequalsz" <aequalsz@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, October 22, 2003 12:13 AM
Subject: [amibroker] Objective function My A**


> Most of you turkeys wouldn't know a good objective function if it bit
> you in the ass.  (I sure don't either Mr. Bandy so don't ask me. 
> Although it seems like you would need to introduce some kind of 
> penaltity or weighting functions to generate something that is
> realistic.)  So why not address a more practical problem?  For
> instance see message number 50218 - "Study - Vertical line - How to
> determine BarIndex of - using AFL."  
> 
> OK maybe it can't be done yet in Amibroker.  Or maybe it can - just
> don't know how.  Any of you geniuses got any ideas?
> 
> a
>  
> :-)
> 
> PS  Forgive the crude language - it appears that recently I didn't run
> hard enough to achieve my runner's high and I need my endorphins.    
> 
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/Tq9otC/XP.FAA/3jkFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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