Highest and Lowest in Prev Period

Created at 13 Apr 2020, 16:27
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!
EI

einrel.lernie

Joined 13.04.2020

Highest and Lowest in Prev Period
13 Apr 2020, 16:27


Hello,

I would like to know if there is a property or built in functions to get the previous prices from the previous period. ex Previous High and Low of the previous period.

 

Thanks.


@einrel.lernie
Replies

PanagiotisCharalampous
13 Apr 2020, 16:33

Hi einrel.lernie,

You can check the Maximum and Minimum methods.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

einrel.lernie
13 Apr 2020, 16:49 ( Updated at: 21 Dec 2023, 09:22 )

RE:

PanagiotisCharalampous said:

Hi einrel.lernie,

You can check the Maximum and Minimum methods.

Best Regards,

Panagiotis 

Join us on Telegram

I think im not clear enough, what i mean is from the previous Period Separator, which defaults 24 candles.

Like in my picture, the high and low of the previous 2 Period separator.

I cant just use MarketSeries.High.Maximum(48), since the current period separator is moving dynamically.

Or maybe what i could use is a function or property to count the bars on the current period separtor.

 

thanks

 


@einrel.lernie