// Downloaded From https://www.WiseStockTrader.com
_SECTION_BEGIN("OTF");

BP = Param( "Time Frame", 5, 1, 300 );

OFO= TimeFrameGetPrice( "O",BP*in1Minute , 0 );
OFH = TimeFrameGetPrice("H",BP*in1Minute , 0 );
OFL= TimeFrameGetPrice( "L",BP*in1Minute , 0 );

PlotOHLC( OFO,OFH ,OFL,C,"",23, 64+4096); 
Plot( SelectedValue(C), "",54,16 );

Title = EncodeColor(44)+Name() +"    ( "+BP+"-minute )    "+EncodeColor(41 )+WriteVal( DateTime(), formatDateTime);

_SECTION_END();