Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Ninjatrader 7 not working
Collapse
X
-
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
-
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 chbruno, 04-24-2024, 04:10 PM
|
4 responses
50 views
0 likes
|
Last Post
by chbruno
Today, 02:38 PM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
10 responses
398 views
1 like
|
Last Post
by beobast
Today, 02:35 PM
|
||
Started by lorem, Yesterday, 09:18 AM
|
5 responses
20 views
0 likes
|
Last Post Today, 12:29 PM | ||
Started by WHICKED, Today, 12:56 PM
|
2 responses
15 views
0 likes
|
Last Post
by WHICKED
Today, 02:15 PM
|
||
Started by Felix Reichert, Today, 02:12 PM
|
0 responses
4 views
0 likes
|
Last Post Today, 02:12 PM |
Comment