shakib3585
Active member
Hello All,
I am trying to make a candlestick chart based on the code provided. It should follow the same strategy of "red" and "green" colors for bullish and bearish candles, respectively.
I intend to use the formulated candlestick in any time frame. Once formulated, I only want to see the formulated candlesticks and not the regular candlesticks. Please help.
Thanks
I am trying to make a candlestick chart based on the code provided. It should follow the same strategy of "red" and "green" colors for bullish and bearish candles, respectively.
I intend to use the formulated candlestick in any time frame. Once formulated, I only want to see the formulated candlesticks and not the regular candlesticks. Please help.
Thanks
Code:
def op = (0.5*(open[1]+open[2]));
def cl = (0.5*(close[1]+close[2]));
def hi = (0.5*(high[1]+high[2]));
def lo = (0.5*(low[1]+low[2]));