- How do I get the footprint color shading to be of equal length (uniform) for the bid/ask at each price?
- How do I align the x's on each line?
- How do I create a text panel displaying Delta statistics (e.g., Bid, Ask, Delta, Delta Chg, Cum Delta, Volume, etc)?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Creating an indicator like Market Delta
Collapse
X
-
Creating an indicator like Market Delta
I just started getting familiar with NinjaScript in order to create a footprint chart similar to Market Delta and I have a few questions. Attached is a draft footprint chart that I put together for reference. The number at the bottom of the bid/ask info is the Delta. I am using the DrawText() function to print the bid/ask info. So here are my questions:
Last edited by antonio; 01-20-2009, 01:30 PM.Tags: None
-
1. I am not sure what you mean by equal length? You want them to line up equally vertically down the various columns?
2. Sorry it is beyond the level we can offer support for. It is not simple. There is no built in function to do it. You may need to use custom Plot() to achieve the display you want.
3. You just need to use DrawText and find the relevant locations on the screen to print to with the information you want.Josh P.NinjaTrader Customer Service
-
Josh, thanks for the quick reply. Below are my follow-up questions/comments.- Yes, I would like the color boxes to line up vertically with the left/right edges of the box being aligned with the left/right edges of all the other boxes above/below it to give it a neat look.
- I will take a look at the Plot() function.
- If I use DrawText() to print the statistics, wouldn't the text move off the screen as new price data arrives? I'm assuming that you're suggesting printing the text in the price panel. I would like to view the statistics at all times.
Comment
-
I'm trying to align the bid/ask data within a cell in the chart. Currently, the data is spanning across cells. I think I need to change the price axis so that the price is "between the grid lines" as opposed to "at the grid lines." How do I do this? Attached is a chart illustrating what I'm trying to do. Hope this makes sense. Thanks.
Comment
-
I would also like to check out the code if you don't mind. I might be able to get it working with plot().
Comment
-
I currently run my "MarketDelta" indicator twice, once to get the bid/ask on the price chart and again to get the bid/ask stats in an indicator panel (see attached figure). Is there a way to run the indicator once and have data displayed in panels 1 & 2. I tried changing "DrawOnPricePanel" and "Panel" parameters in the code in real-time, but data is only displayed in the price panel. Is there something else I need to do? Thanks.
Comment
-
Originally posted by antonio View PostI currently run my "MarketDelta" indicator twice, once to get the bid/ask on the price chart and again to get the bid/ask stats in an indicator panel (see attached figure). Is there a way to run the indicator once and have data displayed in panels 1 & 2. I tried changing "DrawOnPricePanel" and "Panel" parameters in the code in real-time, but data is only displayed in the price panel. Is there something else I need to do? Thanks.
[ATTACH]4499[/ATTACH]
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,403 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
94 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
6 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
158 views
0 likes
|
Last Post Yesterday, 10:23 PM | ||
Started by Belfortbucks, Yesterday, 09:29 PM
|
0 responses
8 views
0 likes
|
Last Post
by Belfortbucks
Yesterday, 09:29 PM
|
Comment