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

[amibroker] Re: highest/lowest since last trade/entry



PureBytes Links

Trading Reference Links

Adrian,

There are two functions:

HIGHESTSINCE/LOWESTSINCE
- highest value since condition met Lowest/Highest
(AFL 1.4)
 

SYNTAX  highestsince( EXPRESSION, ARRAY, Nth = 1 )  
RETURNS ARRAY  
FUNCTION  Returns the highest ARRAY value since EXPRESSION was true 
on the Nth most recent occurrence.  
EXAMPLE highestsince( Cross( macd(), 0 ), Close, 1 ) returns the 
highest close price since macd() has crossed above zero.  

EXPRESSION: is your last trade/entry
ARRAY: is what you look for highest/lowest value.

good luck.

--- In amibroker@xxxxxxxxxxxxxxx, "Adrian Zaremba" <headcutter@xxxx> 
wrote:
> I was thinking about how to program "highest value/lowest value 
> since last trade/entry" but I cant find the right functions for 
> this. Need some help. Thanks


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/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/