I want to know what are the ways in which two different Time Frame charts can be displayed in Amibroker.
Being a student of Saint, I need to keep track of pivots in two different timeframe...
1) Keep on pressing Ctrl+5 and Ctrl+0 for 5min and hourly charts.
and for 30 min .. no hot key
2) Keep two different chart window open with different timeframes.
I found both these methods annoying, If there are any more methods please educate me.
Finally I worked with Amibroker and came up with the following AFL. Nothing Fancy .. just used a different TimeFrame...But it works.
If I have reinvented the wheel... please ignore.. if not then enjoy the power of Amibroker... have two timeframes in one screen.
/////////////AFL//////////////////////
_SECTION_BEGIN("HigherTFCandle");
timeFrame = 60 * Param("Time",30,9,200,1);
TimeFrameSet(timeFrame);
_N(Title = StrFormat("{{NAME}} - "+ Interval(2) + ", " + Date() + " - Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
TimeFrameRestore();
_SECTION_END();
Being a student of Saint, I need to keep track of pivots in two different timeframe...
1) Keep on pressing Ctrl+5 and Ctrl+0 for 5min and hourly charts.
and for 30 min .. no hot key
2) Keep two different chart window open with different timeframes.
I found both these methods annoying, If there are any more methods please educate me.
Finally I worked with Amibroker and came up with the following AFL. Nothing Fancy .. just used a different TimeFrame...But it works.
If I have reinvented the wheel... please ignore.. if not then enjoy the power of Amibroker... have two timeframes in one screen.
/////////////AFL//////////////////////
_SECTION_BEGIN("HigherTFCandle");
timeFrame = 60 * Param("Time",30,9,200,1);
TimeFrameSet(timeFrame);
_N(Title = StrFormat("{{NAME}} - "+ Interval(2) + ", " + Date() + " - Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
TimeFrameRestore();
_SECTION_END();