sheriffonline:
At the moments of "high impact news time" the banks or hedge funds or .. from which your broker gets the quotes you see stop providing new quotes.
I would like to close my order partially 50% of lot size when it is in +20 pips.
so when order is >20 pips i tried following code:
but due to high impact news time like ECB,FOMC minutes EA not closing the partial order when +20 pips. what could be the issue?
is there any idea to rewrite my code to close the order till it executes?
Your help is appreciated. Thanks

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 would like to close my order partially 50% of lot size when it is in +20 pips.
so when order is >20 pips i tried following code:
but due to high impact news time like ECB,FOMC minutes EA not closing the partial order when +20 pips. what could be the issue?
is there any idea to rewrite my code to close the order till it executes?
Your help is appreciated. Thanks