+1 888 340 6572

Working with Studies: Difference between revisions

From MultiCharts
Line 115: Line 115:
<br>The settings for all existing studies will be changed.  However newly added symbols will not inherit these settings.
<br>The settings for all existing studies will be changed.  However newly added symbols will not inherit these settings.


<div class="tip-no-title">Find more info about Formatting Studies on[[#Formatting Studies|this page]].</div>
<div class="tip-no-title">Find more info about Formatting Studies on [[#Formatting Studies|this page]].</div>


== Settings a Study Style in the Real-Time Market Scanner ==
== Settings a Study Style in the Real-Time Market Scanner ==

Revision as of 15:29, 3 July 2024

Studies can be added, formatted, removed, and customized.

A study script can be accessed directly from the Scanner.

It is possible to change settings for multiple studies at once.

Indicated plots of a study can be hidden or displayed when necessary. Audio, visual and E-mail alerts can be enabled.

Adding Studies

To add a study to the Scanner window:

  1. Open the Insert Study window.
    • Press the F7 button.
    • Select Insert in the main menu and select Study.
    • Right-click on any cell in the Scanner window and select Insert Study.
  2. Select either an individual study or multiple studies. To select multiple studies, hold down the Ctrl button and select each study.


A study's color is defined in its PowerLanguage Script.

To edit the colors, use the reserved words SetPlotColor and SetPlotBGColor.

Formatting Studies

To format a study:

  • Double-click on the symbol's cell in the study's column.
  • Right-click on the symbol's cell in the study's column. Select Format Study.


The Format Study dialog window will appear. If a study has two or more plots, then formatting will be applied to all the plots for that particular study.

Setting Inputs Values

An Input is a constant used in the study's calculations. Studies can have one or more inputs, or none at all. Each input is assigned a name.

There are three types of inputs: Numeric, True/False, and String. Studies can be modified by changing the input Values. Most, but not all, studies use input values.

Find more info about studies inputs on this page.

One of the main advantages of using inputs is that the study's logic can be changed by simply changing the input values. Editing the study's code is not required. The inputs can be modified before and after the study has been inserted.

Setting the Symbol Properties

Study properties can be different for all symbols in the Scanner window. Study properties include Number Format and Update On Every Tick sections.

To define the number of decimals to display for all the study plots of the specified symbol:

  • Select Same as Symbol radio button to use the same number of decimals as the symbol.
  • Select Show radio button and enter the number of decimals.


To recalculate study on every tick, select the Update On Every Tick check box.

Even with this check box checked, updates are still limited to two updates in one second.
To use these Properties settings for all new symbols, check Use as Default check box.

Enabling the Alerts

Visual, audio, or e-mail alerts can be sent when market conditions meet the criteria specified in the study.

To enable alerts:

  1. Select the Enable Alerts check box under the Alerts.
  2. In the Alert Conditions Check section, select whether the alerts will be triggered On Bar Close, Every Tick or Once per bar.

Audio Alert

To enable Audio alerts:

  1. Select the Audio Alert check box.
  2. Select the .wav sound file in the File field. Ding.wav is selected by default.
  3. Press the Play button to test the sound.
Make sure that the sound is enabled on your PC so that the Audio Alert function works properly.

Visual Alert

To enable Visual alert:

  1. Select the Visual Alert check box.
  2. In the Display Notify Window for drop-down list, select the period of time for the alert message to be displayed.

External Alerts

To enable External Alerts click the Add button and select one of the external alert configurations.

To add a new external alert configuration:

  1. Click the gear icon next to the Add button.
  2. In the opened window configure the desired external alerts:
  3. Press OK.
  4. Click the Add button and select the newly added alert configurations.
To use these alert settings as the default for all new indicators, select Use as Default check box.

Displaying Studies with Two or More Plots

It is possible to hide/display plots of studies, in case a study has more than one plot. To hide/display plots of a study:

  1. Right-click on a cell in the study's column or on the study title.
  2. Select Show Plots.
  3. Select or deselect the plots to be displayed/hidden.

Formatting a Study for All Symbols

Formatting a Study for All Symbols makes it possible to modify settings for all symbols at the same time.

To format a Study for all symbols:

  1. Right-click anywhere within the Study's column, excluding the header.
  2. Select Format 'Study Title' Study for All Symbols. The Format Study window will appear.


The settings for all existing studies will be changed. However newly added symbols will not inherit these settings.

Find more info about Formatting Studies on this page.

Settings a Study Style in the Real-Time Market Scanner

It is possible to change the style of the studies applied to the Real-Time Market Scanner. Color, Alignment, plot format and number of decimals can be changed.

To change the style of the plots:

  1. Right-click anywhere within the Study's column, excluding the header,
  2. Select Format Study. The Format Study window will appear,
  3. Turn to the Style Tab.

Alignment types available:

  1. Right,
  2. Center,
  3. Left.

Format types available:

  1. Same as instrument,
  2. Number,
  3. Currency,
  4. Percentage,
  5. Date,
  6. Time,
  7. Text.


Removing Studies

To remove a study:

  1. Right-click on any cell within the Study's column, excluding the header.
  2. Select Remove 'Study Title' Study.


Accessing Scripts

To access a script from a Scanner window:

  1. Right-click on any cell within the Study's column, excluding the header.
  2. Select Open 'Study Title' Script. A PowerLanguage Editor window will appear.
  3. Customize the study script in the PowerLanguage Editor.

Learn more about Working with Studies in PowerLanguage Editor.