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

[amibroker] Re: Plot an hourly candle over 1 min data



PureBytes Links

Trading Reference Links

Alex
I got this from somewhere on this board and it should give you the 
idea of what you will need to do as far as plotting different 
timeframes on the same chart.
Good luck
Larry


//PIVOT POINT
TimeFrameSet(inWeekly);
//Avgw = Ref((L + H + C),-1)/3;
Avgw = Ref(( H ),-1);
TimeFrameRestore();
//Plot( TimeFrameExpand
(AVGw,inWeekly,expandFirst),"weekly",colorRed,styleStaircase);

TimeFrameSet(inDaily);
AVGd = Ref((L + H + C),-1)/3;
"        PPd:\t "+ AVGd;
TimeFrameRestore();
Plot( TimeFrameExpand
(AVGd,inDaily,expandFirst),"daily",colorYellow,styleStaircase);
Plot(C,"C",colorWhite,styleBar);
TimeFrameSet(inHourly);
AVGh = Ref((L + H + C),-1)/3;
"        PPh:\t "+ Avgh;
TimeFrameRestore();
Plot( TimeFrameExpand
(AVGh,inHourly,expandFirst),"hourly",colorBrightGreen,styleStaircase);




--- In amibroker@xxxxxxxxxxxxxxx, "dralexchambers" 
<dralexchambers@xxx> wrote:
>
> Hello - if anyone could help with this, I'd be really appreciative:
> 
> I'd like to plot as a rectangle the last hourly candle (only high 
and 
> low) over 1 min data.
> 
> Thanks,
> Alex
>




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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