Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is it possible to create your own composite average using NT?

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

    Is it possible to create your own composite average using NT?

    Hi, i'm new to NinjaTrader and just wanted to ask if anybody knows of a way to use NinjaTrader to create a single candlestick chart based on a custom composite avg?

    So basically i want to add EOD prices from symbols of my choosing together and devide by the total number of stocks on my watch list to get an average. This would be in the form of either a single candlestick chart or P&F chart and the entire process, apart from stock selection, should be automated.

    Is this possible or am i dreaming?

    Cheers,

    Andy

    #2
    Hello panvulcon,

    Thank you or your post and welcome to the NinjaTrader Support Forum!

    What you are asking is possible through custom programming. You can create an indicator that pulls from a collection of instruments (added bar series) and plots values based on your calculations.

    This requires some more advanced programming in NinjaScript (NinjaTrader's programming language). Examples of custom plotting can be found under Tools > Edit NinjaScript > Indicators > Heiken Ashi and CustomPlotSample.
    I would also recommend the SampleMultiInstrument strategy under Tools > Edit NinjaScript > Strategies.

    Refer to the following link for information on multiple instruments in your code: http://ninjatrader.com/support/helpG...nstruments.htm

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by mkouitra, 10-23-2021, 04:40 PM
    17 responses
    1,959 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by Vietanhnguyen2hotmailcom, 05-03-2024, 10:29 AM
    4 responses
    27 views
    0 likes
    Last Post Vietanhnguyen2hotmailcom  
    Started by PhillT, 04-19-2024, 02:16 PM
    4 responses
    36 views
    0 likes
    Last Post PhillT
    by PhillT
     
    Started by ageeholdings, 05-01-2024, 05:22 AM
    5 responses
    38 views
    0 likes
    Last Post ageeholdings  
    Started by reynoldsn, Yesterday, 02:34 PM
    0 responses
    15 views
    0 likes
    Last Post reynoldsn  
    Working...
    X