Bullish and Bearish candles


rkokerti since: 28 Jun 2012;

  13 Oct 2012, 01:27
Bullish and Bearish candles


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.


admin's avatar

admin since: 30 Nov -0001;

  15 Oct 2012, 12:16

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

We will include it very soon. Stay tuned!