![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Feb 2006
Location: London U.K.
Posts: 152
Thanks: 3
Thanked 2 times in 2 posts
|
Apologies if this has been done before.
Its just a simple modification to NT's own BuySellPressure indicator. It colors the price bars in a graded way with White as equal Bid and Ask trades. The more trades at the Ask, the Bluer the price bars get, the more trades at the Bid, the Redder they get. I don't have the C# expertise to include a 'Gomi' style data recorder, so its real time only. I hope it might be of use to someone.
Last edited by DaveS; 04-06-2010 at 12:40 PM.
Reason: Error found in script
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,569
Thanks: 262
Thanked 1,018 times in 999 posts
|
DaveS, thanks for sharing - we would appreciate if you post it also in the sharing section -
http://www.ninjatrader-support2.com/...splay.php?f=37
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Feb 2006
Location: London U.K.
Posts: 152
Thanks: 3
Thanked 2 times in 2 posts
|
Didn't think it warranted a place in file sharing but I have put it there as requested.
|
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Thanks DaveS, your efforts and generosity are much appreciated.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Aug 2008
Posts: 32
Thanks: 0
Thanked 0 times in 0 posts
|
Great ! Good job ! On which chart do you recommend it ? tick chart ? vol chart ? other ?
|
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Feb 2006
Location: London U.K.
Posts: 152
Thanks: 3
Thanked 2 times in 2 posts
|
|
|
|
|
|
|
#7 |
|
Member
Join Date: Aug 2008
Posts: 32
Thanks: 0
Thanked 0 times in 0 posts
|
Just an idea. Maybe could be interesting to add a filter on volume, for block size, to track big players ?
|
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Feb 2006
Location: London U.K.
Posts: 152
Thanks: 3
Thanked 2 times in 2 posts
|
Think I would rather see that kind of info colour coded in a time and sales window rather than on a price chart, but iv'e added a filter for you.
|
|
|
|
|
|
#9 |
|
Member
Join Date: Aug 2008
Posts: 32
Thanks: 0
Thanked 0 times in 0 posts
|
Great
So fast ! Thanks so much. I test it and keep you inform.
|
|
|
|
|
|
#10 | |
|
Junior Member
Join Date: May 2009
Posts: 29
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
Cheers |
|
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Feb 2006
Location: London U.K.
Posts: 152
Thanks: 3
Thanked 2 times in 2 posts
|
Apologies to everyone.
I found a serious error in this indicator script which meant that it was displaying dark colors when bid/ask was around 50/50. Colors here should be light shades of red and blue, with white at 50/50. The script has been corrected. |
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Aug 2008
Posts: 18
Thanks: 3
Thanked 1 time in 1 post
|
If this thread isn't dead is there a way to get colored price bars signifying bid ask volume for NT7?
|
|
|
|
|
|
#13 |
|
Senior Member
Join Date: Feb 2006
Location: London U.K.
Posts: 152
Thanks: 3
Thanked 2 times in 2 posts
|
This version should be OK with Ninja 7. Don't forget that you need to be receiving live data.
|
|
|
|
|
|
#14 |
|
Junior Member
Join Date: Aug 2008
Posts: 18
Thanks: 3
Thanked 1 time in 1 post
|
Thank-you Dave S
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| buy/sell pressure indicator... | Gregory Arkadin | Charting | 3 | 07-28-2011 02:24 PM |
| Colored Bars | yellowTrader | Version 7 Beta General Questions & Bug Reports | 1 | 12-03-2009 09:35 AM |
| Script is running wild: buy - sell - buy - sell ... | BillCh | Automated Trading | 4 | 02-06-2009 01:01 PM |
| Market Delta (buy sell pressure) Oscillator | NickA | Indicator Development | 4 | 02-01-2009 12:00 PM |
| Stop Buy Sell orders and new bars | snaphook | Strategy Development | 1 | 11-18-2008 11:38 AM |