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 Balage0922, Today, 07:38 AM
    0 responses
    1 view
    0 likes
    Last Post Balage0922  
    Started by JoMoon2024, Today, 06:56 AM
    0 responses
    6 views
    0 likes
    Last Post JoMoon2024  
    Started by Haiasi, 04-25-2024, 06:53 PM
    2 responses
    19 views
    0 likes
    Last Post Massinisa  
    Started by Creamers, Today, 05:32 AM
    0 responses
    6 views
    0 likes
    Last Post Creamers  
    Started by Segwin, 05-07-2018, 02:15 PM
    12 responses
    1,786 views
    0 likes
    Last Post Leafcutter  
    Working...
    X