Trading With An Expert Advisor - page 2

 
PublicImageLtd:

Here is the code for the EA. It is Parabolic SAR right? None of the inputs relate to lot size I believe. Here is a screen dump of the inputs. See inputs.jpg.


Thank for sharing
 
rubyluu: Thank for sharing
Sharing? That code is part of the default installation! Everyone has it. You already have it too! It can be found at "MQL5\Experts\Advisors\ExpertMAPSAR.mq5".
 
PublicImageLtd:

Hello Everyone,

Some EAs look very promising, but I am running into issues. How can I set the volume of a trade placed by an EA? 

 Thanks,

 V 

As Fernado said above, and indeed there are many examples in the MQL5 CodeBase, you just have to be more diligent in looking for it.
Reason: