Forum

#property indicator_type1 DRAW_CANDLES gets compilation error

Hello, I am trying to build an indicator that is drawn as candles, but the following line of code: #property indicator_type1 DRAW_CANDLES gets the following error when I try to compile it: 'indicator_type1' - unknown property MultiTFCandles.mq4 15 11 Does anyone know if " DRAW_CANDLES " is vailable

Newbie question: how to get chart foreground color

Hi all, How can I get the foreground color of a chart? I want to display text in foreground color but could not find a way to get that color. thanks in advance