Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 nleitman, Yesterday, 11:46 AM
        13 responses
        33 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by MSerag, Yesterday, 11:52 PM
        3 responses
        23 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by dcriador, Yesterday, 01:43 AM
        6 responses
        27 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by James650, Today, 08:25 AM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by Rogers101, 05-05-2024, 11:30 AM
        14 responses
        40 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X