Hello there about highest and lowest price

Created at 11 Jan 2021, 10:33
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!
IM

imrealfighter

Joined 09.11.2020

Hello there about highest and lowest price
11 Jan 2021, 10:33


Hello there ! again as a newer on ctrader chart. 

is it possible for us to find the highest and lowest price on the current chart that we're watching at the time. 

Thank you. 


 


@imrealfighter
Replies

PanagiotisCharalampous
11 Jan 2021, 10:47

Hi imrealfighter,

You can use the FirstVisibleBarIndex and loop through the visible bars to find the highest high and lowest low.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous