Difference between revisions of "How Signals are Calculated"

From MultiCharts
Jump to navigation Jump to search
Line 22: Line 22:
 
* '''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 (main) -OHLC (detailed) -C (main) values.
+
The script is calculated on the Open value of the main data series, then 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 is filled only on these O (main) -OHLC (detailed) -C (main) values.
  
  

Revision as of 17:21, 19 May 2014

Note: This article is regarding the calculation done on a Regular chart type.
  • Realtime. Normal mode.

The script is calculated on the bar close. An order is placed on this bar close/next bar open. An order is then filled on any tick price within the next bar.

The script is calculated tick by tick. An order is placed on the next tick. An order is filled on any tick price within the bar.

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

The script is calculated on the bar close. It's considered that all prices were within the bar (Intra-bar Price movement assumption is used). An order is filled on any price within the bar.

The script is calculated four times on the OHLC of the bar. It's considered that all prices were within the bar (Intra-bar Price Movement Assumption is used). An order is filled on any price within the bar with the step (minmove/pricescale).

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 on the Open value of the main data series, then 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 is filled only on these O (main) -OHLC (detailed) -C (main) values.


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