Dynamic Candlestick width
Created at 16 Mar 2017, 17:22
IF
Dynamic Candlestick width
16 Mar 2017, 17:22
Hi all,
Is there a way to get the width of candlestick dynamically in OnTick() or Calculate() methods ?
Thanks in advance.
Replies
BeardPower
16 Mar 2017, 17:49
RE:
But I guess you are referring to the scaling, hence OHLC would be the bar height.
No, there is no API support for chart specific settings.
@BeardPower
iForex2015
17 Mar 2017, 23:18
Dear BeardPower
Yes I was meaning thickness of candlestick. Thanks for the message.
@iForex2015
BeardPower
16 Mar 2017, 17:45
Are you referring to the OH/CL range?
If so, there is no function for getting the bar range. You have to calculate it yourself by using the OHCL values.
@BeardPower