This feature is available only in NeedForTrade Studio and NeedForTrade Studio Lite.
To create a Function
There are two ways you can use to create a function.
Select New.
Select Analysis from submenu.
Select Function from submenu.
New Window dialog will appear.
Select Empty to create empty function or select required Template and click Create button.
Click the New Document toolbar button.
Select Analysis from nested menu.
Select Function from submenu.
New Window dialog will appear.
Select Empty to create empty function or select required Template and click Create button.
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.