Charts of Different time frames in the same pane?

#1
Hi,

Is it possible to view same parameter in different time frames in the same sheet in Amibroker? For e.g. we can see MACD of different time frames like 5 min., 15 min., 30 min. etc. in same page (can be in different panes but on same sheet).

Thanks,

Rythm
 
#3
Hi,

Is it possible to view same parameter in different time frames in the same sheet in Amibroker? For e.g. we can see MACD of different time frames like 5 min., 15 min., 30 min. etc. in same page (can be in different panes but on same sheet).

Thanks,

Rythm
Change timeframe thru Parameters.

Code:
_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);
 

Similar threads