About prices used in real-time SMA
About prices used in real-time SMA
25 Mar 2024, 05:35
When calculating the real-time SMA for an uncompleted candlestick, what price is used?
I want the same value for the SMA displayed in cTrader.
Replies
bolatfx
25 Mar 2024, 08:39
RE: About prices used in real-time SMA
PanagiotisCharalampous said:
Hi there,
It uses the last x prices defined by the MA period including the current one.
Best regards,
Panagiotis
thank you. I use the closing price of the candlestick for SMA calculation, but in real time, the candlestick is not completed yet. What should I use instead of the closing price in such a case?
@bolatfx
PanagiotisCharalampous
25 Mar 2024, 08:40
RE: RE: About prices used in real-time SMA
bolatfx said:
PanagiotisCharalampous said:
Hi there,
It uses the last x prices defined by the MA period including the current one.
Best regards,
Panagiotis
thank you. I use the closing price of the candlestick for SMA calculation, but in real time, the candlestick is not completed yet. What should I use instead of the closing price in such a case?
The current bid price
@PanagiotisCharalampous
PanagiotisCharalampous
25 Mar 2024, 07:31
Hi there,
It uses the last x prices defined by the MA period including the current one.
Best regards,
Panagiotis
@PanagiotisCharalampous