Heffae Resolution Commander (RAW)This is a script to call resolutions with some math on top of your base resolution.
Using the modulo operator to quantize integer values, it works by converting the modified resolution integer to a 4 digit string value.
Use the function within your own scripts to call funny resolutions otherwise difficult to calculate.
You cannot add series expressions to the resolution value since pine does not allow "series" as a resolution for a security call
However, you could easily stack a crapload of these together and use an expression to switch the referenced security function for your purposes.
This is the raw timeframe output as integer, not string.
To go back to string outputs (for use in security calls etc) unslash line 52 //resvalue
For those interested in the verbose version of the timeframe mod function, showing all the steps, here is a pastebin:
pastebin.com
Cheers! Drop a line / comment if you enjoy or have any questions on how to integrate this into your script@!
The Modulo operator is so much fun!
Timeframe
Heffae Resolution CommanderThis is a script to call resolutions with some math on top of your base resolution.
THIS IS NOT AN INDICATOR TO USE ON A CHART!!! The resolution call function is really useful for your own scripting ideas!
Using the modulo operator to quantize integer values, it works by converting the modified resolution integer to a 4 digit string value.
The function within this script is what is valuable, use it within your own scripts to call funny resolutions otherwise difficult to calculate.
You cannot add series expressions to the resolution value since pine does not allow "series " as a resolution for a security call
However, you could easily stack a crapload of these together and use
an expression to switch the referenced security function for your purposes.
The SMA and plot overlay are just there to show a visual example of how the function works.
You can view the raw timeframe output integer by getting rid of tostring(x) and // out the security calls,
plotting the raw function outputs.
For those interested in the verbose version of the timeframe mod function, showing all the steps, here is a pastebin:
pastebin.com
Cheers! Drop a line / comment if you enjoy or have any questions on how to integrate this into your script@!
The Modulo operator is so much fun!
[AGHYAD]EMA-CROSS+CCI_BASED_ON_RENKO////////////////////////////////////////////
// 4 HOURS
// -------------------------- BUY --------------------------
// 1. MUST: Set Time_Frame To 1D
// 2. STRONG: Any Green Signal!!
////////////////////////////////////////////
EMA-CROSS + CCI SIGNALS BASED ON RENKO WITH CUSTOM TIME-FRAME
Ultimate 'Multi-Timeframe' Multi-AveragesPlots different kinds of averages (EMA, SMA, SMMA, WMA, VWMA) referred to a fixed timeframe/period indipendent from the one that you are watching (example: plot daily EMA on the 4h chart).
Highlights the crossing of averages.
Multiple Timeframe Moving Average SystemModified code from ChrisMoody, RicardoSantos & Ricardo M Arjona.
Allows for multiple moving average types across custom time-frames.
Strenght and MomentumThe scope of this script is to measure momentum and strenght of EURO and DOLLAR using their indexes.
Forza (line) above 0 means EURO is stonger than DOLLAR
Momento (histogram) above 0 means EURO has a positive momentum against DOLLAR
The added value to see MACD and RSI directly on EURUSD chart is that indexes consider also other pairs so their RSI and MACD has a larger view on forex markets.
Script has also an option for multi timeframes.
I think that could be used as filters for LONG or SHORT positions in lower time frames.
Single_Timeframe_3EMA + Current_Timeframe_3SMMAPlots 3 EMA from a larger timeframe (day, week) and 3 SMMA from the current one.
Single Timeframe 3EMA + Current Timeframe 3SMMA
Plots 3 exponential moving averages from a bigger timeframe (Day, Week) and 3 smoothed moving averages from the current timeframe.
NeoButane Bitfinex BTC Longs vs. Shorts Tickers Simplified (MtF)With optional overlay for high/low candle values and daily resolution close. Now with MtF to add customization .
Made because I'm too lazy to constantly re-add tickers and to reduce noise.
C320up Strategy Tester Start TimeC320up Strategy Tester Start Time
This is a little snippet you can paste into your Strategy to set the testing start date and time.
It is not a Strategy per se, though is an example with the timestamp script included.
Instructions are fairly straight forward, and are listed in the script.
If for some reason you also wanted an end date, that too is possible. Just leave a note in the comments.
Disclaimer: We searched for a similar script on TV, and could not find anything at this point in time.
You can set your preferred date and time in the input section of the settings.
Enjoy!
TSP Cycles DoubleDouble Cycles
You can setup higher timeframe cycle period's as argument, default is M30
Always show daily EMAThis script will always plot the daily EMA regardless of which timeframe you are on.
Volume Weighted Average Range Bands [DW]This is an experimental study designed to identify the underlying trend bias and volatility of an instrument over any custom interval TradingView supports.
First, reset points are established at points where the opening price of the interval changes.
Next, Volume Weighted Average Price (VWAP) is calculated. It is the cumulative sum of typical price times volume divided by the cumulative volume. The cumulation starts over upon each reset point.
After that, Volume Weighted Average Range (VWAR) is calculated. The formula structure is the same as VWAP, except using range rather than typical price.
Lastly, the bands are calculated by multiplying the VWAR by the specified multiplier (approximate Golden Ratio by default) and by 1 through 5, then adding to and subtracting from the VWAP.
Custom Bar Colors are included.
Multi-Bollinger [DW]This is an experimental study designed to visualize trend activity and volatility using a set of two Bollinger Bands calculated with a basis moving average type of your choice.
The available moving averages in this script are:
-Exponential Moving Average
-Simple Moving Average
-Weighted Moving Average
-Volume Weighted Moving Average
-Hull Moving Average
-Least Squares Moving Average
-Arnaud Legoux Moving Average
-Coefficient of Variation Weighted Moving Average
-Fractal Adaptive Moving Average
-Kaufman's Adaptive Moving Average
In addition, a middle filter is calculated by taking the median of the two basis lines.
Multi-Timeframe functionality is included. You can choose any timeframe that Tradingview supports as the basis resolution for the bands.
Custom bar color scheme is included with four options to choose from.
Laguerre Multi-Filter [DW]This is an experimental study designed to identify underlying price activity using a series of Laguerre Filters.
Two different modes are included within this script:
-Ribbon Mode - A ribbon of 18 Laguerre Filters with separate Gamma values is calculated.
-Band Mode - An average of the 18 filters generates the basis line. Then, Golden Mean ATR over the specified sampling period multiplied by 1 and 2 are added and subtracted to the basis line to generate the bands.
Multi-Timeframe functionality is included. You can choose any timeframe that TradingView supports as the basis resolution for the script.
Custom bar colors are included. Bar colors are based on the direction of any of the 18 filters, or the average filter's direction in Ribbon Mode. In Band Mode, the colors are based solely on the average filter's direction.
SuperTrend MultiTimeFrame with Alerts V.1SuperTrend Multi Time Frame with Multi Alerts ... you can insert alerts for all supertrend viewed on graph.
Different alerts for long and short.
This script plot 5min, 1H and 1D!
Enjoy!
MTF Polarity Grid [DW]This is an experimental study designed to track directional polarities across multiple timeframes and express them as a simple two color grid.
The polarity in this calculation is determined by divergence between a fast and slow McGinley Dynamic.
Your current resolution's polarity is the top row, the rows below are are for higher timeframes of your choice.
MTF Donchian Quadrants [DW]This is a simple Donchian Channel variation that separates the the channels into quadrants, and enables MTF calculation.
Average open and close plots are included for additional confirmation of a trend.
Trading Session IndicatorThis indicator is basically just a back-testing tool. All it does is highlight the background of your charts with the specified color within the specified timezone.
This is useful particularly for back-testing purposes, such as testing a day-trading strategy within a particular period of the day or ignoring signals that fall within the given timeframe (which is useful for ignoring setups during your testing that appear while you're asleep or at work etc.)
Take it easy :)
- Matt.
Multiple Ichimoku CloudsFor anyone that uses the Ichimoku Cloud there is a consistent need to flip between timeframes to get information about this at all levels. However, that trouble is now over. In this script there are 4 Ichimoku Clouds that operate in 4 different time frames. To change the timeframe simply change the multiplication factor to the desired levels. How this script works is that it takes your current timeframe as an input then it applies multiplication factors to it to achieve larger timescales. In the example here we are looking at the XBTJPY pair on the 1 hour. Our first cloud is 1x scaling, meaning that it is the 1 hour cloud. The second and third are 2x and 4x respectively meaning that we are looking at the 2 hour cloud and the 4 hour cloud. Lastly the largest cloud is the 24x cloud, aka the daily cloud. Now you only really need one look at the clouds for all the essential information.
As always feel free to message me about anything regarding this script.
Be happy :)
4 Time Frame Two EMAs Ribbon Comparison - Tom1traderI had seen something like this on metatrader but not here. Since I use TradingView and not metatrader had some fun with this. Indicates up or down for 4 chosen time Frames and as such helps to see the historical trend. Works best on daily or shorter charts because of load time.
User can choose the length of the two exponential moving averages used on each time frame or use defaults 9 and 15.
User can choose the 4 time frames defaults are (display from top to bottom) 5, 15, 60 and D.
Displays a column of 4 dots or circles for each bar of current chart the top being the shortest time frame.
If the faster exponential moving average is above the slower (uptrend) the dot is green else red.
This is similar (actually what I was originally shooting for but took extra time to figure out time frames on here) to another script of mine that has the same display method but uses a spaced set of Hull Moving Averages on one time frame, you choose the shortest length and the space increment between the averages. One may work better than the other for different markets or trading styles. The other one is here: Have fun trading and keep smiling!