What is the current price shown on the chart is it bid price or ask price.
Or an average of these two?
I have an expert that do a job when the current price reach a predefined price how to define the current price?
For example I open a long position And I use ask price to open this position
Do I have to use with ask price as the current price for other calculation?
- How to code?
- Errors, bugs, questions
- i understand the function iClose and iOpen, but i do not understand Close and Open when Programming.
The price shown in the chart is the bid price.
You can use either the ask or the bid price for your calculations, that depends on your strategy. But have in mind that your broker will look at the bid price for long positions and the ask price for short positions.Pimpinela:
The price shown in the chart is the bid price.
You can use either the ask or the bid price for your calculations, that depends on your strategy. But have in mind that your broker will look at the bid price for long positions and the ask price for short positions.Long/Buy positions are opened at Ask
Short/Sell positions are opened at Bid
That's correct, and the opposite prices are used for SL and TP. I think that was what Morteza asked for when talking about other calculations. Anyway, with your remark now he/she has all the info needed.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register