Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Referencing 15min indicators and executing tick by tick

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

    Referencing 15min indicators and executing tick by tick

    Hi,

    I'm trying to exit a strategy on the tick that it crosses the middle boll in say 15min bars.

    I tried adding 1min and tick data series, but i seem to be having trouble moving back and forth between the data series at an upper level.

    Is there a way to reference a specific data series in an indicator?

    Say Bollinger(2, 14).Middle[0](PeriodType.Minute,15)

    Then i could put the whole condition into tick by tick, and still use the 15min boll bands, and not tick boll bands...

    I suppose on a similar note, i am using Close[0] this intrabar should be the last tick right? Could the close also specifically link to a data series without linking the rest of the command?


    Cheers
    Last edited by Aussiemike; 12-01-2012, 09:10 AM.

    #2
    Originally posted by Aussiemike View Post
    Hi,

    I'm trying to exit a strategy on the tick that it crosses the middle boll in say 15min bars.

    I tried adding 1min and tick data series, but i seem to be having trouble moving back and forth between the data series at an upper level.

    Is there a way to reference a specific data series in an indicator?

    Say Bollinger(2, 14).Middle[0](PeriodType.Minute,15)

    Then i could put the whole condition into tick by tick, and still use the 15min boll bands, and not tick boll bands...

    I suppose on a similar note, i am using Close[0] this intrabar should be the last tick right? Could the close also specifically link to a data series without linking the rest of the command?


    Cheers
    Is this in the Strategy Analyzer?

    Comment


      #3
      Yes it's strategy analyser.

      I've found BarsArrays, so i have 15min data as '0' and add tick data as '1'

      I put this under bars in progress = 1, and the BarsArray[0] picks up the 15min data to find the boll middle

      if ((Close[0] <= Bollinger(BarsArray[0],2,14).Middle[0])

      Comment


        #4
        Originally posted by Aussiemike View Post
        Yes it's strategy analyser.

        I've found BarsArrays, so i have 15min data as '0' and add tick data as '1'

        I put this under bars in progress = 1, and the BarsArray[0] picks up the 15min data to find the boll middle

        if ((Close[0] <= Bollinger(BarsArray[0],2,14).Middle[0])
        That looks correct. What is the issue then?

        That compares the value of the Close in BarsArray[1] to the Bolli in BarsArray[0].

        Comment


          #5
          The issue was i only just found it after i posted. Had been stuck on it for ages :-)

          i stumbled across it looking into the options for the close and found closes which led me to the arrays

          Comment


            #6
            Hello and thank you for your post.

            From the sound of it your issue has been resolved, please let me know if I can be of assistance.
            LanceNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            633 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            364 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            105 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            567 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            568 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X