Difference between revisions of "How Signals are Calculated"

From MultiCharts
Jump to navigation Jump to search
(Created page with "* '''Realtime. Normal mode.''' The script is calculated on the bar close. Order is placed on this bar close/ next bar open. Order is filled on any tick price within the next b...")
 
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* '''Realtime. Normal mode.'''
+
<div style="background-color: #E3FBE5;">Note: This article is regarding the calculation done on a '''Regular chart type'''.</div>
The script is calculated on the bar close. Order is placed on this bar close/ next bar open. Order is filled on any tick price within the next bar.  
+
 
 +
* '''Realtime. Default mode ([[Signal Settings#Intra-Bar Order Generation|Intra-Bar Order Generation (IOG)]] disabled)'''
 +
The script is calculated on the bar close. An order can be placed on this bar close/next bar open. An order can be filled on any tick price that satisfies order execution conditions.
 
   
 
   
 
* '''Realtime. [[Signal Settings#Intra-Bar Order Generation|Intra-Bar Order Generation (IOG)]] enabled.'''
 
* '''Realtime. [[Signal Settings#Intra-Bar Order Generation|Intra-Bar Order Generation (IOG)]] enabled.'''
  
The script is calculated tick by tick. Order is placed on the next tick. Order is filled on any tick price within the bar.   
+
The script is calculated tick by tick. An order can be placed on the next tick. An order can be filled on any tick price that satisfies order execution conditions.   
  
 
* '''Calculation on historical data. Regular mode ([[Signal Settings#Intra-Bar Order Generation|IOG]] disabled. [[Bar Magnifier|Bar Magnifier]] disabled)'''
 
* '''Calculation on historical data. Regular mode ([[Signal Settings#Intra-Bar Order Generation|IOG]] disabled. [[Bar Magnifier|Bar Magnifier]] disabled)'''
  
The script is calculated on the bar close. It is considered that all prices were within the bar ([[Intra-bar Price Movement Assumptions|Price movement assumption is used]]). Order is filled on any price within the bar.  
+
The script is calculated on the bar close. An order can be generated on this bar close/next bar open. It's considered that all prices were within the bar ([[Intra-bar Price Movement Assumptions|Intra-bar Price movement assumption is used]]), therefore an order can be filled on any price that satisfies order execution conditions with price step (minmove/pricescale) within the next bar.  
  
 
* '''Calculation on historical data. [[Signal Settings#Intra-Bar Order Generation|IOG]] enabled. [[Bar Magnifier|Bar Magnifier]] disabled.'''  
 
* '''Calculation on historical data. [[Signal Settings#Intra-Bar Order Generation|IOG]] enabled. [[Bar Magnifier|Bar Magnifier]] disabled.'''  
  
The script is calculated four times on OHLC of the bar. It is considered that all prices were within the bar ([[Intra-bar Price Movement Assumptions|Intra-bar Price Movement Assumptions]]Price movement assumption is used). Order is filled on any price within the bar with the step (minmove/pricescale).
+
The script is calculated four times (on the OHLC of the bar). An order can be generated on any of these OHLC calculations. It's considered that all prices were within the bar ([[Intra-bar Price Movement Assumptions|Intra-bar Price Movement Assumption]] is used), therefore an order can be filled on any price that satisfies order execution conditions with price step (minmove/pricescale) within this bar.
  
 
* '''Calculation on historical data. [[Signal Settings#Intra-Bar Order Generation|IOG]] disabled. [[Bar Magnifier|Bar Magnifier]] enabled.'''  
 
* '''Calculation on historical data. [[Signal Settings#Intra-Bar Order Generation|IOG]] disabled. [[Bar Magnifier|Bar Magnifier]] enabled.'''  
  
The script is calculated 1 time on main data series close. It is considered that there were only OHLC values of the detailed data series. Order is filled only on OHLC prices of the detailed data series.
+
The script is calculated one time on the main data series close. It is considered that there were only OHLC values of the detailed data series. An order can be filled only on OHLC prices of the detailed data series.
  
 
* '''Calculation on historical data. [[Signal Settings#Intra-Bar Order Generation|IOG]] enabled. [[Bar Magnifier|Bar Magnifier]] enabled.'''
 
* '''Calculation on historical data. [[Signal Settings#Intra-Bar Order Generation|IOG]] enabled. [[Bar Magnifier|Bar Magnifier]] enabled.'''
  
The script is calculated on the Open value of the main data series, then OHLC of each bar of the detailed data series selected in bar magnifier, then on the Close of the main data series. Order is filled only on these O-OHLC-C values.
+
The script is calculated on the Open value of the main data series, then on the OHLC of each bar of the detailed data series selected in the Bar Magnifier, then on the Close of the main data series. An order can be generated on any of these calculations. It can be filled within this bar on the first price that meets the order execution logic. Only exact prices of the main bar and Bar Magnifier bars are used for filling the order.
 +
 
 +
'''<div style="background-color: #E3FBE5;">Note: IOG and Bar Magnifier work differently on non-standard chart types. Refer to this article for more details [[Intra-Bar Order Generation, Bar Magnifier on Non-Standard Chart Types|IOG and Bar Magnifier on non-standard chart types]]</div>'''
 +
 
 +
'''<div style="background-color: #E3FBE5;">Note: [[Why is Data Playback strategy performance different from Backtesting results?|Why is Data Playback strategy performance different from Backtesting results?]]</div>'''
 +
[[Category:FAQ]]

Latest revision as of 14:34, 15 May 2015

Note: This article is regarding the calculation done on a Regular chart type.

The script is calculated on the bar close. An order can be placed on this bar close/next bar open. An order can be filled on any tick price that satisfies order execution conditions.

The script is calculated tick by tick. An order can be placed on the next tick. An order can be filled on any tick price that satisfies order execution conditions.

  • Calculation on historical data. Regular mode (IOG disabled. Bar Magnifier disabled)

The script is calculated on the bar close. An order can be generated on this bar close/next bar open. It's considered that all prices were within the bar (Intra-bar Price movement assumption is used), therefore an order can be filled on any price that satisfies order execution conditions with price step (minmove/pricescale) within the next bar.

The script is calculated four times (on the OHLC of the bar). An order can be generated on any of these OHLC calculations. It's considered that all prices were within the bar (Intra-bar Price Movement Assumption is used), therefore an order can be filled on any price that satisfies order execution conditions with price step (minmove/pricescale) within this bar.

The script is calculated one time on the main data series close. It is considered that there were only OHLC values of the detailed data series. An order can be filled only on OHLC prices of the detailed data series.

The script is calculated on the Open value of the main data series, then on the OHLC of each bar of the detailed data series selected in the Bar Magnifier, then on the Close of the main data series. An order can be generated on any of these calculations. It can be filled within this bar on the first price that meets the order execution logic. Only exact prices of the main bar and Bar Magnifier bars are used for filling the order.

Note: IOG and Bar Magnifier work differently on non-standard chart types. Refer to this article for more details IOG and Bar Magnifier on non-standard chart types