Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Ninjatrader 7 not working
Collapse
X
-
see comments;Originally posted by Emma1 View Post
thank you for pointing out.
12-31-2018, 03:38 PM
helllo nkhoi, i am ok in creating external variable but from the 2nd line of the update Bar code menu that i am not clear as the referencing and what each volume /values do.
i had wanted to code it in NT8 but much error.
if(Volume[0] > Values[0][0]) // Values[0] = Plot 0 the first plot , [0] = current index, [1] = 1 bar back index
Values[4].Set(Volume[0]); //Values[4] = the third plot , Set(Volume[0]) = set current value of third plot to current volume value, NT8 = Values[4][0] = .(Volume[0]);
if(Close[0] == Close[1])
Values[3].Set(Volume[0]);
else
if (Close[0] > Open[0])
Values[1].Set(Volume[0]);
else
Values[2].Set(Volume[0]);
thank you.
Comment
-
Resolved, Thank you again.Originally posted by nkhoi View Post
see comments;
12-31-2018, 03:38 PM
helllo nkhoi, i am ok in creating external variable but from the 2nd line of the update Bar code menu that i am not clear as the referencing and what each volume /values do.
i had wanted to code it in NT8 but much error.
if(Volume[0] > Values[0][0]) // Values[0] = Plot 0 the first plot , [0] = current index, [1] = 1 bar back index
Values[4].Set(Volume[0]); //Values[4] = the third plot , Set(Volume[0]) = set current value of third plot to current volume value, NT8 = Values[4][0] = .(Volume[0]);
if(Close[0] == Close[1])
Values[3].Set(Volume[0]);
else
if (Close[0] > Open[0])
Values[1].Set(Volume[0]);
else
Values[2].Set(Volume[0]);
thank you.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
80 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
46 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
29 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
66 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment