Moving Averages Cross - MTF - StrategyBacktesting Script for the following strategy
Strategy Injector Source: github.com
"mtf"に関するスクリプトを検索
STOCH MTF with Moving AverageBasic STOCH indicator with MTF support with moving average
USE EMA Cross with Stoch for buy / sell signal
RSI MTF with Moving AverageClassic RSI with MTF combined with its moving average (i reused a function to allow you to select any of them you want) for additional signals.
Indicator is based on this source: medium.com
SlingShot + MTF + Open Close Cross StrategyIt's a merge of three really good scripts CM sling shot, CM MTC and Open Close Cross
Indicates open and close with Sling shot and shots after peaks by MTC and OCC.
Yellow zones before drop prices, green bar, red bar for open and close.
imgur.com
Dynamic Time Oscillator W/ MTF SupportThis script has the option to disable the MTF feature and use it as a plain DTOscillator.
The lines are the fast and slow signals for the current timeframe.
The columns are the second timeframe %K levels.
Green columns signify the second timeframe %K is greater than the second timeframe %D, Red is the reverse of this.
B3 Fibonacci Pivot S/RFor my second share, I give you some levels I look at everyday for the ES minis. HLC/3 of the MTF (multi-time-frame) inputs = mean and Fib-levels formed as support and resistance zones. There are some websites that will show you 20 ways to figure out a pivot for the day's intraday workings, and this one always rang true for me. I keep it set at Res=D and Len=3or5 and use on hourly charts. This indicator is capable of doing like a Res=60m Len=8 for a 5m chart or something of that nature if you wish to test it out.
I haven't tested it out for tick charts and I have noticed that this is good on index and commodity futures, and not so much other things.
Uncanny to me how well this works as reversal awareness for ES. Doesn't mean that one will happen, or if it does that it will have trade-able juice, though it is very important awareness never-the-less.
screencast.com
Stochastic CCI MTF w/ UP/DOWN colours - squattterStoch CCI has a nicer divergence than Stoch RSI.
Enjoy!
Stochastic CCI MTF w/ UP/DOWN colours - squattterStoch CCI has nicer divergences than Stoch RSI.
Enjoy.
Percent Difference Between VWAP and Price MTFShows the difference between vwap and price in percent.
You can can choose between multiple timeframe vwap. Default is normal daily.
The levels on the indicator can be changed to whatever you want to.
In the chart above we can see eurusd reverting up at 3% below monthly vwap, after the brexit dip, It then turns down again at 1% from monthly and lastly it turns up again at 2% from monthly.
Script is a small modification of this:
VWAP MTF (Multi Timeframe)VWAP that can be be plotted from different timeframes.
Ex if you chose 60 min, it will plot a new vwap line at the start of every hour.
Intraday:
Used code from SandroTurriate to create this.
EMA bullish/bearish dashboard - MTFThis is a good reminder for which way you should be placing orders.
It's best to not ignore these signals!!!
lime = full bull - 100ema above 200ema and price is above 200ema
green = hallf bull - price now below 200ema but 100ema is still above the 200
maroon = full bear - opposite of full bull
red = half bear - opposite of half bull
Also with multi timeframe option - so I guess you could stack several of these on a single framed chart if you wanted.
[RS]MTF Intraday Dayly Range V0calculation to display a dayly donchian channel at any intraday timeframe.
[RS]MTF Multiple Moving Averages V0Multiple moving averages with same interval in candle bar smoothness over multiple time frames.
option to show/hide the level of resolution for the mtf's default shows 1 ma can go up to 8th resolution.
option for manual input timeframes and configure ma.
Multi-Functional Fisher Transform MTF with MACDL TRIGGERWhat this indicator gives you is a true signal when price is exhausted and ready for a fast turnaround. Fisher Transform is set for multi-time frame and also allows the user to change the length. This way a user can compare two or more time spans and lengths to look for these MACDL divergent triggers after a Fisher exhaustion. With so many indicators, it's probably best to merge these indicators and change the Fisher and Trigger colors so you can still have a look at price action (remember to scale right after merger). I've noticed from time to time when you have Fisher 34 100 and 300 up and running on two different time frames such as 5 and 15 min charts, with MACDL triggers on the 100/300 or 34/100 you get a high probability trade trigger. However, there are rare exceptions such as when price moves in a parabolic state up or down for a long period where this indication does not work. Ideally this indicator works best in a sideways market or slow rising/descending moving market.
This indicator was worked on by Glaz, nmike and myself
LazyBear also introduced the MACDL indicator
TrendDetectorLibLibrary "TrendDetector_Lib"
method formatTF(timeframe)
Namespace types: series string, simple string, input string, const string
Parameters:
timeframe (string) : (string) The timeframe to convert (e.g., "15", "60", "240").
Returns: (string) The formatted timeframe (e.g., "15M", "1H", "4H").
f_ma(type, src, len)
Computes a Moving Average value based on type and length.
Parameters:
type (simple string) : (string) One of: "SMA", "EMA", "RMA", "WMA", "VWMA".
src (float) : (series float) Source series for MA (e.g., close).
len (simple int) : (simple int) Length of the MA.
Returns: (float) The computed MA series.
render(tbl, trendDetectorSwitch, frameColor, frameWidth, borderColor, borderWidth, textColor, ma1ShowTrendData, ma1Timeframe, ma1Value, ma2ShowTrendData, ma2Timeframe, ma2Value, ma3ShowTrendData, ma3Timeframe, ma3Value)
Fills the provided table with Trend Detector contents.
@desc This renderer does NOT plot and does NOT create tables; call from indicator after your table exists.
Parameters:
tbl (table) : (table) Existing table to render into.
trendDetectorSwitch (bool) : (bool) Master toggle to draw the table content.
frameColor (color) : (color) Table frame color.
frameWidth (int) : (int) Table frame width (0–5).
borderColor (color) : (color) Table border color.
borderWidth (int) : (int) Table border width (0–5).
textColor (color) : (color) Table text color.
ma1ShowTrendData (bool) : (bool) Show MA #1 in table.
ma1Timeframe (simple string) : (string) MA #1 timeframe.
ma1Value (float)
ma2ShowTrendData (bool) : (bool) Show MA #2 in table.
ma2Timeframe (simple string) : (string) MA #2 timeframe.
ma2Value (float)
ma3ShowTrendData (bool) : (bool) Show MA #3 in table.
ma3Timeframe (simple string) : (string) MA #3 timeframe.
ma3Value (float)
MTFDataLibrary "MTFData"
Functions to store multi timeframe candle data and swing points.
getCandleData(timeframe, openArray, highArray, lowArray, closeArray, timeArray, olcLookback, alltfs_olcLookback, tfIndex)
Stores current or higher timeframe candle data in arrays.
Parameters:
timeframe (string) : The timeframe, for example "240" for 4h
openArray (array) : An array to store the candle open price
highArray (array) : An array to store the candle high price
lowArray (array) : An array to store the candle low price
closeArray (array) : An array to store the candle close price
timeArray (array) : An array to store the candle time
olcLookback (int) : The history reference of the lookback limiting candle
alltfs_olcLookback (array) : An array holding the candle time of olcLookback candles ago, which can be used for limiting lookbacks
tfIndex (int) : The timeframe's index in the alltfs_olcLookback array
Returns: true if the timeframe changed
trackHiLo(tfchange, timeframe, openArray, highArray, lowArray, closeArray, timeArray, highWickArray, highBodyArray, highTimeArray, lowWickArray, lowBodyArray, lowTimeArray, alltfs_olcLookback, tfIndex)
Stores current or higher timeframe swingpoint data into arrays.
Parameters:
tfchange (bool) : Must be true when the timeframe has changed (a new candle has opened)
timeframe (string) : The timeframe, for example "240" for 4h
openArray (array) : An array that stores the timeframe's candle open price
highArray (array) : An array that stores the timeframe's candle high price
lowArray (array) : An array that stores the timeframe's candle low price
closeArray (array) : An array that stores the timeframe's candle close price
timeArray (array) : An array that stores the timeframe's candle time
highWickArray (array) : An array to store the swing high price
highBodyArray (array) : An array to store the swing high's highest body price
highTimeArray (array) : An array to store the swing high candle's time
lowWickArray (array) : An array to store the swing low price
lowBodyArray (array) : An array to store the swing low's lowest body price
lowTimeArray (array) : An array to store the swing high candle's time
alltfs_olcLookback (array) : An array holding the time of the max allowed swing point age
tfIndex (int) : The timeframe's index in the alltfs_olcLookback array
Returns: Nothing. The array handling happens inside the function.
tfReadable(tfInSec)
Converts a timeframe string ("240") into a more readable string ("4h").
Parameters:
tfInSec (int) : The timeframe that should be converted, as timeframe.in_seconds()
Returns: A more readable timeframe string
MTF EMA Hariss 369The strategy has been prepared in a simplistic manner and easy to understand the concept by any novice trader.
Indicators used:
Current Time frame 20 EMA- Gives clear look about current time frame dynamic support and resistance and trend as well.
Higher Time Frame 20 EMA: Gives macro level trend, support and resistance
Kama: Capture volatility and trend direction.
RVOL: Main factor of price movement.
Buy when price closes above current time frame 20 ema and current time frame 20 ema is above higher time frame 20 ema. Stop loss just below the low of last candle. One can use current time frame 20 ema, higher time frame 20 ema or kama as stop loss depending upon type of asset class and risk appetite. The ideal way is to keep 20 ema as trailing sl if one wants to trail with trend.
Sell when price closes below current time frame 20 ema and current time frame 20 ema is lower than higher time frame 20 ema. Stop loss just above high of last candle.
Ideal target is 1.5 or 2 times of stop loss.
Entry and exit time depends on trading style. Eg. if you want to enter and exit in 5 min time frame, then choose 15 min or 1h as higher time frame as trend filter. Buy and sell signals are also plotted based on this strategy. One should always go with the higher time frame trend. Opting higher time frame trend filter always filters out market noises.
MTF Trend Alignment (4H, 1H, 15M)This indicator tells you about market direction by analyzing the trend on 4H, 1H, and 15M time frame. This is best suitable when you want to do multi timeframe analysis to identify the trend
MTF EMA Directional Bias -1hr and 4hr A compact, fixed-position table (bottom-right corner) that shows the current slope direction of two higher-timeframe EMAs:
4H EMA 50 → direction over the last 2 bars (UP ↑, DOWN ↓, or FLAT ⏸)
1H EMA 21 → direction over the last 2 bars (UP ↑, DOWN ↓, or FLAT ⏸)
Background color logic:
Green → both 4H and 1H EMAs are sloping upward
Red → both 4H and 1H EMAs are sloping downward
Gray → mixed or flat directions (no confluence)
Additionally draws the actual 1H EMA-21 (purple) and 4H EMA-50 (red) as step-lines on the chart.
MTF VWAP + Candlestick VWAP Reactions (Bounce + Score)It’s an intraday VWAP + candlestick confluence tool that:
Draws daily, weekly, monthly, yearly VWAPs.
Detects textbook candlestick patterns, classed as BuH/BuM (bullish high/moderate) and BeH/BeM (bearish high/moderate) with colored boxes.
Triggers long/short arrows only when price bounces off a VWAP by at least 0.15% AND there’s a recent matching pattern.
Grades every signal as A / B / C with a score 1–10:
A (8–10) = high-reliability pattern (BuH/BeH) + strong 2-candle body reaction (your A+ setups).
B (5–8) = moderate pattern (BuM/BeM) + one solid bounce.
C (1–5) = weaker / mixed context (scalpy or gamble).






















