Multi Supertrend with no-repaint HTF option strategyThis is the strategy version of the multi supertrend indicator.
The RoMDD looks good :)
Checked in ETHUSDT 1hour with auto HTF ON.
Have a look :)
Timeframe
Multi-VWAPVolume Weighted Average Price (VWAP) Definition
What is the Volume Weighted Average Price (VWAP)?
The volume weighted average price (VWAP) is a trading benchmark used by traders that gives the average price a security has traded at throughout the day,
based on both volume and price. It is important because it provides traders with insight into both the trend and value of a security.
-Investopedia By JASON FERNANDO Reviewed by SOMER ANDERSON Updated Feb 24, 2021
-Choose from 5 different Timeframes (lower or higher)
HTF Candles by DGThigher timeframe (multi timeframe) candles
a simple study introducing new pine function box.new
MTF Bars Back FunctionDesigning higher timeframe tools is challenging. Particularly when you want to apply the higher timeframe lookback to the viewing timeframe.
Here are the problems you run into when you want to use a higher timeframe input:
The output is a string.
On the daily, weekly, or monthly timeframes, the output of the input.resolution variable is "1D", "1W", and "1M".
The 1 minute, 1 day, 1 week, and 1 month timeframes all have an output of 1. Same for the 2m, 2d, 2w, 2m and so on.
I designed this function to automatically calculate the number of candles back that you would need to go back on the timeframe you're viewing to cover the lookback distance on the higher.
It checks if there's a letter on the end of the string and cuts it off, leaving just the number, then converts it from a string to a number.
From there it converts the viewing timeframe and higher timeframe into minutes, divides the two to determine their relationship to one another, then it multiplies the lookback distance of the higher timeframe with the factor and the output is the higher timeframe lookback distance converted into the equivalent bar count on the lower timeframe.
I tried to write it in a way that would make what the function does clear to coders and non-coders so it can be modified to suit your purpose. My initial use case was to us this as way of determining a lower timeframe offset for lines that were cast based on previous high timeframe bars. You could use it for any kind of MTF indicator where you want to know how many bars back you need on the low timeframe to achieve the higher timeframe equivalent. For example, if you wanted to create a multi-timeframe moving average, you would use the output as the length of the moving average.
I used a tuple output for the purpose of demonstration, but this can be reduced to a single relevant output.
Hope you find it useful. It's nice when you don't have to fight against multiple resolutions.
Let me know what you think. Is there a better way to go about it?
Trade well.
Multiple Timeframe RSI with 2 MA by GodtrixHi guys, how ya doing!
I know sometimes you'll need multiple timeframe RSI to study your chart, so do I, therefore I'll share my multi RSI tool for you.
There are total 3 RSI for you to use, you can turn each ON or OFF
I've added more colored value lines for your better view
Also provided a choice for smooth line or step line where there's no gap for higher timeframe RSI on a smaller timeframe chart
MA (SMA) is provided for smoother, less noise lines
Indicator Tips:
Bullish - When it is above 50, this is where you might want to decide whether to close your short order or new short order at top
Bearish - When it is below 50, this is where you might want to decide whether to close your long order or new long order at low
Main MAs and EMAs multi-timeframe for supportObjective is to map out different multi-timeframe support/resistance , all at once. Includes weekly, daily and 4H EMAs and MAs, as per the follow (allowing customization)
WEEKLY (in pink/purple variations):
- 13 EMA
- 21 EMA
- 34 EMA
- 50 M.A
DAILY (in green variations):
- 21 EMA
- 50 EMA
- 120 M.A.
- 200 M.A.
4H (in yellow/golden colors):
- 400 EMA
- 500 EMA
- 675 EMA
- 715 EMA
- 920 EMA
- 1150 EMA
Notes:
- Quite useful to all types of assets; crypto, commodities , stocks, etc...
- Ideally not to be visible all the time, as it can "pollute" the charts. But very helpful in moments of great volatility
ITF_MASimple script to plot inter-time frame moving averages on a chart. ie: plotting a daily MA on a 1 hour chart. Any questions on the parameters, don't hesitate to ask.
Squeeze Momentum Indicator MTF with alerts [lazy bear]MTF version of the popular squeeze momentum indicator, created and shared by Lazy Bear
Stepping MAInput desired timeframe and etc
Ex: Timeframe Daily
Input 100
Will display daily moving of 100 on every timeframe
NSDT Heiken-Ashi Direction Bar MTFA simple script that places a bar at the bottom of the chart to indicate the direction of Heiken-Ashi candles - while still using traditional candles on the main chart. Try setting the bar on a higher timeframe to see the overall direction of the trend, while using traditional candles for entries/exits.
Multi Resolution RSIThis is a Multi resolution or multi Time frame RSI.
This indicator is made to see 3 different time frames RSI in a single Band.
User can input all 3 timeframes on input section.
The Highest time RSI is denoted in BLACK color.
The Medium time RSI is denoted in BLUE color.
The Smaller time RSI is denoted in GREEN color.
The overbought and oversold region is 70 and 30.
The best way to trade using this indicator is when Higher and medium RSI is above 60 and lower is below 40.
RK's 15 ∴ Timeframed Multiple MA Types RibbonI developed this indicator focusing on the KISS (Keep It Simple, Stupid) to help me in a more direct and visual way when enteringand exiting my market position.
The idea is to configure the indicator with your favorite Moving Averages and Lengths and Enter Long when the price is above and Short when the price is below.
I put the setup that I am testing now in the tooltips to give an example.
NSDT MTF Moving AverageThis script allows you to choose a movingaverage type and length, and then choose two different chart time frames. It will plot a movingaverage line for each time frame you select (total of 2). Choose between EMA, SMA, and WMA.
For example:
You can be looking at a 5-min chart, but have an EMA for a 1-min timeframe and a 10-min timeframe be displayed.
Multi_TF_EMAMultiple TimeFrame EMA
In a single indicator, up to 6 EMAs can be displayed in 6 different time frames.
En un solo indicador se puede visualizar hasta 6 EMAs en diferentes TImeFrames.
(IK) Stoch-60-15This strategy uses 60 minute and 15 minute stochastic data to determine entry and exit; it only executes long trades. I've only used this on BTC/USD, but I imagine the concepts employed should hold for any ticker
The script builds a simple Stochastic indicator for the current timeframe, and it also plots a single stochastic line for a higher resolution time frame. I've found good results trading on 15 minutes with a 60 minute higher resolution.
We enter a trade if the higher resolution stochastic is in an uptrend, if the current resolution stochastic is in an uptrend, and if the current stochastic value is less than 50.
We exit a trade when the current stochastic value crosses below 80 or the trailing stop loss is hit.
Stop loss is calculated with the input value, Stop Loss Percent. This value represents the percent of capital you're willing to lose before exiting a trade. A stop loss percent of 0.050 means your trade will exit if it falls 5% from the highest high since entering a trade. You will have at least 95% of your original capital left. There is no option to change a trailing stop loss to a set stop loss (in order to keep the code as simple as possible), however, you can turn it off by setting Stop Loss Percent to 1.
I tried to keep the script itself lightweight and very easy to understand, so it's not very customizable in regards to input options. You can change stochastic data, as well as the trailing stop percentage. The script can be adjusted to other timeframes, however this requires a small change in the code (details in script comments). Changing just the "Higher Resolution" input will not produce expected results
My hope is that by keeping it lightweight and simple, it will be easier for you to adjust to your specific needs, or work into a larger strategy.
Volume Info from Lower Time FramesHello Traders,
We are now able to get info from lower time frames, Many Thanks to Pine Team .This script gets volume info from lower time frames and give alert if there is extreme volumes on last X lower time frame candles (if last X volumes are higher than volume moving average). so that if you set alerts on different securities then you will be able get alert if there is extreme volume moves and you can check the chart immediately.
The options:
Timeframe in Seconds : you can set lower time frames in seconds. by default it's 5 seconds. if you set it 60 then it will show 1min volumes, if you set it 1 then it will show 1 seconds volumes
MA Length : The script draws simple moving average using this length info. by default it's 20.
Number of Bars to Check for Alert : by default it's 5. meaning that if last 5 candles is greater than moving average and if you set alert then you get the alert "Extreme Volume"
Other options are for colors and line width.
As you can see in following example, chart time frame is 1 hour and the script shows volume info of 5 seconds candles:
Enjoy!
Previous Period Levels - X Alerts====== ABOUT THIS INDICATOR
- A simple but highly customisable display of previous higher time-frame
OHLC values, drawn using line.new and label.new. Nothing fancy but...
- Customised resolution input which excludes time frames lower than 1 hour
while extending the common higher reference inputs to include:
• 6, and 12 Hour
• 5 Day
• 3, and 6 Month
• 1 Year
- Alert conditions using an adjustable SMA to help reduce false positive
spam.
- Full visual customisation options for (almost) every aspect, so it can be
tuned to suit most individual preferences.
- In line with the miriad visual customisation options is the ability to
change the display format of the Labels, to show more or less information,
or disable them altogether.
====== REASON FOR STUDY
- To practice advanced user input option handling to allow for a full visual
customisation experience without stepping outside of, or interfering with,
the intended function of the indicator.
- Provide reasonably clear code commenting and structure in order to be
useful as a potential learning aid for others, and future reference for
myself.
====== DISCLAIMER
Any trade decisions you make are entirely your own responsibility.
I've made an effort to squash all the bugs, but you never know!
MTF Ichimoku Signal [Takazudo]A multi timeframe Ichimoku Signal indicator. This indicator shows the status of each Ichimoku Signals.
1. TK-Cross
Tenkan-Sen & Kijun-Sen cross status
2. Future Kumo
The newest Kumo color
3. Kumo & Current Relation
The relation between current price & Kumo.
4. Kumo & Chikou-Span Relation
The relation between Kumo & Chikou-Span.
5. Chikou-Span & Candle Cross
Chikou-Span & Candle cross status
Multi Timeframe Moving Average [xdecow]This indicator plots a moving average of 4 different timeframes.
The types of averages available are: SMA, EMA, DEMA, VWMA, RMA, WMA.
Machine Learning: kNN-based Strategy (mtf)This is a multi-timeframe version of the kNN-based strategy.
Phoenix085-Strategies==>MTF - Average True Range + MovAvgFIRSTLY, Here are a few who have influenced my pinescripting immensely recently:
@JustUncleL
@BigBitsIO
@TheArtofTrading
@QuantNomad
@SquigglesNiggles and many many many more.
Overview:
> This indicator is a simple crossover of Moving Averages.
> In addition I am using ATR rising as an indication for Trending Price.
> The entry is made once the smaller moving average crosses the bigger moving average, and also the Closes above the Smaller moving average.
> but the only twist here is,
- the ATR source is One timeframe Higher(In this case same as the session).whereas the source for the Moving averages is one Timeframe Lower.
>i.e., if the Session is 1D, the Indicator checks if the ATR is rising in the DAILY TIMEFRAME,
*_* the trade entry is made once the MOVING AVERAGE crossover happens on ONE TIME FRAME lower, as per example, ATR --> 1D = MA -->4H.
> Moving Average ->
- Thick -> Bigger MA,
- Thin and Transparent -> Smaller MA,
> Also, the Color of the Thicker MOVING AVERAGE Changes as Below:
- When LongCondition is satisfied --> Color=Lime
- When ShortCondition is satisfied --> Color=Red
- When neither condition is satisfied --> Color=Gray
NOTE:
1) There is a limitation in using the Securities function for FREE USERS --> Only 500 bars are allowed. So to use the indicators with more data, you need an upgraded TV account.
2) Strategy still needs Fine tuning, but for now, use the Thicker moving average color LIME FOR LONG ENTRIES and RED FOR SHORT ENTRIES.
This is Free for Use and share