Candles

Created at 06 Jun 2013, 22:17
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!
CO

CobainsCat

Joined 03.06.2013

Candles
06 Jun 2013, 22:17


Hi everyone,

I am looking for a way to access candle sticks information. For instance I would like to know if a preceding bar price action is greater than the current bar? So if bar A = 200pips and bar B is equal to 100pips I want to create an indicator that would tell me if this was true and then name this formation to something of my choosing. 

Apologies if this does not quite make 100% sense. I am new to indicator programming.

Thanks for any help you can give me!


@CobainsCat
Replies

lec0456
06 Jun 2013, 22:32

So, if you wanted to do this with an indicator you would be comparing the MarketSeries.High'[index]-MarketSeries.Low[index] and MarketSeries.High'[index-1]-MarketSeries.Low[index-1] then use the drawtext method to label the candle. hope that points you in the right direction


@lec0456