Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy or Indicator?

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

    Strategy or Indicator?

    I have tried implementing my code as both a strategy and indicator. It's really functions as just an indicator for now. However as a strategy, the strategy name "RDMb5Strategy" appears at the top left of the chart. The same code as an indicator I get an extra box which is the full witdth of the chart, but about an inch high at the bottom with the name "RDMb5Indicator" at the top left of that smaller box.

    My code just displays on the main chart area, it doesn't need a secondary display area. So how do I implement as an indicator and get rid of the secondary box area at the bottom which I don't need?

    Thanks -Dean
    Last edited by cybertunerone; 04-06-2009, 01:36 PM.

    #2
    Dean,

    As an indicator it defaults to adding it to a new panel. What you want to do is change the Panel parameter to 1 when you add the indicator to your chart.

    Alternatively you can add this line of code into the Initialize() method:
    Code:
    Overlay = true;
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X