![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Apr 2007
Location: , ,
Posts: 105
Thanks: 1
Thanked 0 times in 0 posts
|
I looked at source code for this indicator and have question about its logic
if (Close[0] > last) upVol += tradeVol; else if (Close[0] < last) dnVol += tradeVol; Does it mean that when somebody buys 10 contracts at 820.1, and the next 5 contract are also bought at 820.1, this second 5 contract trade will be ignored and not added to indicator value? Thanks, reddudke |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
|
Likely. That indicator was more of a sample of what can be done. I am going to remove it from this forum. Please check out the source code for NT6 BuySellVolume. This is accurate.
Ray
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|