Forum

closeorder after "x" pip at the current bar.

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

Code for "Do not place another order in same hour when you got a loss order already"

Hello, Curious if anyone knows how to do this. I mean, when my sell or buy order closed at 8:17pm with a loss, I dont want to place an order until 8:59pm or something like that. I'd appreciate if anyone knows code for this. My regards