How do I get the daily currency change?

Created at 28 Dec 2022, 19:23
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
AS

Astar0th

Joined 28.12.2022

How do I get the daily currency change?
28 Dec 2022, 19:23


How can I get the daily price change of a currency? In the cTrader itself you can see this value here. 

I need to get this value from the bot, for different currency pairs.


@Astar0th
Replies

PanagiotisChar
29 Dec 2022, 09:30

Hi there,

You need to get the daily bars and calculate the difference between the opening price and the current bid price.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

Astar0th
29 Dec 2022, 11:02

RE:

PanagiotisChar said:

Hi there,

You need to get the daily bars and calculate the difference between the opening price and the current bid price.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 

Thanks, I didn't think of this simple solution myself.


@Astar0th