Bullish and Bearish candles

Created at 13 Oct 2012, 01: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!
RK

rkokerti

Joined 28.06.2012

Bullish and Bearish candles
13 Oct 2012, 01:27


Hello,

I would like to ask for a development. Normally, if we would liketo specify that, a candle is bullish or bearish, we need to usethe following code:

if(MarketSeries.Open[index] < MarketSeries.Close[index]) // in case of bullish candle

if(MarketSeries.Open[index] > MarketSeries.Close[index]) // in case of bearish candle

 

I don’t know it is possible or not, but it would be better if can replace this code with this:

if(MarketSeries.IsLong[index]) // in case of bullish candle

if(MarketSeries.isShort[index]) // in case of bearish candle

or something like this… it’s only an example, an idea. Thiswould makethe codemuchshorter andsimpler. Especially when we work with 5-10 candles.

Regards


@rkokerti
Replies

admin
15 Oct 2012, 12:16

Thank you for the suggestion.  Indeed, a very good feature.  

We will include it very soon. Stay tuned!

 

 


@admin