Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ASK of the last 9 bars

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

    ASK of the last 9 bars

    Dear sirs,
    I note that exists GetCurrentASK, but is it possible to get maximum Ask for a determinate period? I would be get the maximun ASK of the last 9 bars.
    Do you have an indicator that help me?
    Thank you
    Best

    #2
    Hi simone, I'm not aware of an indicator for this, you would to have to code this out in our NinjaScript editor. Here are some good tutorials to get your started - http://www.ninjatrader-support.com/H...verview18.html

    You can also contact those NinjaScript consultants for programming assistance - http://www.ninjatrader.com/webnew/pa...injaScript.htm

    Comment


      #3
      Ok,
      but is it possible to get the ASK for n-bars ago?
      One way is to use a Close position, but is not a good solutions..
      Thank you

      Comment


        #4
        Originally posted by simone View Post
        Ok,
        but is it possible to get the ASK for n-bars ago?
        One way is to use a Close position, but is not a good solutions..
        Thank you
        yes, it's possible to get the ASKprice maximum for n-bars ago or n-ticks ago, etc. (Also with the ASKvolume).

        Regards

        Comment


          #5
          >yes, it's possible to get the ASKprice maximum for n-bars ago or n-ticks ago, >etc. (Also with the ASKvolume).

          In wich mode?
          I note only GetCurrentAsk..
          Thank you

          Comment


            #6
            Hi simone, there's unfortunately no historical bid / ask data available, therefore you would need to code this out and save the realtime bid / ask to variables for later comparison.

            Comment


              #7
              Originally posted by cls71 View Post
              yes, it's possible to get the ASKprice maximum for n-bars ago or n-ticks ago, etc. (Also with the ASKvolume).

              Regards
              sorry,
              it's possible but on realtime only. You must use arrays for holding values.

              Regards

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              582 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              338 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              554 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              552 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X