Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

same function in NT

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

    same function in NT

    Hallo, I ask you if in NT there is a function similar to the one below: Syntax

    security(x, y, z, a) → seriesReturns

    Returns another series.
    Arguments

    x stringSymbol (for example "tickerid", "msft" or other financial instrument...like as close[0] or input[0] in NT...I think). "Ticherid" is a bulti-in variable, type string, with Symbol name with exchange prefix (e.g. "BATS:MSFT" or "NASDAQ:MSFT).
    y stringResolution (time frame...for example "300" minute, "240" minute, "D" daily")
    z seriesExpression to calculate and return from the security call. (calculate the function output result with instrument data chosen in the chart )
    a boolMerge strategy for the requested data. Requested data is merged with the current barset data. Default value is false, data is merged continiously (without gaps). If true then data will be merged possibly with gaps.Examples

    a = security ("tickerid", "240", sma(close, 10))
    // plot simple average 10 period on close every 240 minutes with data chart

    s = security("MSFT", "D", sma(close, 10)) // every 1 Dayplot(s)s1 = security("AAPL", "240", hlc3)
    // every 240 Minutes plot (s1)

    Thank you in advance for answer.

    #2
    Hello DenisF,

    I'm not able to recognize what this function would do.

    Are you attempting to call an arbitrary amount data for an instrument and supply this as an instrument as a input series?

    There would not be a supported way of accomplishing this with NinjaTrader 7. You can add a secondary series before the script starts and use the data of this secondary series, but not after the script has started by using the Add() method and supplying the series for that bars in progress.
    Add() - http://ninjatrader.com/support/helpGuides/nt7/add3.htm
    BarsArray - http://ninjatrader.com/support/helpG.../barsarray.htm
    BarsInProgress - http://ninjatrader.com/support/helpG.../barsarray.htm
    Closes - http://ninjatrader.com/support/helpG...nt7/closes.htm

    With NinjaTrader 8, it is possible to do a BarsRequest to request an arbitrary amount of data for any instrument to a bars object.
    BarsRequest - http://ninjatrader.com/support/helpG...arsrequest.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3

      Hallo, I have a NT life time license tha I haven't use for some time. I would like to reactivate it to use Dimension Trader software...what can I do? thank you


      Denis

      Comment


        #4
        Hello Denis,

        Your license key should still be valid as it is a lifetime license key. Can you please send me an email including your license key at "platformsupport[at]ninjatrader[dot]com".

        What currently prevents you from using Dimension Trader add-ons in NinjaTrader? Do you experience an error message? If so, please tell me what the error states.

        JasonNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by localappleseed, Today, 09:51 AM
        0 responses
        3 views
        0 likes
        Last Post localappleseed  
        Started by wehewwehd, Today, 09:13 AM
        0 responses
        4 views
        0 likes
        Last Post wehewwehd  
        Started by aaajv, Yesterday, 06:45 AM
        3 responses
        21 views
        0 likes
        Last Post NinjaTrader_ThomasC  
        Started by asmmbillah, Today, 08:13 AM
        0 responses
        4 views
        0 likes
        Last Post asmmbillah  
        Started by Bionian, Today, 07:07 AM
        2 responses
        7 views
        0 likes
        Last Post Bionian
        by Bionian
         
        Working...
        X