Skip to main content

KaKa MultiTimeFrame for Amibroker (AFL)

shogun almost 15 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 2)
  • Tags:
    amibroker, timeframe

plot Multiple Timeframes in the Same Chart

insert it as as indicator as many timeframes panes required
adjust TM parameter in each pane as required
make sure to set 1 minute interval in main window

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("multiple timeframe");

n=Param("TM",1,1,60,1);
n_open = TimeFrameGetPrice("O",n*in1Minute,0,expandPoint); 
n_high = TimeFrameGetPrice("H",n*in1Minute,0,expandPoint); 
n_low = TimeFrameGetPrice("L",n*in1Minute,0,expandPoint); 
n_close = TimeFrameGetPrice("C",n*in1Minute,0,expandPoint); 


PlotOHLC(n_open,n_high,n_low,n_close,"TM",colorBlack,styleCandle);

_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.