NeedForTrade Documentation

Creating a Function

This feature is available only in NeedForTrade Studio and NeedForTrade Studio Lite.

To create a Function

There are two different ways you can use to create an Function. The first way is:

  1. Use the File menu.
  2. Select New.

     
  3. Select Function.

Another way is:

  1. Click the New Document toolbar button.

  2. Select New in nested menu box.

  3. Select Function.

Now you can see Code Editor. Enter here the code of your own Function. In the Properties enter Indicator's name and Type. See Editing Functions. At that Function will appear in the Browser. Also use Parameters, References and Variable Store if necessary. See also Working with Code Editor and Editing Functions

After entering all parameters of your Function click Build Analysis Technique in the Code Editor shortcut menu and if there are no errors Function will  appear in the Browser with green tick. See also Working with Browser.

Now you can add Function to the Chart. Drag and Drop it from the Browser to the Chart. See also about Chart Window.