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.


    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, 03: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 funk10101, Today, 12:02 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by GLFX005, Today, 03:23 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by nandhumca, Yesterday, 03:41 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by The_Sec, Yesterday, 03:37 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by vecnopus, Today, 06:15 AM
        0 responses
        1 view
        0 likes
        Last Post vecnopus  
        Working...
        X