![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Sep 2007
Posts: 27
Thanks: 0
Thanked 0 times in 0 posts
|
Would it be posible to modifiy this indicator so it would plot sell volume (red part of the bar) on top of buy volume (green part of the bar) on bars where there is more sell volume than buy volume.
Last edited by samiam30; 11-16-2007 at 09:15 AM.
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Yes this is possible, just copy this indicator, open the source code and take a look and reverse the relevant areas.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Sep 2007
Posts: 27
Thanks: 0
Thanked 0 times in 0 posts
|
I don't really know how to code this
(my programing skills are nonexistent):if sell volume > buy volume - plot sell volume on top of the bar (red on top) if buy volume > sell volume - plot buy volume on top of the bar (green on top) Someone familiar with NinjaScript could probably do this in a heartbeat (hint ).
|
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Yes, you would need to be able to some programming. Christmas is not too far off, maybe someone will help
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Sep 2007
Posts: 27
Thanks: 0
Thanked 0 times in 0 posts
|
This is how the Tradestation version of this indicator looks like:
|
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Nov 2004
Location: Dallas, Texas, USA
Posts: 124
Thanks: 0
Thanked 0 times in 0 posts
|
Hi Samiam30,
I had a go at modifying the BuySellVolume indicator code to plot the way you want, but no luck. I had a friend of mine take a quick look at it too. He's been an assembler programmer for 25 years, but knows a lot of other languages as well. He couldn't follow the logic either, so I don't feel so bad ![]() So sorry, but no Christmas present from me this year. Perhaps someone else will accept the challenge. |
|
|
|
|
|
#7 |
|
Member
Join Date: Sep 2007
Posts: 27
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for giving it a try.
Last edited by samiam30; 11-17-2007 at 02:47 AM.
|
|
|
|
|
|
#8 |
|
Member
Join Date: Sep 2007
Posts: 27
Thanks: 0
Thanked 0 times in 0 posts
|
|
|
|
|
|
|
#9 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
Hello Samiam,
Attached below, you'll find a BETTER shot at this modification. I modified the BuySellVolume indicator to display a positive histo and a negative histo, thereby eliminating the overlap/obscuring problem. I know this isn't quite what you were looking for, but until I can figure out how to change the color of individual histo bars on the fly, this will have to suffice. Enjoy! Ben
Last edited by sbgtrading; 11-23-2007 at 09:31 AM.
Reason: Performed a work-around
|
|
|
|
|
|
#10 |
|
Member
Join Date: Sep 2007
Posts: 27
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for taking a shot at this. I'll try it out and report back.
|
|
|
|
|
|
#11 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
...and thank you for the post to www.traderslaboratory.com, the free videos on tape reading, TICK and TRIN are informative. I know of one outfit that teaches you tape reading (but charges $6,000 for it).
Also, I'll work on an indicator that duplicates what your video link shows (a red dot on up-bars with greater sell than buy volume, and a green dot on down-bars with greater buy than sell volume). Ben |
|
|
|
|
|
#12 |
|
Member
Join Date: Sep 2007
Posts: 27
Thanks: 0
Thanked 0 times in 0 posts
|
After testing the indicator this does indeed appear to be a problem (when sell volume > buy vollume the sell volume bar paints over the buy volume bar).
Last edited by samiam30; 11-19-2007 at 01:51 AM.
|
|
|
|
|
|
#13 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
Take a look at Post #9 in this thread...I updated the attachment.
Let me know what you think about the indicator. Ben |
|
|
|
|
|
#14 |
|
Member
Join Date: Sep 2007
Posts: 27
Thanks: 0
Thanked 0 times in 0 posts
|
This is good stuff. Thanks a million.
I know I'm pushing my luck but could you do a version of this indicator that plots the buy/sell volume delta (delta = buy volume - sell volume) as line chart. Something like this: |
|
|
|
|
|
#15 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
I've posted the indicator you requested on this thread:
http://www.ninjatrader-support.com/v...0970#post20970 Let me know what you think! Ben |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BuySellVolume indicator | grd974 | Indicator Development | 10 | 02-01-2008 03:51 PM |
| BuySellVolume returni | grd974 | Indicator Development | 2 | 10-10-2007 12:15 PM |
| Modification of indicator used by strategy | ct | Strategy Development | 4 | 05-12-2007 10:47 AM |
| Limit order modification | pgabriel | ATM Strategies (Discretionary Trading) | 9 | 02-15-2007 06:19 AM |
| modification fees | geu | Miscellaneous Support | 7 | 02-11-2005 06:01 PM |