Hi everyone,
I want to determine whether candles (ID-0) from different timeframes are currently bullish or bearish. So for instance, while trading M15, I need the current candle information from Daily, Weekly and Monthly. For buys all timeframes need to be bullish; for sells all need to be bearish.
I figured the easiest way is to use 3 conditions that check whether price (market properties (bid)) is above or below the candle open (ID-0) of the respective timeframes Daily, Weekly and Monthly.
However, it doesn't seem to work and I cannot find the culprit.
I created labels at the top of the project (Area 3) which should show the Daily/Weekly/Monthly candle direction represented by letter D, W and M which turn red for currently bearish or green for currently bullish candles. This shows the correct Daily, Weekly, Monthly candle color initially when the EA is loaded onto the chart and the colors are only updated sometimes, seemingly at random. Sometimes the letters color is not updated at all.
Further in area FTFC Buy, i tried to create a condition that only allows buys when current Monthly Weekly and Daily candles are green and sells only if all are red. This doesn't work at all and just no trades are opened.
Any ideas what I could be doing wrong?
Any help is greatly appreciated!
https://fxdreema.com/shared/W4wDVyP6e




