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

[amibroker] Re: How to code High/Low of day?



PureBytes Links

Trading Reference Links


Thanks a lot man!

--- In amibroker@xxxxxxxxxxxxxxx, "gunovanengel" <gunovanengel@xxxx> 
wrote:
> 
> YO = TimeFrameGetPrice( "O", inDaily, -1); // gives you yesterday 
> Open 
> YH = TimeFrameGetPrice( "H", inDaily,-1); // gives you yesterday 
High
> YL = TimeFrameGetPrice( "L", inDaily, -1); // gives you yesterday 
Low
> YC = TimeFrameGetPrice( "C", inDaily, -1); // gives you Yesterdays 
> Close
> YV = TimeFrameGetPrice( "V", inDaily, -1); // gives you Yesterdays 
> Volume
> 
> 
> ///////////////////////////////////////////////////////////////////
//
> //////////////////////////////
> TO = TimeFrameGetPrice( "O", inDaily, 0); // gives you Today's 
Open 
> TH = TimeFrameGetPrice( "H", inDaily,0); // gives you Today's High
> TL = TimeFrameGetPrice( "L", inDaily,0); // gives you Today's Low
> TC = TimeFrameGetPrice( "C", inDaily,0); // gives you Today's Close
> TV = TimeFrameGetPrice( "V", inDaily,0); // gives you Today's 
Volume
> 
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "quexos0" <quexos0@xxxx> wrote:
> > 
> > How do u code the High/Low of each trading day?
> > Say if I want to code a system that sell/cover all positions if 
> the 
> > price reaches high/low of yesterday.
> > 
> > Thanks a lot!





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/