Use MQH extension.

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
Hi, I wrote the attached file to calculate the number of lots.
I save the file in "Include" folder, with .mq4 extension.
Then I wrote #include <Lot Size.mq4> in the destination file.
If i Write
int start()
{
LotSize_Long();
LotSize_Short();
}
there is no problem in the attached file, but in the destination file when I compile I obtain the following error: 'start' - function already defined and has a body.
If I delete the above script in the include file, I obtain the following error: Start function not found and cannot be run.
How can I proceed? Thank you!
Alberto