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

Request - Reference to other Instrument Indicator?

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

    Request - Reference to other Instrument Indicator?

    Hi,

    I'm trying to develop a custom indicator that will use another instrument as a reference to issue buy and sell orders.

    For instance, Whenever the VIX is 5% above its' 10 day MA, I would like to buy the S+P 500, or the N-100, or whatever other security.

    But to be designed so as to easily replace the VIX with any other instrument as a reference.

    However I am stumped as to how to go about doing this.

    I imagine such an indicator has been coded before but I cannot find it anywhere. If anyone knows where it is located it would be greatly appreciated.

    I am also lacking in coding skills, so will pay if someone can design such an indicator successfully.

    All help and replies are appreciated.

    Thanks for your time.

    #2
    joeydisco,

    In this case you would use a string and set it up as a user defined input. This would also require making a multi-series indicator. There are samples of multi-series indicators in Tools > Edit NinjaScript > Strategy that come default with NinjaTrader.

    If you need help making this, I would suggest a NinjaScript consultant.

    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    24 views
    0 likes
    Last Post algospoke  
    Started by ghoul, Today, 06:02 PM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    46 views
    0 likes
    Last Post jeronymite  
    Started by Barry Milan, Yesterday, 10:35 PM
    7 responses
    23 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by AttiM, 02-14-2024, 05:20 PM
    10 responses
    181 views
    0 likes
    Last Post jeronymite  
    Working...
    X