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 sjsj2732, Yesterday, 04:31 AM
    0 responses
    38 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    287 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    289 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    134 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    95 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X