@Rashi Razdan @tejas_khoday
I am planning to build my own dashboard for MT5 to send orders to API-BRIDGE by modifying button.mql provided by you.
can you please confirm the order types for my button or it needs some correction?
I have attached a screenshot.
KVWxw2N6Ev
(Inactive Member)
3
Hi Hiren,
I see that you are trying to create your own custom system. I am not very sure about the terms you are using like “Pen” or “on Click”.
Recommend you very strongly to make yourself familiar with these two articles:
In APIBridge, a signal is not an order. If you want to use signal as order, you can skip signal settings completely as per bottom of this article https://mycoder.pro/apibridge/what-are-symbol-settings/
My recommendations below are based on general terminology:
Pen-SellStop - On Click - ShortEntry - OrderType SLL | Stoploss Order ShortExit OT=Limit | Target Order - ShortExit OT=Limit
Pen-BuyStop - On Click - LongEntry - OrderType SLL | Stoploss Order LongExit OT=Limit | Target Order - LongExit OT=Limit
Limit-Sell - On Click - ShortEntry - OrderType Limit | Stoploss Order ShortExit OT=SLL | Target Order - ShortExit OT=Limit
Limit-Buy - On Click - LongEntry - OrderType Limit | Stoploss Order LongExit OT=SLL | Target Order - LongExit OT=Limit
Sell - On Click - ShortEntry - OrderType Market | Stoploss Order ShortExit OT=SLL | Target Order - ShortExit OT=Limit
Buy - On Click - LongEntry - OrderType Market | Stoploss Order LongExit OT=SLL | Target Order - LongExit OT=Limit