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
Symbols:EURUSD,GBPUSD,GBPJPY,
Timeframes:1H,4H,DAILY,MONTHLY
Included Takeprofit function!
NO OTHER CONDITION OR RESTRICTIONS OR INDICATORS!
/There is only one(1) I think very simple rule for open a new order:/
*Open at Start of new bar(Open).*
So at start of new bar EA must open two(2) orders:
1 Sell Order and 1 Buy Order, both at market price.
If one or both orders reach Takeprofit at same bar, then EA should NOT open new order(s).
If orders do not reach TP then at end of bar EA should close both orders.
Sample:
Symbol:EURUSD(spread 2 pips)
Timeframe:4H
At 4:00 am (this is start of new bar) EA opens 2 orders:
1 Buy order at 1.4122/Takeprofit 30 pips(so 1.4152)
1 Sell order at 1.4120/ Takeprofit 30 pips(so 1.4090)
/ /
Supose at 6:30 am /meaning same bar/ Price reach Takeprofit on Buy Order(1.4152).
After Closing of Buy Order(reaching TP), EA should not open another buy order until next bar.
At end of bar(7:59:59) if price did not reach 1.4090-TP of Sell order then EA should close Sell order ar market price.
At 8:00 if there is no open trades then EA again opens 2 market Orders:1 buy and 1 sell.
That’s it.
Can you help?