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 lightsun47, Today, 03:51 PM
        0 responses
        5 views
        0 likes
        Last Post lightsun47  
        Started by 00nevest, Today, 02:27 PM
        1 response
        10 views
        0 likes
        Last Post 00nevest  
        Started by futtrader, 04-21-2024, 01:50 AM
        4 responses
        46 views
        0 likes
        Last Post futtrader  
        Started by Option Whisperer, Today, 09:55 AM
        1 response
        14 views
        0 likes
        Last Post bltdavid  
        Started by port119, Today, 02:43 PM
        0 responses
        10 views
        0 likes
        Last Post port119
        by port119
         
        Working...
        X