i am trying to use Heiken Ashi to told trend of that candle i just want color or number of color index from hieken ashi
from Heiken Ashi code
input color ExtColor1 = Red; // Shadow of bear candlestick
input color ExtColor2 = White; // Shadow of bull candlestick
input color ExtColor3 = Red; // Bear candlestick body
input color ExtColor4 = White; // Bull candlestick body
i just wanna know that this time Heiken Ashi's color is white or red
how i use iCustom to get Heiken Ashi Color ?
You can not read colors with "iCustom".
But, you can get the following.
If the value of "ExtOpenBuffer" is lower than "ExtCloseBuffer", then the candle color is A,
if the value of "ExtOpenBuffer" is higher than "ExtCloseBuffer", then the candle color is B.