Look for the problem yourself, here in these values:
this.form.vol, this.form.name, this.form.price, this.form.stopLoss

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 coded my EA to buy this way:
But Metatrader is buying in a different price. When I open the log file, this is there:
The price "109480.0" printed by "Print" function is right. But, the EA is buying with price "1078272365".
I really I don't know what happened here.
This is only happening in the 1st transaction. The other transactions seem to be ok.
Anyone may help me , please
Cristiano M. Magalhaes