Intra-Bar Order Generation, Bar Magnifier on Non-Standard Chart Types
Intra-Bar Order Generation in Backtesting
Intra-Bar Order Generation mode allows generating orders within a bar. In backtesting Intra-Bar Order Generation is limited by four calculations per bar: Open, High, Low, Close.
Historical Intra-Bar calculation of the strategy is divided into 4 segments:
- (Open)
- (Open-High)
- (High-Low)
- (Low-Close)
Calculation of the Buy next bar at market strategy is done as follows:
- Сalculation on the first bar segment (Open) and generation of a market order on Open = Low of the next bar segment.
- Сalculation on the second bar segment (Open-High) and generation of a market order on Open = High of the next bar segment.
- Сalculation on the third bar segment (High-Low) and generation of a market order on Open = Low of the next bar segment.
- Сalculation on the fourth bar segment (Low-Close) and generation of a market order on Open of the next bar.
Calculation of the Buy this bar at Close strategy is done the same way as with Intra-Bar Order Generation off, i.e. the orders will be generated on the Close of the current bar.
Calculation of the strategy that generates price orders will be performed the same way, but the generation of price orders will be limited by Stop or Limit conditions.
Bar Magnifier is essential for more detailed calculation of the strategy on historical data.
Bar Magnifier with Intra-Bar Order Generation ON allows a strategy to be calculated not only four times per bar (using OHLC data as with only Intra-Bar Order Generation ON), but as many times as there is detailed data.
Intra-Bar Order Generation in Real-Time Calculation
Intra-Bar Order Generation mode allows the strategy to generate orders within the bar. In this case the calculation of the strategy is made on every tick of the bar.
Chart type | BackTesting + IOG | BackTest + Bar Magnifier + IOG | Real-Time + IOG |
---|---|---|---|
Regular | As described above | As described above | Strategy calculation is done on every tick of a bar. |
Volume Delta | As described above | As described above | Strategy calculation is done on every tick of a bar. |
Point & Figure/Reversal Bar | X column is specified as: (Open), (Open-Low), (Low-High), (High-Close).
O column is specified as: (Open), (Open-High), (High-Low), (Low-Close). |
Bar Magnifier is not available | Strategy calculation is done on every tick of a bar. |
Kagi | Up-going bar is specified as: (Open), (Open-Low), (Low-High), (High-Close).
Down-going bar is specified as: (Open), (Open-High), (High-Low), (Low-Close). |
Bar Magnifier is not available | Strategy calculation is done on every tick of a bar. |
Renko/FlexRenko | Up-going bar is specified as: (Open), (Open-Low), (Low-High), (High-Close).
Down-going bar is specified as: (Open), (Open-High), (High-Low), (Low-Close). |
Bar Magnifier is not available | Strategy calculation is done on every tick of a bar. |
Line Break | Up-going bar is specified as: (Open), (Open-Low), (Low-High), (High-Close).
Down-going bar is specified as: (Open), (Open-High), (High-Low), (Low-Close). |
Bar Magnifier is not available | Strategy calculation is done on every tick of a bar. |
Heikin Ashi | Same as on Regular Chart Type. | Bar Magnifier is not available | Strategy calculation is done on every tick of a bar. |
TPO | Same as on Regular Chart Type. | Bar Magnifier is not available | Strategy calculation is done on every tick of a bar. |