Forum: NinjaTrader
September 25th, 2009, 08:33 PM
|
Replies: 4
Views: 2,187
The formula should be "range = (srange / j) *...
The formula should be "range = (srange / j) * pLength+.000001;" (which I have changed it to); or simply not allow a value of pLength = 0; it is initialized to '3' but user changeable.
however it...
|
Forum: NinjaTrader
September 24th, 2009, 07:58 PM
|
Replies: 4
Views: 2,187
Need confirmation of NT code please
Here's some code in an indicator that I am trying to understand (Cycle_Identifier):
============================================
int rnglength = 250;
// pLength is set to 3
double range = 0.0,...
|