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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        164 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        317 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        245 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        350 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X