not right.
1. You should make functions. for example:
//+------------------------------------------------------------------+ //| POINT | //+------------------------------------------------------------------+ double GetPoint() { double Punto=0.0; if (Symbol()=="EURUSD"||Symbol()=="USDCHF"||Symbol()=="USDCAD"||Symbol()=="GBPUSD"||Symbol()=="EURCHF"||Symbol()=="AUDUSD") Punto = 0.0001; if (Symbol()=="EURJPY"||Symbol()=="USDJPY"||Symbol()=="CHFJPY") Punto = 0.01; if (Symbol()=="EURGBP") Punto = 0.00001; return (Punto); }
2. include files in the global scope
#include <punto.mqh> #include <decimali.mqh> #include <Lots_Long.mqh> #include <Lots_Short.mqh> int start() { .... }

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I wrote the attached .mqh files and I wrote in my expert the following
int start()
{
#include <punto.mqh>
#include <decimali.mqh>
#include <Lots_Long.mqh>
#include <Lots_Short.mqh>
....
}
I'm not sure if I this is the right way.
Could you check the attached files? Thank you!