• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator window not displaying parameters

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ivb73077
    started a topic Indicator window not displaying parameters

    Indicator window not displaying parameters

    Hello,

    I have added a custome indicator programmatically via my strategy code. The indicator loads and properly appears on the chart. However, when I right-click on the chart and select Indicators, the parameter/settings window is blank. I am therefore unable to modify any parameters.

    Attached are two images that display the indicator window with the settings correctly display (named Correct) and the empty window as generated from the strategy's addition of the indicator (named Incorrect).

    Can you please advise how I might get the indicator settings to display in the window when I add the indicator via my strategy code?

    Thank you.

    Click image for larger version

Name:	Correct.PNG
Views:	1
Size:	85.2 KB
ID:	903257

    Click image for larger version

Name:	Incorrect.PNG
Views:	1
Size:	77.0 KB
ID:	903258

  • koganam
    replied
    Originally posted by ivb73077 View Post
    it is set to false.
    Try reloading the indicator on the chart. If that does not help, you will have to contact the vendor.

    Leave a comment:


  • ivb73077
    replied
    it is set to false.

    Leave a comment:


  • koganam
    replied
    Originally posted by ivb73077 View Post
    Please take a look at the attached chart. Per koganam's suggestion, almost everything is working perfectly. However, note that the 13:03 bar (which is the one currently forming) does not display the footprint data as do all other bars.

    Is there some setting (perhaps a margin) that is causing the current/live bar to truncate?

    Thank you.
    What is your CalculateOnBarClose setting?

    Leave a comment:


  • ivb73077
    replied
    Originally posted by koganam View Post
    Increase the barWidth.
    Please take a look at the attached chart. Per koganam's suggestion, almost everything is working perfectly. However, note that the 13:03 bar (which is the one currently forming) does not display the footprint data as do all other bars.

    Is there some setting (perhaps a margin) that is causing the current/live bar to truncate?

    Thank you.
    Attached Files

    Leave a comment:


  • ivb73077
    replied
    The combination of BarSpacing and BarWidth fixed the problem.

    Thanks.

    Leave a comment:


  • ivb73077
    replied
    Thanks. Will give that a shot.

    Leave a comment:


  • koganam
    replied
    Originally posted by ivb73077 View Post
    Sorry - it appears the attachments were not appended to my reply.

    Adding....
    Increase the barWidth.

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello,

    I had edited my prior post to reflect the added images.

    Regarding doing anything about this programatically, I don't believe there is anything that can be done on this item. Basically the way the author has created this is causing the X axis to change the way it does. To correct this the item would need to be re programmed in a way that does not cause this. I am unsure what code is being used that would control the X axis as there are no supported methods to compress the chart as you have pictured.

    For this if you can I would recommend contacting the developer to see if they can correct this or at least know why this happens, otherwise there's not really anything that could be done to correct it other than manually correcting the chart back to how it was.

    I look forward to being of further assistance.

    Leave a comment:


  • ivb73077
    replied
    Thank you.

    I had just resent the attachments since they did not append in my prior post. See the post stamped at 9:05 am.

    The issue is with the horizontal scaling, not the vertical. There is no "F" in the upper right corner and I have set AutoScale to both true and false, yet the issue persists. I have read the indicator code thoroughly and the chart properties are not being modified internally.

    If I drag the horizontal scroll bar to the left, the issue improves. I just am not sure which setting this is modifying and would like to know how to do this programmatically.

    Thank you.

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello,

    Thank you for the question.

    I would agree with you now that I can see the images, this looks to be a bar spacing/bar size issue related to the indicator. If you need to increase the bar width or spacing to display this correctly this would be due to the way the script is programmed. There is no supported way to adjust the bar spacing and size from script so this is likely just using the chart defaults to start.

    For this specifically, if you can I would suggest reaching out to the author of this item to see if they have any other versions that include a fix for the spacing. Otherwise this would be a side effect of this specific indicator.

    I look forward to being of further assistance.
    Last edited by NinjaTrader_Jesse; 09-03-2015, 07:09 AM. Reason: new images were uploaded that changed the response

    Leave a comment:


  • ivb73077
    replied
    Indicator window not displaying parameters

    Sorry - it appears the attachments were not appended to my reply.

    Adding....
    Attached Files

    Leave a comment:


  • ivb73077
    replied
    Jesse,

    I had one follow-up question that relates to the same indicator, but deals with the actual appearance of the chart. When I load the indicator via my script or manually, I get a very compressed appearance that I cannot view well. This is shown in the attachment named Squished. The way the chart should appear is shown in the attachment named Correct.

    I suspect my issue has something to do with bar spacing and/or compression. Can you please suggest some chart parameters that I might consider changing to remedy the appearance of Squished?

    Thank you.

    Isaac

    Leave a comment:


  • ivb73077
    replied
    Using Prints will work. I was just trying to understand if this behavior was unusual and indicative of a problem with my code.

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello,

    Thank you for the reply.

    You are correct in the sense that some indicators do display items in the properties menu, mainly just Plots when added from a strategy. In this case the selected indicator has nothing that could be configured when added by strategy so it is blank. If instead you added an SMA, you would see a single SMA plot listed.

    This could be due to the way that specific indicator is programmed or could be that it does not have any plots. Based on the first image I can not see if this does have any plots or not, I would assume not if they are not being displayed.

    Because this item does not have anything that will display when added from strategy, you could utilize Print statements from within the strategy and Print specific indicator values. This may not be the most desirable way to view the changes but would provide more insite than a blank properties grid. Also you could use DrawingObjects with the indicator values in question to get a visual display of the data on the chart of either an object or a text.

    I look forward to being of further assistance.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by yeshujbp, 07-21-2019, 02:40 PM
2 responses
32 views
0 likes
Last Post omololu
by omololu
 
Started by seagraph, Yesterday, 03:27 PM
1 response
24 views
0 likes
Last Post NinjaTrader_Jesse  
Started by NinjaCustomer, Today, 09:37 AM
1 response
8 views
0 likes
Last Post NinjaTrader_DrewO  
Started by stalt, Today, 07:52 AM
5 responses
16 views
0 likes
Last Post NinjaTrader_PatrickG  
Started by im197, 07-30-2019, 12:29 PM
2 responses
10 views
0 likes
Last Post NinjaTrader_Jesse  
Working...
X