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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        47 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        23 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        51 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X