Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cycle Identifier ??

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

    #31
    I guess what zeller meant is that in the indicator code, this parameter only takes effect when its value is either 1 or 2 as shown in the following code snippet:

    if (pUseFilterSMAorRSI == 1)
    ZL1.Set(ZeroLag(CyclePrice[0], pFilterStrengthSMA, 0));
    if (pUseFilterSMAorRSI == 2) {
    ZL1.Set(ZeroLag(RSI_DataSeriesInput(14,1,CyclePric e)[pFilterStrengthRSI], pFilterStrengthRSI, 0));
    }

    Comment


      #32
      His CI is not the original. He got 2 young programers cross the river in JerseyCity that working on Strat' and developing new stuff all the time.

      Comment


        #33
        THWES,

        wuolong is right. If you're able to say what the Jersey City programmers based the new section on, that might explain it. The 1 or 2 parameters are based on zerolag of sma or rsi. Do you think the 3 parameter is based on zerolag of stochastic or momentum or macd?

        KZ

        Comment


          #34
          Do not know what they did, how and why. Just saw the setting and it is 3 FOR SURE. Is it a 3 for sma/rsi or some new indicator involvement, I have no clue.

          Comment


            #35
            The 3 is part from a HH/Hl/LL/LH

            Comment


              #36
              Wow this looks really interesting for a strategy.

              To use the indicator in strategy wizard what do you do?

              The Line = 1 doesn't work, The Line = 0 does work?

              What do you put in the wizard to get the buy signal when the indicator is plot 1 or -1?

              Thanks!

              Comment


                #37
                don't waste your time, this indicator repaints.
                Last edited by velocity; 08-25-2009, 09:52 PM.

                Comment


                  #38
                  d

                  what does it mean, repaint?

                  Comment


                    #39
                    It means what you see historical has most likely not happend realtime as far as displayed signals go.

                    Comment


                      #40
                      Bertrand,

                      would you please share a code snippet that could solve this problem in a simple indicator? I have a simple indicator that repaints and not sure if using something after the
                      Code:
                      if (CurrentBar < period) return;
                      relating to historical or some other means would cause it to not repaint.

                      Thanks for any leads or direction you can give.

                      Kirk

                      Comment


                        #41
                        Kirk, unfortunately there's no readymade snippet I could share for the issue of 'repainting' indicator signals - this has to be addressed in the indicator source code and logic itself to plot accurate signals in realtime and backtesting.

                        Some indicators are just not designed this way, for example fitted linear regression trendlines always display the 'best fit' for a given lookback, thus a certain 'curve fit' is expected.

                        The snippet you posted relates to a common programming issue (accessing nonexistent data series objects).

                        Comment


                          #42
                          Thanks Bertrand,
                          I've seen that posted solution before and have been using it.

                          However, what i'm referring to is sometimes the code will contain some other check of data right after this check for "accessing nonexistent data series objects".

                          sometimes, i've seen if(CurrentBar == 0) or something similar to "if historical" or the use of Reset[]. Not sure the best way to use these or others as a possible solution to the repainting issue.

                          any clue you could give is appreciated.
                          thx.
                          kz

                          Comment


                            #43
                            Not sure what you mean.

                            CurrentBar = 0 only processes for the very very first bar on the chart. Likely only once ever.

                            "if (Historical) return;" means there will be no processing of ANY historical bars. Everything the strategy does will be moving forward in real-time.

                            .Reset() in relation to DataSeries objects likely has nothing to do with anything unless you are using custom DataSeries.
                            Josh P.NinjaTrader Customer Service

                            Comment


                              #44
                              Documentation ?

                              I really like this indicator... false signals and all... it is rare that a signal doesn't at least mark a PB and it is clear what makes it be reset / repainted.. the major markers are definitely worth paying attention to. I am sorting through the code which (in my view) is quite complex.

                              Is there any documentation?

                              Does anyone know how well it conforms to Kelly's commercial indicator?

                              Thanks,
                              Saroj

                              Comment


                                #45
                                zeller,

                                I saw on BMF that you and Sharky made a similar indicator, the Dots. Is it repainting and you need the code to fix it?

                                WES.



                                Originally posted by zeller4 View Post
                                Thanks Bertrand,
                                I've seen that posted solution before and have been using it.

                                However, what i'm referring to is sometimes the code will contain some other check of data right after this check for "accessing nonexistent data series objects".

                                sometimes, i've seen if(CurrentBar == 0) or something similar to "if historical" or the use of Reset[]. Not sure the best way to use these or others as a possible solution to the repainting issue.

                                any clue you could give is appreciated.
                                thx.
                                kz

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                                0 responses
                                585 views
                                0 likes
                                Last Post Geovanny Suaza  
                                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                                0 responses
                                340 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