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 cmoran13, Yesterday, 01:02 PM
    0 responses
    30 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    22 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    160 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    95 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    148 views
    2 likes
    Last Post CaptainJack  
    Working...
    X