Download MetaTrader 5

closeorder after "x" pip at the current bar.

To add comments, please log in or register
Jhay82
41
Jhay82  

Hello,

currently testing an EA with open price only,

is it possible to give an order like "closebuy after a 500 pip movement reverse movement at the current bar."

(like I buy at with open price 1,1550 and want to closebuy order at 1,1050.)

it may need a everytick and open prices only combo so curious.

My regards.

qjol
3243
qjol  
in this century everything is possible
Keith Watford
Moderator
10566
Keith Watford  

I have no idea what "closebuy after a 500 pip movement reverse movement at the current bar." means

So what chance does the EA? ;)

Jhay82
41
Jhay82  
order will stop after current bar drops down by 500 pips
Keith Watford
Moderator
10566
Keith Watford  
Jhay82:
order will stop after current bar drops down by 500 pips

How often is there a 500 pip drop in a single bar?
Keith Watford
Moderator
10566
Keith Watford  
Jhay82:


(like I buy at with open price 1,1550 and want to closebuy order at 1,1050.)


Why not just set stop loss at 1.1050 ???
Jhay82
41
Jhay82  
doing that manually but cant be doin that on strategy tester.
whroeder1
15567
whroeder1  
Jhay82: doing that manually but cant be doin that on strategy tester.
Why not? Code it!
To add comments, please log in or register