Search in the CodeBase for "close all trades after"
I've searched a lot
I did not find what was required
Please Help
I've searched a lot
I did not find what was required
Please Help
This simple?
if(Hour()==20) { for(int OT=OrdersTotal(); OT>0; OT--) { //delete or close? } }
I would update for GMT+DST & retries count, and it needs the OrderDelete or OrderClose..
This simple?
I would update for GMT+DST & retries count, and it needs the OrderDelete or OrderClose..
please file mq4
I've searched a lot
I did not find what was required
Please Help
Seems, you did not make a search ...
Because I spent less than 1 minute to find (mql4 file) -
----------------
Close At Time - expert for MetaTrader 4
Close At Time is an Expert Advisor for MetaTrader 4 trading platform, that closes open positions or deletes pending orders or both. You can also specify how it should be closed — by symbol, magic number or ticket number. And the last one is time when Expert Advisor will close selected orders. Time is meant local time of computer. Expert Advisor has also integrated error description for cases when there is some problem while closing individual orders.
EA is built on idea that it has to be done. It means that if there is an error while closing order or position, EA will try it again on next tick. It has also small problem when this idea is applied. Other trades, opened after selected time and satisfying selected conditions, are closed (EA is not stopped). But it doesn't violate basic idea.
Please find some information below: the thread about how to search, and all the information about Freelance -
How to make a search on the Forum/CodeBase/Market/Articles
https://www.mql5.com/en/forum/193510
----------------
Freelance - key links
https://www.mql5.com/en/forum/9950/page106#comment_5665871
- 2017.05.29
- www.mql5.com
Seems, you did not search ...
Because I spent less than 1 minute to find (mql4 file) -
----------------
Close At Time - expert for MetaTrader 4
thank you
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use