Add Output

Wizard ››
Parent Previous Next

Output Name - This field is not used for code generation it is just the name of the input.

Templates - The Neural Network Wizard comes with a list of common output templates that can save a lot of time and effort. Selecting a template will automatically fill most of the appropriate fields except the lag values which you need to set yourself.

Amibroker Code - This field holds the Amibroker code used to calculate the output. In the above image the code calculates the MACD signal. The code can be anything but must at some point assign the desired output to a variable of you choosing. The name of this variable must then be placed in the 'Inputs Variable Name' field so that the program knows where it can find the output. There is one caveat though and that is you cannot put any function definitions here. If you need to use a function in your output then you can add it via the 'Add Code' command.

Outputs Variable Name - The name of the variable in the Amibroker code that holds the output.

Lag From , Lag To - These fields specify the starting and ending lags for the output. For example, in the above image the current day's value and the past 5 values will be used of the MyMACDSignal as output to the neural network.

Use Percent Change - Specifies whether to use the output as is or use its rate of change. Taking the rate of range can significantly improve results with certain outputs that are not uniform like moving averages, price etc.