Can You set sl tp at same price?

 

I want to close buy and sell at a price with tp / sl.


Can you do that?

 
Shin Joo Young: Can you do that?
You can't put them closer to the market than SYMBOL_TRADE_STOPS_LEVEL
 
whroeder1:
You can't put them closer to the market than SYMBOL_TRADE_STOPS_LEVEL

Sorry I want a price line that can close all orders from mt4 broker server. ex) Buy tp = Sell sl price
 

I need one of two functions :


1. Buy TP = Sell SL (Close All Trades in a tick)


2. When the market closed, When I get profit by weekend Gap, All close the positions before Market Opens (="All Order TP")

 
Shin Joo Young: Sorry I want
You can be sorry all you want, but
  1. You can't move the TP or SL closer to the market than what your broker allows. If you want them closed, close them.
  2. If the market is closed, there is no gap yet. If the market is closed, you can't modify or close orders. If the market opens with a gap, your TP and SL are irrelevant.