I'm trying to specify other output functions in a Neurolab Output script (defined below) that are more robust and lenient than the sample scripts (Gain at end of 5 bars). The intent is to help the Neural Network predict a directional tilt over next few days (vs predict the gain at end of 5 days), because the quality of Prediction results with the sample Output function is quite bad for in-sample and out-of-sample predictions.

The issue is the Train the Network screen is blank (no red line) - it doesn't generate a Mean Square Error.-> How do i specify these output functions so that the Training works and i can generate Predictions?

1) // Average High and Average Low over next 5 bars

CODE:Please log in to see this code.

2) // Highest High and Lowest Low over next 5 bars

CODE:Please log in to see this code.

Also attached Input script below, which Trains and Predicts fine for the default Output function (Gain over 5 bars)

We sent an Verification
Code to your email address. If you don't receive this code within the next 5 minutes.
Please click here to
request a new code.
New Verification Code sent. Please check your Inbox.Please enter your Email to receive a new Verification Code