hourly setting in amibroker

XRAY27

Well-Known Member
#1
Dear members,
i want one sheet of amibroker show me hourly chart and rest of sheets 5 mins can it possible with any setting ,if any afl needed please share it:thanx:
 

mastermind007

Well-Known Member
#2
Dear members,
i want one sheet of amibroker show me hourly chart and rest of sheets 5 mins can it possible with any setting ,if any afl needed please share it:thanx:
What is the tick size of data you store?

If your data is EOD only, hourly will not be possible. For all Intraday sizes, it will work and all you have to do is press h on screen (on tool bar usually to right of screen, below + and - buttons)
 
#3
Dear members,
i want one sheet of amibroker show me hourly chart and rest of sheets 5 mins can it possible with any setting ,if any afl needed please share it:thanx:
Make amibroker sheet as u want

then open layout tab nd choose "save as"

and save vth any name

and next time just click on ur layout

u get ur settings

enjoy:)
 

trash

Well-Known Member
#4
Dear members,
i want one sheet of amibroker show me hourly chart and rest of sheets 5 mins can it possible with any setting ,if any afl needed please share it:thanx:
Do you mean sheets or chart tabs?
If you mean sheets then it is even possible to draw multiple timeframe in one pane of a sheet.

But of course you can make one pane in 5 minute price chart and another sheet 2 with one hour candles (e.g. use GFX see below picture).




But another thing is that you can alternatively use chart tabs (instead of sheets) and one chart tab shows symbol in 5 minute TF and another chart tab shows same symbol in one hour time frame.
 
Last edited:

XRAY27

Well-Known Member
#5
Dear members
Thanks for reply i want hourly chart in one sheet as default and another...5 min ... without using ctrl+0..... if possible share the afl
 

Abhi1284

Active Member
#7
Dear members,
i want one sheet of amibroker show me hourly chart and rest of sheets 5 mins can it possible with any setting ,if any afl needed please share it:thanx:
put ur formula & use this


_SECTION_BEGIN(“day week hour all in one”);
/*This will Plot monthly, weekly, daily, Hourly, 15 Minute, 5 Minute and 1 Minute charts in one chart but different panes. */
//================================================== ============================================
SetChartBkGradientFill(colorWhite,colorLightGrey,colorWhite);
Period= ParamList(“Base”,”Monthly|Weekly|Daily|Hourly|15Mi nute|5Minute|1Minute”,0);

if(Period==”Monthly”){
TimeFrameSet(inMonthly);
PlotOHLC(Open, High, Low, Close, “Monthly Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”Weekly”){
TimeFrameSet(inWeekly);
PlotOHLC(Open, High, Low, Close, “weekly Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”Daily”){
TimeFrameSet(inDaily);
PlotOHLC(Open, High, Low, Close, “Daily Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”Hourly”){
TimeFrameSet(inHourly);
PlotOHLC(Open, High, Low, Close, “Hourly Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”15Minute”){
TimeFrameSet(in15Minute);
PlotOHLC(Open, High, Low, Close, “15Minute Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”5Minute”){
TimeFrameSet(in5Minute);
PlotOHLC(Open, High, Low, Close, “5Minute Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”1Minute”){
TimeFrameSet(in1Minute);
PlotOHLC(Open, High, Low, Close, “1Minute Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
_SECTION_END();

Abhishek
abhishekbagariya at ymail.com
 

XRAY27

Well-Known Member
#8
put ur formula & use this


_SECTION_BEGIN(“day week hour all in one”);
/*This will Plot monthly, weekly, daily, Hourly, 15 Minute, 5 Minute and 1 Minute charts in one chart but different panes. */
//================================================== ============================================
SetChartBkGradientFill(colorWhite,colorLightGrey,colorWhite);
Period= ParamList(“Base”,”Monthly|Weekly|Daily|Hourly|15Mi nute|5Minute|1Minute”,0);

if(Period==”Monthly”){
TimeFrameSet(inMonthly);
PlotOHLC(Open, High, Low, Close, “Monthly Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”Weekly”){
TimeFrameSet(inWeekly);
PlotOHLC(Open, High, Low, Close, “weekly Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”Daily”){
TimeFrameSet(inDaily);
PlotOHLC(Open, High, Low, Close, “Daily Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”Hourly”){
TimeFrameSet(inHourly);
PlotOHLC(Open, High, Low, Close, “Hourly Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”15Minute”){
TimeFrameSet(in15Minute);
PlotOHLC(Open, High, Low, Close, “15Minute Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”5Minute”){
TimeFrameSet(in5Minute);
PlotOHLC(Open, High, Low, Close, “5Minute Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
if(Period==”1Minute”){
TimeFrameSet(in1Minute);
PlotOHLC(Open, High, Low, Close, “1Minute Price Chart”, colorBlack, style = styleCandle | styleOwnScale);
Plot(V,”Volume”,colorWhite, styleHistogram);
}
_SECTION_END();

Abhishek
abhishekbagariya at ymail.com
Dear abhishek ji it is showing lot of errors
 

mastermind007

Well-Known Member
#10
Dear members,
i want one sheet of amibroker show me hourly chart and rest of sheets 5 mins can it possible with any setting ,if any afl needed please share it:thanx:
Very Quick/Short answer is No.

You cannot simultaneously show true different times frames on one sheet within the same chart. For each different time frame to be plotted, you need to use a different Chart.

However, over time, creative people have come up solutions to get around this and what they essentially do is as follows
a) extract higher time frames and the
b) plot it over the the smaller timeframe using Graphics functions.

This is not true multiple time frame plotting, but a reasonably good equivalent.

Using this simulated approach, you can simultaneously plot 2 time frames on same pane of the same sheet, so you will not need two charts.
 

Similar threads