TimeFrameRestore
|
Time Frame functions |
SYNTAX | TimeFrameRestore( tradeprices = False ) |
RETURNS | NOTHING |
FUNCTION | The TimeFrameRestore function restores price arrays replaced by TimeFrameSet. Note that only OHLC, V, OI and Avg built-in variables are restored to original time frame when you call TimeFrameRestore(). All other variables created when being in different time frame remain compressed. To de-compress them to original interval you have to use TimeFrameExpand. Tradeprice argument should be set to false. |
EXAMPLE | TimeFrameSet( in5Minute ); //
switch to 5 minute frame
|
SEE ALSO | TimeFrameSet() function |
Tomasz Janeczko tj --at-- amibroker.com 2004-07-10 06:19:47 | TimeFrameRestore and RestorePriceArrays is essentially the same function. So please note that calling TimeFrameRestore also resets the ticker set by eventual previous call to SetForeign() |
The TimeFrameRestore function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.