Pivot Indicator for MT5

fxwalb

Master Trader
Dec 18, 2009
31
0
62
This is my first attempt to code a pivot line for MT5. Is anybody willing and able to help me?

First piece of code is attached.
 

Attachments

  • Pivot.mq5
    4.3 KB · Views: 53
Last edited:

Enivid

Administrator
Staff member
Nov 30, 2008
18,619
1,366
144
Odesa
www.earnforex.com
You declare your functions incorrectly. In declarations of the functions you should mention only the types and the names of the parameters, not the values (or other functions). Example of a correct declaration:

double func(int a, double b, long c)
{
//bla bla bla
return a+b+c;
}