• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BitfFinex - Add On

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

  • NinjaTrader_Jim
    replied
    Hello kujista,

    If you are trying to feed your own data into NinjaTrader to create a custom data series, creating your own External Data Feed would be the way to go.

    If this information is available from your provider, it would be recommended to add this instrument to NinjaTrader so it can be used natively. (It is currently not possible to add instruments to the NinjaTrader database through NinjaScript.)

    An indicator would let you hide the contents on a chart and draw your own bars (or anything) in place of the original data series. This would be synchronized with the primary data series of a chart and not the data series you would want to display, however.

    From what it sounds like, you will need to add the instrument you would like to the platform.

    If this does not clear things up, could you provide further detail on the AddOn you wish to develop so I could elaborate on what would or would not be possible as well as any resources I can share?
    Last edited by NinjaTrader_Jim; 12-11-2017, 05:14 PM.

    Leave a comment:


  • kujista
    replied
    Well, about the showing data is there a way to show data other way than using indicator? See my attachment. Well if someone already did what i asked (and he did), he did by trying fo find right way withou nt support? Dont you provide further support for developers e.g. Who have multi license or paied service?

    Leave a comment:


  • NinjaTrader_Jim
    replied
    Hello kujista,

    There is not a supported way to add instruments or instrument lists through NinjaScripts. We can request this behavior, however. Were there any details you would like me to specify in a feature request other than "Allowing users to manage instruments and instrument lists through NinjaScript?"

    As for creating your own data series for the data, you could create your own External Data Feed based off of the DLL interface. Please note that supporting the DLL interface exceeds the scope of services we may provide and the documentation is only provided as-is.

    Please let me know if there is anything else I can do to provide further assistance.

    Leave a comment:


  • kujista
    replied
    Hello i need add Instruments into instrument list, because I get them in object array and it needs to be done in code.. Check the attachments.

    I need data to be drawn in chart as DataSeries not in Indicator. AFAIK the AddPlot() can be used only in Indicator. I need to show data in chart (without indicator). If you take a look at attachments, there is shown AVTETH instrument and it automaticaly redraws according to selected time frames (see instrument-in-chart attachment.

    Will you please help me out?
    Thanks a lot
    Pavel
    Attached Files

    Leave a comment:


  • NinjaTrader_Jim
    replied
    Hello kujista,

    Thanks for opening the thread.

    1) Create custom Insturment List
    2) Create Instruments in this List
    This would be done through the Instrument Manager rather than through code. The NinjaTrader database will include instrument definitions. When using these in NinjaScript, the name of the instrument (with expiry) would be used. I would suggest checking out Multi Series NinjaScripts for indicator/strategy implementations, and using the AddOn Framework example as a reference for AddOn implementations.

    3) Store data to local disk and
    4) Show them in chart.
    Storing data to disk and can be done through a StreamReader/StreamWriter. Displaying this data on a chart can be done by setting the data to the indicators Plot Series<t>.

    I'll include publicly available resources to the items discussed below.

    Working with Instruments - https://ninjatrader.com/support/help...nstruments.htm

    Multi Series NinjaScripts - https://ninjatrader.com/support/help...nstruments.htm

    AddOn Framework example (linked within) - https://ninjatrader.com/support/help...t_overview.htm

    Sample StreamReader - https://ninjatrader.com/support/foru...ead.php?t=3476

    Sample StreamWriter - https://ninjatrader.com/support/foru...ead.php?t=3475

    AddPlot() - https://ninjatrader.com/support/help...us/addplot.htm

    Please let us know if we may be of further assistance.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by Botan626, Today, 04:43 AM
0 responses
4 views
0 likes
Last Post Botan626  
Started by xsgex, Yesterday, 09:46 PM
0 responses
3 views
0 likes
Last Post xsgex
by xsgex
 
Started by Steve L, Yesterday, 09:36 PM
0 responses
6 views
0 likes
Last Post Steve L
by Steve L
 
Started by krugman25, Yesterday, 09:34 PM
0 responses
4 views
0 likes
Last Post krugman25  
Started by indy73, Yesterday, 04:42 PM
0 responses
15 views
0 likes
Last Post indy73
by indy73
 
Working...
X