Forum: NinjaTrader
February 23rd, 2011, 12:40 AM
|
Replies: 6
Views: 3,895
Its often something so small
Thanks for the help sunpost...
I got the loop running.... indicator doesn't look right, but at least its plotting something other than 0. I probably have something wrong up in the ArcTangent math...
|
Forum: NinjaTrader
February 22nd, 2011, 11:11 PM
|
Replies: 6
Views: 3,895
Haven't got it looping yet
Thanks for taking a stab at it Sunpost... who wrote..
int InstPeriod = 0;
int Value4 = 0;
for (int count = 0; count <= 50; count++)
{
Value4 =+ DeltaPhase[count];
if (Value4 > 360...
|
Forum: NinjaTrader
February 22nd, 2011, 09:26 PM
|
Replies: 6
Views: 3,895
Translate For Loop in Easy Language to NT C#
I'm working on some John Ehler's Easy Language code, and I have reached this section that is so far over my head I'll never be able to translate it.
{Sum DeltaPhases to reach 360 degrees. The...
|