Comments (6)
This indicator will not do "daily" at the moment - but will use a rolling approach.
You can make it use a rolling of 1d (timeperiod parameter) - but then it'll be windows from 00:00-24:00, 1:00 - 0:59, ...
As an alternative point (Edited in) - try using informative pair (same pair, '1d' resolution) - calculate the pivot point on that and then merge back to the original dataframe - that should get you exactly what you need.
additional note:
I don't think the "daily" approach is suitable for crypto anyway - that's made for traditional markets, which have a daily open time - where "daily" is really relevant, as it has a meaning for the market cycle.
Crypto markets however are "always open" - so if you'd use "daily" windows (like in the screenshot above)- which timezone will you use for crypto markets, which are always open?
Your own (for convenience)? UTC? or maybe US, or Asia, or some random European timezone?
Therefore, using a rolling daily parameter (as this indicator is doing) is actually a better approach in my opinion.
Now that does not mean it cannot be changed to also do the "batched daily" - but it's currently not implemented - and i don't think that for the forseeable future, i'll have time (nor will) to implement this - so if you' think it's a must, i'd encourage doing a Pull request adding this feature.
from technical.
I agree you, but anyways the problem might be almost solved using weekly changes for the suports and resistance values I guess, there would be a problem of just hours on every last day of the week?, Hope you excuse me about my inexperience, but how could I use those week timeframes for the calculations of the indicator, to keep those supports and resistances values unchanged, and still be using 5 minute charts for my trading? Thanks again for your time :)
from technical.
you can't really use weekly candles with 5m candles - it's too long, so after ~3 days, your weekly candle doesn't have an overlapping candle to join to the 500 5m candles.
However, using weekly candles is NOT what tradingview talks about, but about daily candles (where the described method works fine).
You should be able to repurpose parts of this sample - obviously with a lot of changes to actually get pivot points instead of RSI as shown there.
Best plot the results afterwards (freqtrade plot-dataframe
) - so you see what you'll get.
from technical.
Hi xmatthias,
I Implemented the pivots_points function and as you suggested, I
".....try using informative pair (same pair, '1d' resolution) - calculate the pivot point on that and then merge back to the original dataframe - that should get you exactly what you need....."
It works but after a few hours, the Pivots Lines on FreqUI disappear!
I'm working with a timeframe of 1m and I want, if possible, to have the Pivots_point on a 1d resolution.
Thanks!
Best Regards!
from technical.
Merging assumes that at least one common time is available.
That's not the case between 1m and 1d, as the 2 are too far apart (you get 1000 1m candles, which will not give you a 00:00 candle in the last part of the day).
i doubt this makes sense though - if you look at 1d data, you'll not need signals at the 1m timeframe (which is usually way too noisy to get good signals out anyway) - so best consider switching to a slightly bigger timeframe like 5m or 15m.
from technical.
Perfect! Thanks for your help!
from technical.
Related Issues (20)
- Resampled dataframes are shifted 1 candle. HOT 4
- Trend Step Channel - appreciate it HOT 4
- resample_to_interval date shifted HOT 1
- Help with Trend Trader Strategy HOT 1
- ichimoku different value proposal HOT 1
- How to import external data to populate entry/exit trend conditions HOT 14
- Multiple timeframe merge HOT 10
- Laguerre RSI wrong computation HOT 3
- ```crossed``` function throws error with numpy integers
- utils bug HOT 4
- How to plot segtrends or gentrends using freqtrade plot-dataframe ? HOT 1
- Phase Change Index HOT 18
- I try to convert Predictive Ranges [LuxAlgo] to the py, whats the problem? HOT 7
- Involvement of Heikenashi candles could be helpful in trend prediction HOT 1
- Help needed with: AttributeError: 'SSL' object has no attribute 'copy' HOT 3
- warning util.py
- 16 tests failed HOT 4
- Pandas warning when setting fillna(0) on RMI calc HOT 2
- Issues with PMAX indicator HOT 1
- A few Pinescript lines HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from technical.