I read about different pending orders in MT5 but unfortunately I couldn't find what I need. What I need is putting buy orders exactly when the market price reached to a specified point.
For example, consider market price of stock_a is $100 at the moment. I guess it will goes down up to $95 then will go up again. So I want to put a pending order exactly when the market price reached to $95.
Just remember/study that not all orders will be in the Exchange's/MT server... So you need to control your risk...
I read and tested those pending orders before!
What I need is say to MT5, buy/sell this stock at exactly this price. I don't like it puts my order in orders list and other people see my order.
So your EA will need to wait for price to reach your desired Bid/Ask price and send por order "at market" or directly buy/sell at those Bid/Ask prices...
Why you do not want to anyone to see your order on the book?