- ago
I want to create an indicator that displays values as candlesticks. Now I'm using PlotStyle.BarChart, the most appropriate drawing style for my purposes.

Is there a way to draw the indicator in the form of candles?
1
98
10 Answers

Reply

Bookmark

Sort
Cone7
- ago
#1
Probably the lack of response is due to not understanding the goal.

Can you give us an example of "an indicator (a TimeSeries of numbers) that displays values as candlesticks?"
What does that look like exactly? Please post an image, even if you have to draw it by hand.
0
- ago
#2
Currently the only indicator that does this is VChart:

https://www.wealth-lab.com/Discussion/ValueChart-BarChart-Close-not-inside-High-Low-range-of-bar-on-symbol-change-6964

If you submit a #FeatureRequest we can eventually provide a new plot style that would let you select the chart style to use to render an indicator like VChart.
0
- ago
#3
I clarify what I meant.



Glitch, can you please tag this thread as #FeatureRequest or do I need to create a new one?
0
- ago
#4
Sorry but we cannot tag this as #FeatureRequest since that OHLC vs. Candle comparison (thanks but we do know the difference!) doesn't answer Cone's question in detail. Denis, what does your indicator do exactly? Does it have 4 or more values at a given bar? It's important to understand because there may be a different solution that you just don't know about. And it may not be an indicator.
0
- ago
#5
I need the ability to build an indicator completely similar to VChart. Only for the bar to be displayed as a candle. As far as I understand, the new display mode should not affect the internal operation of the indicator in any way. Since the bar and the candle are built according to four values. I need an indicator. I know how to do it through an adviser.
0
- ago
#6
Denis, you still haven't explained why you think that you need the ability to build an indicator completely similar to VChart. Why not PlotBarHistory, for example? Clarify your task.
0
- ago
#7
Yes, the idea is it would just be a new plot style that you could use to plot VChart, but select a different chart style, Candle for example, instead of always having to plot it in the Bar style.

We could possibly just add the parameter to the existing plot style, will take a look.
0
- ago
#8
It's just about a new style of drawing the indicator. I don't need a VChart indicator as such. I just want to be able to draw candlesticks for indicators that I will write myself.

Why an indicator? Because I just want to use it as an indicator, it's convenient for me. For example, be able to move it to charts.
0
- ago
#9
QUOTE:
I just want to be able to draw candlesticks for indicators that I will write myself.

You should already able to do it by calling PlotBarHistoryStyle if you pass on "Candlestick" as the ChartStyle name parameter. Just create a BarHistory, assigning your four indicator values to its OHLC.
0
- ago
#10
We have a way of doing this with an indicator coming in Build 23!
0

Reply

Bookmark

Sort