Forum: NinjaTrader
November 6th, 2020, 10:57 AM
|
Replies: 8
Views: 3,074
That was my bad, I was wrong on that. The...
That was my bad, I was wrong on that. The brackets are syntactically ok, as they are types Min and Max. I hadn't noticed at first that the types weren't doubles/integers.
I'll take a closer look...
|
Forum: NinjaTrader
November 5th, 2020, 09:00 PM
|
Replies: 8
Views: 3,074
Having the whole code is very helpful.
...
Having the whole code is very helpful.
Knowing the error codes you get would also be helpful.
Try replacing "min1[0]" with just "min1"
Do the same for min2, max1, and max2
|
Forum: NinjaTrader
November 5th, 2020, 04:56 PM
|
Replies: 8
Views: 3,074
In your snippet, you only go back one [1] with...
In your snippet, you only go back one [1] with your recursives. Is that also the furthest you go back in the rest of your code as well?
Also, your code is more easily readable by wrapping it in...
|