why MQL5 can't get the order's ST / TP ?

 

why MQL5 can't get the order's ST / TP ?

I can't get the history order info like MQL4's order info.

Fast Dive into MQL5
Fast Dive into MQL5
  • 2012.08.02
  • MetaQuotes Software Corp.
  • www.mql5.com
You have decided to study MQL5 trading strategies' programming language, but you know nothing about it? We have tried to examine MQL5 and MetaTrader 5 terminal from the newcomers' point of view and have written this short introductory article. In this article, you can find a brief idea of the possibilities of the language, as well as some tips on working with MetaEditor 5 and the terminal.
 
phoenix17:

why MQL5 can't get the order's ST / TP ?

I can't get the history order info like MQL4's order info.


Why don't you use PositionGetDouble(POSITION_SL) and PositionGetDouble(POSITION_TP) functions?

Andrey.

 
Wahoo:

Why don't you use PositionGetDouble(POSITION_SL) and PositionGetDouble(POSITION_TP) functions?

Andrey.

How to get History st and tp?