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

Re: [amibroker] Daily H/L on Tick Chart



PureBytes Links

Trading Reference Links

Hi Don,

Read up on time frame functions in the AmiBroker user guide,
you'll need to search on words like 'TimeFrameSet' & 'TimeFrameExpand'

This should get you started.

TimeFrameSet(inDaily);
DayHigh = High;
DayLow = Low;
TimeFrameRestore();

DayHigh = TimeFrameExpand( DayHigh, inDaily, expandFirst);
DayLow = TimeFrameExpand( DayLow, inDaily, expandFirst);

Plot( Open, "Open", colorBlack, styleCandle );
Plot( DayHigh, "DayHigh", colorGreen , styleLine );
Plot( DayLow, "DayLow", colorGold , styleLine );

GraphXSpace = 5;


Regards,
William Peters
www.amitools.com


Friday, October 8, 2004, 11:43:21 AM, you wrote:



DT> Hi All -

DT> I'm new to AB, and am slowly climbing the AFL learning curve.

DT> I'm trying to build an indicator that will draw a line on a 343 tick
DT> chart at both the high and the low of the day.  The lines need to be
DT> redrawn as the H/L of the day changes.

DT> Any help in pointing me in the right direction is much appreciated.

DT> - Don



------------------------ 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/