• DocumentationSections
    • Forum
    • Market
    • Signals
    • Freelance
    • Quotes
    • WebTerminal
    • Calendar
    • VPS
    • Articles
    • CodeBase
    • Documentation
    • About
  • Log in
  • Create an account
  • English
  • Русский
  • 中文
  • Español
  • Português
  • 日本語
  • Deutsch
  • 한국어
  • Français
  • Italiano
  • Türkçe
...
    MQL5 ReferenceStandard LibraryTrade ClassesCPositionInfoPriceOpen 
    • Time
    • TimeMsc
    • TimeUpdate
    • TimeUpdateMsc
    • PositionType
    • TypeDescription
    • Magic
    • Identifier
    • Volume
    • PriceOpen
    • StopLoss
    • TakeProfit
    • PriceCurrent
    • Commission
    • Swap
    • Profit
    • Symbol
    • Comment
    • InfoInteger
    • InfoDouble
    • InfoString
    • Select
    • SelectByIndex
    • SelectByMagic
    • SelectByTicket
    • StoreState
    • CheckState

    PriceOpen

    Gets the price of position opening.

    double  PriceOpen() const

    Return Value

    Position open price.

    Note

    The position should be selected using the Select (by ticket) or SelectByIndex (by index) methods.

    Volume
    StopLoss
    • MQL5.community
      • Online trading / WebTerminal
      • Free technical indicators and robots
      • Articles about programming and trading
      • Order trading robots on the Freelance
      • Market of Expert Advisors and applications
      • Follow forex signals
      • Low latency forex VPS
      • Traders forum
      • Trading blogs
      • Charts
    • MetaTrader 5
      • MetaTrader 5 Trading Platform
      • MetaTrader 5 latest updates
      • News, implementations and technology
      • MetaTrader 5 User Manual
      • MQL5 language of trading strategies
      • MQL5 Cloud Network
      • End-to-End Analytics
      • Download MetaTrader 5
      • Install Platform
      • Uninstall Platform
    • Website
      • About
      • Timeline
      • Terms and Conditions
      • Recurring Payment Agreement
      • Agency Agreement – Offer
      • Privacy and Data Protection Policy
      • Cookies Policy
      • Contacts and requests
    • Join us — download MetaTrader 5!
      • Windows
      • iPhone/iPad
      • Mac OS
      • Android
      • Huawei
      • Linux
      • Tradays Economic Calendar
      Not a broker, no real trading accounts
      35 Dodekanisou str, 4043, Limassol, Cyprus
      Copyright 2000-2023, MetaQuotes Ltd