- ago
Is there a possibility to select timeframe for indicator that differs from chart timeframe? (From UI) Example: View one week candle graph and calculate indicator on 1m bars
Or is there a way to make spacing less than one (fractional spacing) to view whole history graph on screen without scrolling it? Just to make it easy for visual analysis
0
850
Solved
16 Replies

Reply

Bookmark

Sort
Cone8
 ( 6.17% )
- ago
#1
Yes and yes, but it's unclear which timeframe you want the base chart to be in, otherwise I could point to an example.
0
- ago
#2
Base chart in 1 day or 1 week timeframe and indicator in 1m timeframe
0
Cone8
 ( 6.17% )
- ago
#3
Normally, it's the other way around, but okay. You will only be able to retrieve the intraday bars once from the time you run the strategy. There can be no "auto-intraday-updates" with this configuration - only at the end of the day session (if streaming).

1. So, how do you want to use this 1 minute indicator calculation exactly? Do you just want to see a number?
2. Wouldn't it make more sense to use a 1-minute chart and add a thumbnail of a Daily chart, for example?
0
- ago
#4
QUOTE:
1. So, how do you want to use this 1 minute indicator calculation exactly? Do you just want to see a number?

Simple example - I want to use OBV indicator and calculate it for 1m candles but look at it in big scale. So I want to calculate it in 1 min timeframe but see the curve of changes on whole history (for example on 1 week candles)
QUOTE:
2. Wouldn't it make more sense to use a 1-minute chart and add a thumbnail of a Daily chart, for example?
No
0
Glitch8
 ( 12.53% )
- ago
#5
It’s not possible in WL to look at data in a one minute scale on a weekly chart. It’s possible the other way around though.
0
- ago
#6
What's the way?
Also I thought about writing custom linear visualizer that will draw all the data with fractional spacing. But really don't know if the indicator will be drawn correctly... Maybe I should try
0
Glitch8
 ( 12.53% )
- ago
#7
One way is using the ScaleInd Indicator, here's an example of looking at weekly close on a 30-minute chart.

0
Best Answer
Cone8
 ( 6.17% )
- ago
#8
If you want to see both series in a sync'd chart, the chart base needs to be the more granular scale, definitely.

But if the idea were just to make an adhoc indicator calculation by loading bars in any scale, we can do that - and with some work even display a different chart in a ScottPlot thumbnail (I think).
0
- ago
#9
QUOTE:
But if the idea were just to make an adhoc indicator calculation by loading bars in any scale, we can do that - and with some work even display a different chart in a ScottPlot thumbnail (I think).

The idea to select a renderer will be really nice - windows rendering is really slow) Would be great to make that as a separate extension... Fast render huge ammounts of data for visual examination with limited functionality
0
Cone8
 ( 6.17% )
- ago
#10
yah, but it's still not clear to me what you're looking for, what it should look like, or its purpose. If you want to see a bunch of data in a different time frame, you don't need an extension - you can just pull up another chart. 🤷‍♂️
0
- ago
#11
QUOTE:
yah, but it's still not clear to me what you're looking for, what it should look like, or its purpose. If you want to see a bunch of data in a different time frame, you don't need an extension - you can just pull up another chart. 🤷‍♂️

Done it!

On screenshot:

BTCUSDT - 1m
BTCUSDT - SMA(200)
BTCUSDT - RSI(20)

Maybe community will be interested in such an extension? Can I publish it?

*** All indicators supported - exept indicators with NaN values in the middle of sequence
*** Price pane indicators supported
*** All other panes drawn on Volume/Indicator pane
0
Cone8
 ( 6.17% )
- ago
#12
Hey, looks good!
But what's the orange "noise"?
0
- ago
#13
That's RSI(20) on 1m scale on whole history - just for example. It's zoomable
0
- ago
#14
Here is zoomed in variant

0
Cone8
 ( 6.17% )
- ago
#15
We started by talking about calculating indicators in other timeframes than the main chart (which is what the Bar/TimeSeriesCompressor/Synchronizer methods are for).

Not to take anything away from your extension (nice work) but how is it different than the built-in charting? It looks like a 1-min line chart, with an SMA, and and RSI plotted below it.
0
- ago
#16
The only difference is that you can calculate something for the 1 min timeframe and see (visual examination) the big picture of large history. So you can kind of propagate data from small timeframe to a large one and have a good visual analysis without numerous scrolls of 1min graph. It saves time. So it's suitable for indicators which values will vary drastically depending on timeframe - like OBV. The tool to have a quick look(visual examination) on how the indicator works on whole history. That's it!
0

Reply

Bookmark

Sort