1. At the moment my code is opening a buy order at 00:00 hours and closing the order after reaches profit 20 pips.
2. I wanted to open a buy order if the current buy order is minus 20 pips.
3. Example as below :-
- open a buy order (EURUSD price 1.11980) at 00:00 hours
- the price now become 1.11780 and I want the code to open a new buy order (this is the part that I stuck to code now)
- the price now become 1.11580 and I want the code to open a new buy order (this is the part that I stuck to code now)
- the price now become 1.11380 and I want the code to open a new buy order (this is the part that I stuck to code now)
Appreciate assistance from the people in this forum.
- STOP orders vs LIMIT orders, when to use which?
- How to code such EA
- How to find highest and lowest open price orders?
monasa:I want … Appreciate assistance
Help you with what?
You haven't stated a problem, you stated a want.
Show us your attempt
(using CODE button) and state
the nature of your problem.
No free help
urgent help.
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