Download MetaTrader 5

How to fastly/simply obtain order open price?

To add comments, please log in or register
forexistence
288
forexistence  

Hi.

How to obtain the order open price?

Ive tried this for see printed results

Print(   OpenPrice",PositionGetDouble(POSITION_PRICE_OPEN),
        "   Profit",PositionGetDouble(POSITION_PROFIT) );

it just return in the Journal:

OpenPrice()

Profit()


no values returned.

Some help?

Thx

Wackena
648
Wackena  
forexistence:

Hi.

How to obtain the order open price?

Ive tried this for see printed results

it just return in the Journal:

OpenPrice()

Profit()


no values returned.

Some help?

Thx

You can read this thread to see if anything there is useful.

https://www.mql5.com/en/forum/130

To add comments, please log in or register