Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy or an Indicator?

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

    Strategy or an Indicator?

    Hi,
    The reason I post this here is that I don’t know if I should write a Strategy or an Indicator.

    I am trying to write a simple “detector” that will alert me if any of a selected group of Instruments will meet a preset criteria.

    To do this, I need to apply that “detector” to a list of Instruments.
    The natural choice is the “Market Analyzer”

    The “Detector” will have to look at a 5 minuet bars of this instrument and possibly another set of bars that is not part of this instrument (such as an index or a future.)

    From what I could work out, the function Add() in an Indicator is what I should use to load an array of bars while Add() in the indicators has a different function altogether.

    The problem is that I don’t know if and how I can load and run a Strategy to work on a list of instruments and on the other hand I know I can run an indicator on such a list within the market analyzer but an indicator cannot look at an external list of bars using the Add() function.
    I wonder if I can get help on this.
    Thanks
    Shimon Dekel

    #2
    Hi Shimon,

    - Unfortunatley multi-series indicators are not supported so an indicator is not an option
    - Strategies do support multi-series but you can not run them in the MA

    So, what are the options?

    - You could write the indicator and then have a separate indicator in the MA for the other instrument. Color code the MA column cells based on the indicator conditions (maybe even add an alert condition) and then monitor for both conditions to be true.

    Multi-series indicators is on our list of future enhancements.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by AlexsOptions, Today, 05:42 PM
    2 responses
    12 views
    0 likes
    Last Post AlexsOptions  
    Started by philli4093, Today, 05:20 PM
    2 responses
    6 views
    0 likes
    Last Post philli4093  
    Started by memonolog, Today, 04:58 PM
    0 responses
    3 views
    0 likes
    Last Post memonolog  
    Started by robvul, Today, 04:20 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by sandman, Today, 01:54 PM
    3 responses
    24 views
    0 likes
    Last Post NinjaTrader_Jim  
    Working...
    X