Help with .mqh files

 

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!

Files:
punto.mqh  1 kb
lots_long.mqh  2 kb
decimali.mqh  1 kb
 

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() 
{ 

....

}