Loading...
 

Scripting: Programming of indicators

 Back to main page

Select the  Strategy Handlings-> Scripting and then Indicator -> New or Edit menu items to program new indicators or make changes to existing indicators.

Scripting

 

Editing

Should you wish to change/modify an existing indicator, select the Edit menu item to open the following Indicators dialog window:

Edit Indicators

The buttons inside this window have the following functions:

  • Click the Edit button or double-click on the entry to open the scripting window for the selected indicator.
  • Click the Delete button to remove the selected indicator.
  • Click the Compile button to compile all indicators, conditions, strategies and alert handlers. If you delete an indicator, the system will only accept changes after you have clicked the Compile button.

 

Creating a new indicator

After selecting the New->Create menu item for creating a new indicator you will receive a navigation popup with the option to either create a new indicator or import an indicator from a different trading platform:

  • Step 1. Enter the name
    • Chart-Panel: if this is checked the indicator will be displayed in the charting panel.
    • Indicator-Panel: if this checked the indicator will be displayed beneath the chart.

 

Indicator Create  
 

  • Step 2. Define  parameters.

Indicator Parameters  

  • Step 3. Define the Plots-Outputs for visualization of the indicator.


Indicator Plots  

  • Step 4. Define Level-Lines with the fixed threshold values (if necessary).


Indicator Lines  
 

  • Step 5. Begin writing the indicator-specific program code.

TrendScript  

 

  • Step 6. Compile the indicator by pressing the Scrp11 button, after which it will become available.
    • The compile function is availalbe via Strategy Handling- > Scripting -> Compile


After Indicator would be available in indicator list

Programming Indicator

 
 

Search AgenaTrader Wiki

Switch Language