Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Rising / Falling

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

    Rising / Falling

    Hi all;

    Has anybody any ideas over the time frame that NT use to calculate 'rising' and 'falling'?

    Can I change it? If so - How?

    If not - is the only way round it to write my own code defining my rising and falling conditions?

    Thanks;

    Ben.

    #2
    This is defined in the help file.

    Originally posted by stocktraderbmp View Post
    Hi all;

    Has anybody any ideas over the time frame that NT use to calculate 'rising' and 'falling'?

    Can I change it? If so - How?

    If not - is the only way round it to write my own code defining my rising and falling conditions?

    Thanks;

    Ben.

    Comment


      #3
      Originally posted by stocktraderbmp View Post
      Hi all;

      Has anybody any ideas over the time frame that NT use to calculate 'rising' and 'falling'?

      Can I change it? If so - How?

      If not - is the only way round it to write my own code defining my rising and falling conditions?

      Thanks;

      Ben.
      The NT Help specifically says: "Checks for a rising condition which is true when the current value is greater than the value of 1 bar ago." which is kind of very specific.

      The function does not seem to be indexed, though it should be easy to use if statements to work around that.

      Better yet is to simply code your own rising() function, including input parameters for the period over which you want to test your rising conditions and how you want them to occur.

      Comment


        #4
        Originally posted by koganam View Post
        The NT Help specifically says: "Checks for a rising condition which is true when the current value is greater than the value of 1 bar ago." which is kind of very specific.

        The function does not seem to be indexed, though it should be easy to use if statements to work around that.

        Better yet is to simply code your own rising() function, including input parameters for the period over which you want to test your rising conditions and how you want them to occur.
        oops my bad; even more embarrassing is that I had the help file open on that entry.

        'Tut - blooming half - wits asking stupid questions !'

        Anyway -thanks for pointing out the obvious guys -

        Ben.
        (Going to read the whole page next time).

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by morrnel, Today, 06:07 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by thumper57, Yesterday, 04:30 PM
        6 responses
        20 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by sastrades, 05-10-2024, 09:59 AM
        3 responses
        55 views
        0 likes
        Last Post rc5781
        by rc5781
         
        Started by guyonabuffalo, Yesterday, 10:01 PM
        2 responses
        22 views
        0 likes
        Last Post guyonabuffalo  
        Started by reynoldsn, 05-10-2024, 07:04 PM
        5 responses
        27 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X