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
See Also
https://www.mql5.com/en/forum/143607 for how you can make ordersend / orderclose work as well for 4 as for 5 digit broker
If Bid is moving around EMA you will have open a lot of trades in a short period with each crossing
Here you go. Hope this is helpful.. I know what it's like trying to learn this stuff. I was lost for a while too. I just started recording some videos and posting them on youtube to try and help someone. if you search for Mql4 lessons .. you will find them.... keep learning....
.......Trade Safely....
JimDandy.
Also you might want to move that digit check into the init() function so that it does not run every tick.
int mypoint;
Also you might want to move that digit check into the init() function so that it does not run every
Thank you for the input Jimdandy.
I am currently viewing your webpages. So far, error 130 is still happening, so I will try to figure it out. Oanda is not an ECN, so I should be able to adjust the stops in the OrderSend().
See Also
https://www.mql5.com/en/forum/143607 for how you can make ordersend / orderclose work as well for 4 as for 5 digit broker
If Bid is moving around EMA you will have open a lot of trades in a short period with each crossing
Thank you deVries, making those changes today.
If your Broker is not an ECN you caan send the TP & SL with the OrderSend() so you don't need to do the OrderModify(), you do need to make sure your SL isn't too close . . .
Read this: Requirements and Limitations in Making Trades what is your Stoplevel ? is it greater than 10 ?
what is your Stoplevel ? is it greater than 10 ?
what is your Stoplevel ? is it greater than 10 ?
Hey RaptorUK:
Yes it is larger than 10. Do you think it has something to do with my trade criteria? I just wanted to make an EA to get the hang of putting in stops but its proved to be a great learning opportunity.
Hey RaptorUK:
Yes it is larger than 10. Do you think it has something to do with my trade criteria? I just wanted to make an EA to get the hang of putting in stops but its proved to be a great learning opportunity.
As I said before . . .
Read this: Requirements and Limitations in Making Trades
Your SL and TP have to be further away from the entry price than the Stoplevel.
With a Stoplevel of greater than 10 your SL is bad, with a Stoplevel greater than 25 your TP is also bad.