fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Custom Indicator Sapucay Montaña

    Questions & Answers
    2
    9
    1574
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Andrest last edited by

      Please I need help with custom indicator "Sapucay Montaña." not load the parameters (input/output). 😞

      ......
      Sacupay - Montaña v2.mq4

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Instead of:

        extern int  MA1period=1, MA2period=1;
        

        try with:

        extern int  MA1period=1;
        extern int MA2period=1;
        

        and if you don't need this it can be removed:

        extern string expl01="0 u otro = (H+L)/2 = Precio Promedio";
        extern string expl02="1 = Precio de Apertura";
        extern string expl03="2 = Precio de Cierre";
        extern string expl04="3 = High";
        extern string expl05="4 = Low";
        extern string expl06="5 = (H+L+C)/3";
        extern string expl07="6 = (O+C+H+L)/4";
        extern string expl08="7 = (O+C)/2";
        

        Here is more: http://fxdreema.com/documentation/proje ... indicators

        1 Reply Last reply Reply Quote 0
        • A
          Andrest last edited by

          It does not work. I Try adding the parameters manually input (int period, etc.)
          But either.
          I need to add all the "externs"? or just the change I want in the future?
          Because I just need to change: period and MA1period.

          Please I appreciate your help and sorry for my English (with translator)

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            http://fxdreema.com/documentation/proje ... indicators

            1 Reply Last reply Reply Quote 0
            • A
              Andrest last edited by

              Ok, Solved. The problem was the name. The Spanish letter Ñ.
              Rename it and solved.

              thanks

              1 Reply Last reply Reply Quote 0
              • A
                Andrest last edited by

                Now i have this error

                2014.03.07 22:17:57.031 2007.03.06 19:00 zero divide in 'Montana.mq4' (137,39) 😞

                1 Reply Last reply Reply Quote 0
                • fxDreema
                  fxDreema last edited by

                  Can you tell me what code is there on that line?

                  1 Reply Last reply Reply Quote 0
                  • A
                    Andrest last edited by

                    Value = 0.332((_price-MinL)/(MaxH-MinL)-0.5) + 0.67Value1; //0.33 0.5 0.67
                    Value = MathMin(MathMax(Value,-0.999),0.999);
                    Fish = 0.5
                    MathLog((1+Value)/(1-Value))+0.5*Fish1;//0.5

                    Thanks 😉

                    1 Reply Last reply Reply Quote 0
                    • fxDreema
                      fxDreema last edited by

                      Mmm this code comes from the indicator, I found it here: http://codebase.mql4.com/source/39163
                      Are you sure the problems is in the indicator, and if yes, are all the input parameters fine? By the way I'm not really good with custom indicators 🙂

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post

                      Online Users

                      L
                      S
                      A
                      F

                      14
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors