Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator vs Strategy

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

    #16
    Right, of course....Initialize section does not allow update from Strategy, so I put in OnBarUpdate section and used 'if (Bars.FirstBarOfSession)...' so I only change once on load/refresh. My goal here was to control all colors from the Strategy Parameter dialog.

    Thanks for link...have real time color changes going already.

    Bigger issue still remains indicator vs strategy; the biggest drawback to a strategy being that using Close in ChartTrader,etc. removes the strategy from the chart by default. As I recall that is a default safety feature related to automatic order placement and can not be changed (evem though I do not want to place orders from this strategy). So, it looks like I am going to need a separate indicator and strategy afterall. I was trying to put everything into one .cs for simplicity. Will do an all-in-one indicator and do multi-timeframe conditions via a strategy.
    Last edited by ATI user; 09-05-2007, 09:03 PM.

    Comment


      #17
      Sorry to hear you couldn't get everything into one file, but at least with an indicator and a strategy you have the flexibility to use your technique the way you want whenever you want.
      Josh P.NinjaTrader Customer Service

      Comment


        #18
        Thanks. Yes I will have the flexibility. I will get on top of what I want where eventually.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        651 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        577 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X