Dukascopy
 
 
Wiki JStore Search Login

How to find the price of the last trade
 Post subject: How to find the price of the last trade Post rating: 0   New post Posted: Fri 23 Jan, 2015, 13:21 
User avatar

User rating: 0
Joined: Fri 23 Jan, 2015, 13:07
Posts: 1
Location: RomaniaRomania
Hello,
I newbie to JForex and Visual JForex. I would like to know how to find the price of the last trade and if was done from bid or from ask (if it was a sell or buy position)
Thanks in advance for replies!


 
 Post subject: Re: How to find the price of the last trade Post rating: 1   New post Posted: Fri 23 Jan, 2015, 14:28 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi there,
Welcome to the forum!
If you mean the position open price or close price you can find this:
Graphically, in the chart when a position is opened or closed. Shorts are identified by a red triangle / Longs by a blue. Open and close prices are linked with a dotted line.
In VJF interface:
either
using trade event section > Trade message position > Open price / Close price. This will allow you to check the last opened position as these variables are dynamic and their values get updated every time a new position command is submitted to the market.
Or
using a dedicated variable that you will create in your "Open@market" block. This variable is defined with the type "Position" and easily found when you click on the output section of your open at market block (or any other order command block)

For more information, I recommend you to browse the forum and check the posted strategies/posts as you might find very useful information.

Enjoy !


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com