Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Charting External Data Feed

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

    Charting External Data Feed

    I am using the following to create a data feed from EasyLanguage:
    Code:
    method void SendData() 
    begin
    	//if lastbaronchart = false or RTC = 1 then return;
    	if Connected(0) = 0 then begin
    	if random(100) > 50 then cBid += minmove/pricescale else cBid -= minmove/pricescale;
    	cAsk = cBid + minmove/pricescale;
    	Ask(Smbl, cAsk, intportion(random(100)));
    	Bid(Smbl, cBid, intportion(random(100)));
    	if random(100) >= 50 then Last(Smbl, cAsk, intportion(random(100)))
    		else Last(Smbl,cBid,intportion(random(100)));
    	end;
    end;
    This method is called by a timer, so that I have an manufactured data stream. The data stream is received by NT platform, but I don't seem to be able to chart it. Should I be able to chart this data?

    #2
    Hello Atomic,

    While our NinjaTrader Support staff is not able to assist with EasyLanguage, I would first ask if you are able to use the EasyLanguage files distributed with NinjaTrader 7 to push data from TradeStation to NinjaTrader 7.

    Below is a publicly available link to the help guide.
    https://ninjatrader.com/support/help...adestation.htm

    Is the AT Interface enabled?

    This thread will remain open for any community members that would like to assist with the EasyLanguage.
    Last edited by NinjaTrader_ChelseaB; 03-18-2018, 02:54 PM.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      I have used the NtDirect dll functions for a long time in commercial trading. I've also used TradeStation as the external data feed to my NT platform so I can test the code which I use in actual trading (done by a broker). I was just wondering if, when I have the external data feed coming from TS, should I be able to chart it? In this instance, TS was generating an artificial data stream from an @ES chart, and the NT platform was receiving the data as if it was from a live TS chart window, so I was wondering why I couldn't get that data to show up on a chart.

      Comment


        #4
        Hello Atomic,

        Yes, data that is received in real-time through the External Data Feed will show on a chart.

        This is what the EasyLanguage NTExternalFeed strategy included with NinjaTrader is used for.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by trader3000a, Today, 02:22 PM
        0 responses
        1 view
        0 likes
        Last Post trader3000a  
        Started by kaywai, Today, 12:05 PM
        0 responses
        4 views
        0 likes
        Last Post kaywai
        by kaywai
         
        Started by DTSSTS, 01-14-2022, 02:53 PM
        3 responses
        24 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by SuperDude123, Today, 05:17 AM
        2 responses
        19 views
        0 likes
        Last Post SuperDude123  
        Started by iamkmckinney, Yesterday, 10:52 PM
        2 responses
        23 views
        0 likes
        Last Post iamkmckinney  
        Working...
        X