Forum: NinjaTrader
August 28th, 2018, 04:24 AM
|
Replies: 6
Views: 1,657
User defined function
The error is due to you declaring return of type double but not returning any double value from your function so you need eg:
return fxToBuy1;
Just put a return and then whatever variable...
|