Announcement

Collapse
No announcement yet.

Real time display problem persists

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

  • Real time display problem persists

    I have added the if (getBarSatate()==BARSTATE_NEWBAR) code and the problem with the plot going straight up when plotted in a live chart continues.

    Any help is appreciated

    John
    Attached Files

  • #2
    Re: Real time display problem persists

    John
    The issue persists because you are declaring cumSumEs1 and cumSumNq1 as local variables instead of global variables as I suggested to you in this thread
    Alex


    Originally posted by xoprofittaker
    I have added the if (getBarSatate()==BARSTATE_NEWBAR) code and the problem with the plot going straight up when plotted in a live chart continues.

    Any help is appreciated

    John

    Comment


    • #3
      Thanks

      Thaks Alexis,

      I am working on straightening it out.

      I didn't mean to start a new thread, I meant to post a reply to
      the old thread. I must have hit the wrong button

      Thanks much,

      John
      Attached Files

      Comment


      • #4
        Re: Thanks

        John
        You are most welcome
        Alex


        Originally posted by xoprofittaker
        Thaks Alexis,

        I am working on straightening it out.

        I didn't mean to start a new thread, I meant to post a reply to
        the old thread. I must have hit the wrong button

        Thanks much,

        John

        Comment


        • #5
          Plot issues persist

          I thought I had made these changes before, and I did, but I attatched the wrong file in the first post of this thread. I discovered my mistake after I made the changes and again almost attached the wrong file. Gotta do something different with my file names.

          I have made the required changes to the best that I can tell, and still I get a plot that goes off the chart.

          Am I overlooking something really simple or doing something stupid???

          Thanks,

          John
          Attached Files

          Comment


          • #6
            John
            In your cumulative calculations you are using the incorrect operators ie += and -= instead of + and -
            You may want to review the example I provided in the thread I linked in my earlier reply
            Alex


            Originally posted by xoprofittaker
            I thought I had made these changes before, and I did, but I attatched the wrong file in the first post of this thread. I discovered my mistake after I made the changes and again almost attached the wrong file. Gotta do something different with my file names.

            I have made the required changes to the best that I can tell, and still I get a plot that goes off the chart.

            Am I overlooking something really simple or doing something stupid???

            Thanks,

            John

            Comment


            • #7
              Success

              Thanks Alexis.

              It's working 100%!!!

              Thankyou,

              John

              Comment


              • #8
                John
                I am glad to hear that and you are most welcome
                Alex


                Originally posted by xoprofittaker
                Thanks Alexis.

                It's working 100%!!!

                Thankyou,

                John

                Comment

                Working...
                X