Announcement

Collapse
No announcement yet.

KST indicator

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • KST indicator

    Hello,

    I am an italian trader so please excuse my english.
    I am looking for the KST indicator from Martin Pring. Anyone programmed it?
    Also is possible to have the moving average of the indicator?
    Thank you for your help.

    Raffaele
    Raffaele

  • #2
    Raffaele
    See this post
    Alex

    Comment


    • #3
      Alexis,

      Thank you for your response. I downloaded the formula but I get a syntax error File not found...

      Raffaele
      Raffaele

      Comment


      • #4
        Raffaele
        You need to download the amStudies function library for the efs to work. For information on the amStudies library see the link in the post I indicated in my previous reply.
        Alex

        Comment


        • #5
          Alexis,

          Sorry by mistake I downloaded the library to same folder of the efs.
          Now everything is perfect. Thank you very much for your help.

          Raffaele
          Raffaele

          Comment


          • #6
            Raffaele
            Glad to hear it is working and you are most welcome
            Alex

            Comment


            • #7
              Klinger oscillator

              Alexis,
              I downloaded your kvo.efs and it is working, but it is different from same study in Tradestation. I have attached snapshot of Tradestation chart. Can you please explain why this difference?
              Thank you
              Attached Files
              Raffaele

              Comment


              • #8
                Raffaele
                I believe that my script is calculating the Klinger Volume Oscillator correctly. Regardless if you post your TradeStation code I can look at it and see where the differences may be
                Alex

                Comment


                • #9
                  Alexis,
                  Thank you for your response. I copied the Tradestation code from this link.
                  Raffaele

                  Comment


                  • #10
                    Raffaele
                    I believe that TradeStation code is incorrect. The variable DM used in the VForce function should be assigned the value of Range and is instead only assigned an initial value of 0. You can correct the TradeStation code in one of two ways ie either by adding DM = Range and then replacing every instance of Range with DM or by replacing DM with Range in the line VForce = Volume * AbsValue(2 * (DM/CM) -1) * Trend * 100;
                    Once you make that change the plot in TradeStation should match that in eSignal
                    Alex

                    Comment


                    • #11
                      Alexis,
                      Thank you again very much. I used the simpler solution and changed DM with Range and now the indicator looks the same.
                      One more question please. I use a black brackground in my Esignal chart and I don't see the zero line. Where can I change the color in your formula.
                      Raffaele

                      Comment


                      • #12
                        Raffaele
                        To do that you need to change the color parameter in the following line which is inside the bInit routine
                        addBand(0, PS_SOLID, 1, Color.black,"0");
                        Replace black with a color of your choice. You can find a list of colors in this article in the EFS KnowledgeBase
                        Alex

                        Comment


                        • #13
                          Alexis,
                          Now I have the right color. Thank you for all your help.
                          Raffaele

                          Comment


                          • #14
                            Raffaele
                            You are most welcome
                            Alex

                            Comment

                            Working...
                            X