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 Aviram Y, Today, 05:29 AM
        0 responses
        2 views
        0 likes
        Last Post Aviram Y  
        Started by quantismo, 04-17-2024, 05:13 PM
        3 responses
        25 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by ScottWalsh, 04-16-2024, 04:29 PM
        7 responses
        34 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by cls71, Today, 04:45 AM
        0 responses
        6 views
        0 likes
        Last Post cls71
        by cls71
         
        Started by mjairg, 07-20-2023, 11:57 PM
        3 responses
        217 views
        1 like
        Last Post PaulMohn  
        Working...
        X