Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

First independent community of traders

First independent community of traders Logo First independent community of traders Logo

First independent community of traders Navigation

  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Buy Theme
  • Home
  • About Us
  • Blog
  • Contact Us
Home/ Questions/Q 4391
Next
In Process
galyanova777
galyanova777

galyanova777

  • 1 Question
  • 1 Answer
  • 0 Best Answers
  • 20 Points
View Profile
  • 0
galyanova777
Asked: December 27, 20202020-12-27T05:11:56+00:00 2020-12-27T05:11:56+00:00In: Forex Expert Advisors

Implementation of the Gator indicator in the MT5 expert Advisor

  • 0

Hello. Tell me how to implement the Gator indicator in the expert Advisor. That is, you are interested in the upper and lower histograms-determining them by color.

In the help in MT5 .  so incomprehensibly written.

handleS2=iGator(“EURUSD”,0,13,8,8,5,5,3,MODE_SMMA,PRICE_TYPICAL);

ArraySetAsSeries(S2mfibw,true);
   if(CopyBuffer(handleS2,0,1,5,S2mfibw)<0)
      PrintFormat(“Failed to copy data from the indicator for ” + EURUSD+”, ” +Errors(GetLastError()));

  • 2 2 Answers
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    2 Answers

    • Voted
    • Oldest
    • Recent
    1. galyanova777

      galyanova777

      • 1 Question
      • 1 Answer
      • 0 Best Answers
      • 20 Points
      View Profile
      galyanova777
      2020-12-27T05:12:03+00:00Added an answer on December 27, 2020 at 5:12 am

      Thank you , I will understand.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. barabashkakvn

      barabashkakvn

      • 7 Questions
      • 162 Answers
      • 0 Best Answers
      • 314 Points
      View Profile
      barabashkakvn
      2020-12-27T05:11:59+00:00Added an answer on December 27, 2020 at 5:11 am

      galyanova777:

      Hello. Tell me how to implement the Gator indicator in the expert Advisor. That is, you are interested in the upper and lower histograms-determining them by color.

      In the help in MT5 .  so incomprehensibly written.

      handleS2=iGator(“EURUSD”,0,13,8,8,5,5,3,MODE_SMMA,PRICE_TYPICAL);

      ArraySetAsSeries(S2mfibw,true);

         if(CopyBuffer(handleS2,0,1,5,S2mfibw)<0)

            PrintFormat(“Failed to copy data from the indicator for ” + EURUSD+”, ” +Errors(GetLastError()));

      Watch, learn: Fuzzy logic

      //+------------------------------------------------------------------+
      //|                                                                  |
      //+------------------------------------------------------------------+
      double FuzzyLogic()
        {
         double Gator,Gator2,SumGator,WPR,AC1,AC2,AC3,AC4,AC5,tempAC_b=0.0,tempAC_s=0.0,DeMarker,RSI,Decision=0.0;
         double Rang[5,5],Summary[5];
         int x,y;
         double arGator[8]    ={0.010,0.020,0.030,0.040,0.040,0.030,0.020,0.010};
         double arWPR[8]      ={-95,-90,-80,-75,-25,-20,-10,-5};
         double arAC[8]       ={0.05,0.04,0.03,0.02,0.02,0.03,0.04,0.05};
         double arDeMarker[8] ={0.15,0.2,0.25,0.3,0.7,0.75,0.8,0.85};
         double arRSI[8]      ={25,30,35,40,60,65,70,75};
         double Weight[5]     ={0.133,0.133,0.133,0.268,0.333};

         Gator    =iGatorGet(UPPER_HISTOGRAM,1);
         Gator2   =iGatorGet(LOWER_HISTOGRAM,1);

         SumGator =MathAbs(Gator)+MathAbs(Gator2);

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    Stats

    • Questions 505
    • Answers 2k
    • Posts 5
    • Comments 0
    • Best Answers 0
    • Users 689
    • Popular
    • Comments
    • Tags
    • forexcommunity

      Highlighting what’s important about questions & Answers on Discy Community!

      • 0 Comments
    • forexcommunity

      Introducing Keyboard Shortcuts, our first Labs feature

      • 0 Comments
    • forexcommunity

      Defining quality on Discy Engine — what a helpful answer ...

      • 0 Comments
    • forexcommunity

      Organizational and company accounts on Discy Engine the next step

      • 0 Comments
    • forexcommunity

      Hello world!

      • 0 Comments

    Related Questions

    • starleynsk

      SYMBOL_POINT or how to get the tick size

      • 2 Answers
    • avos

      What's wrong? possible loss of data due to type conversion

      • 5 Answers
    • worh

      pass a value from one Expert Advisor to another

      • 9 Answers
    • c00l777

      During optimization, indicators that are not present in the robot ...

      • 2 Answers
    • c00l777

      During optimization, indicators that are not present in the robot ...

      • 0 Answers

    Users

    Lindatar

    Lindatar

    • 0 Questions
    • 0 Answers
    sgarnov

    sgarnov

    • 0 Questions
    • 1 Answer
    alexandrim

    alexandrim

    • 0 Questions
    • 1 Answer

    Footer

    First independent community of traders

    About

    An independent community of forex traders. This is where traders communicate. You can ask your questions and you will receive an answer to your question.
    • Terms of Use
    • Privacy Policy
    • Cookie Policy
    • Knowledge Base
    • Support

    © 2021 Forexcommunity.net. All Rights Reserved