johnor...@gmail.com
unread,Nov 15, 2016, 2:59:15 PM11/15/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Adaptrade Builder
OK, I think I found the problem...
The generated code contains the following:
double SharesPerLot = 100000;
and..
extern double PSParam = 1.00;
double NShares = PSParam;
double Lots = NShares/SharesPerLot;
So, Lots would be equal to 0.00001, and I am expecting to buy 1 contract.
It looks like it is assumed that because I am using MT4 I must be trading Forex, and the Shares per lot is then set accordingly.
Is this what is happening? Is there a way to avoid/change it so that the number of contracts calculated would be correct?
More importantly, does this impact the validity/feasibility of the generated strategies?
But, MT4 can be used to trade other things; like the CAC, DAX, S&P, etc, etc.
Regards