Newbie question: Is the official indicator calculated by BID or ASK price?

 

I guess the problem in the EA I'm writing now may be related to this.

Does anyone know the answer to this question? thanks for answer

 
Blur Darkness :

I guess the problem in the EA I'm writing now may be related to this.

Does anyone know the answer to this question? thanks for answer

As a rule, indicators are calculated based on the 'Close' price. If you ask a question, please always attach your MQL5 code using the button Attach fileand paste the code using the button Code.

 
Blur Darkness:

I guess the problem in the EA I'm writing now may be related to this.

Does anyone know the answer to this question? thanks for answer

Chart prices are bid prices and therefore any indicator calculations are normally based upon the bid price.

no idea what you mean by "official indicator"

 
Vladimir Karputov #:

As a rule, indicators are calculated based on the 'Close' price. If you ask a question, please always attach your MQL5 code using the button and paste the code using the button .

Thanks for your explanation!

 
Paul Anscombe #:

Chart prices are bid prices and therefore any indicator calculations are normally based upon the bid price.

no idea what you mean by "official indicator"

Thanks for your explanation!