• 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

Plot not showing ???

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

  • ETFVoyageur
    started a topic Plot not showing ???

    Plot not showing ???

    I'm sure there must be something simple I am overlooking, and I'll be suitably embarrassed when someone points it out to me, but here goes:
    • The indicator pane containing my indicator shows the three lines the indicator Add()ed -- good
    • The indicator pane does not show the actual indicator value -- bad
    • The indicator pane auto-scales to the indicator values, even though they are not getting visibly plotted
    • The correct indicator values show up in the DataBox, even though they are not visible
    • The plot line is configured fine (e.g. not Transparent). In fact, I set it black and 5 pixels wide to ensure I'd see it if possible. Still nothing visible.

    In short, everything about the indicator pane is exactly what I would expect EXCEPT the indicator plot itself is not visible.

    What am I overlooking? (I'm sure it must be something embarrassingly simple.)

    --EV
    Last edited by ETFVoyageur; 07-07-2015, 08:48 AM.

  • ETFVoyageur
    replied
    As expected, the answer turned out to be embarrassingly simple. An override of Plot(...) needs to either do ALL drawing or else call base.Plot(...) to do the basic drawing and then do whatever else it wants to. Unfortunately this demo indicator's Plot(...) did neither one.

    Thanks to NinjaTrader support (Zachary).

    --EV

    Leave a comment:


  • ETFVoyageur
    replied
    Yes, it is set to True. Screenshot of Indicators dialog emailed.

    Leave a comment:


  • NinjaTrader_ZacharyG
    replied
    Hello EV,

    Please open the Indicators window and see if the Price marker(s) section under the Visual category is set to True.

    Leave a comment:


  • ETFVoyageur
    replied
    No, the Add()ed Lines ARE visible on the chart, plotted exactly as they should be.

    What is not visible is the indicator plot itself. The indicator plot affects everything it should (DataBox, auto-scaling the indicator pane), but the actual plot is not visible.

    I have tried removing and re-adding the indicator; that does not change anything.

    (Requested info sent by email.)

    --EV
    Last edited by ETFVoyageur; 07-07-2015, 09:21 AM.

    Leave a comment:


  • NinjaTrader_ZacharyG
    replied
    Hello EV,

    Thank you for your inquiry.

    Just to clarify, the Indicators window shows that you have those three lines that you added in your script, but the lines are not visible at all on the chart?

    Could you provide a screenshot of what is occurring?

    To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.

    Click here for instructions

    Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

    Click here for detailed instruction

    Something you could try doing, meanwhile, is remove the indicator from your chart, press OK, re-open the Indicators window and re-add that indicator into your chart once more.

    If you could also provide snippets of your code related to adding the plots and plotting your values, that would be helpful as well.

    I look forward to assisting you further.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by user1986, Today, 07:28 PM
0 responses
3 views
0 likes
Last Post user1986  
Started by jertrade, Today, 06:57 PM
0 responses
5 views
0 likes
Last Post jertrade  
Started by Emma1, Today, 02:42 PM
1 response
17 views
0 likes
Last Post NinjaTrader_DrewO  
Started by fx.practic, Today, 03:10 PM
1 response
6 views
0 likes
Last Post NinjaTrader_Jesse  
Started by jertrade, Today, 02:50 PM
2 responses
14 views
0 likes
Last Post jertrade  
Working...
X