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
MAKE VALUE = 1 4 digit
For 5 digit notation brokers VALUE = 10Why not make it auto adjust. TP, SL, AND slippage
You say it better William
ofcours this has to be auto adjust
I was trying to point out that this line
OrderClose(ticket,lots,Ask,3);
"Ask" and "3" was not chosen well to close every trade
See Post RaptorUK the code is already using time not Bars
No, they are just buy / sell orders executed at market. Could it be something with my charts or options settings ?
You can't close a Buy order at Ask . . . if you want to be able to close Buy and Sell orders then use OrderClosePrice() instead of Ask . . . or distinguish between Buys and Sells.
And when you have done that add code to check the return value from your OrderClose() and report the errors . . .
read this: What are Function return values ? How do I use them ?
See Post RaptorUK the code is already using time not Bars
1. good point
2. it's a Script.