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
Hi,
i´m new to programming but trying my best. Currently i´m trying to program EA which will trade after predefined set of points e.g. open order after last trade +/- x points. My EA is working fine until one moment, When i open a trade pending order will be set +/- points only if tick will take place. That is fine but when that tick will go other directions (not pending direction) it won´t place pending order and when the first order hit SL it should place opposite market order but in this scenario (when pending order is not set) it won´t open opposite trade and EA stops. Please can anybody help me identify the problem ? Thanks in advance