Find Highest Close between historical Bars

Created at 19 May 2014, 14:26
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!
WI

WinningTrader

Joined 12.05.2014

Find Highest Close between historical Bars
19 May 2014, 14:26


Hi

I want to Find out Highest Close between (Index -12) and (Index -36) bars - and also the lowest close - 

double Hhigh = MarketSeries.Close.Maximum ( ??)

dluble Llow = MarketSeries.Close.Minimum ( ??)

 

 


@WinningTrader
Replies

WinningTrader
19 May 2014, 15:11

Do I need to use a For Loop to traverse each value or is there a way out - 

 

Pls help -

 

 


@WinningTrader

Spotware
19 May 2014, 15:15

RE:

WinningTrader said:

Do I need to use a For Loop to traverse each value or is there a way out - 

 

Pls help -

 

 

Yes, you need to use For loop. There is no such shortcuts in cAlgo.API.


@Spotware

WinningTrader
19 May 2014, 15:21

can we request you to kindly make this feature available in Future - 

 

To enable access . to historical Market series between two Index Values . . 


@WinningTrader

Spotware
19 May 2014, 15:29

RE:

WinningTrader said:

can we request you to kindly make this feature available in Future - 

 

To enable access . to historical Market series between two Index Values . . 

You can post your idea to vote.spotware.com


@Spotware