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 DayTradingDEMON, Today, 09:28 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    8 responses
    31 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by helpwanted, Today, 03:06 AM
    2 responses
    22 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by navyguy06, Today, 09:28 AM
    0 responses
    5 views
    0 likes
    Last Post navyguy06  
    Started by rjbtrade1, 11-30-2023, 04:38 PM
    2 responses
    77 views
    0 likes
    Last Post DavidHP
    by DavidHP
     
    Working...
    X