Jackrabbit.modulus.MACDThis is the MACD indicator for the Jackrabbit suite and modulus framework.
This indicator supports differential timeframe analysis and confirmational bias. Timeframes supported:
1 Second, 5 Seconds, 15 Seconds, 30 Seconds, 1 Minute, 5 Minutes, 15 Minutes, 30 Minutes, 45 Minutes, 1 Hour, 2 Hours, 3 Hours, 4 Hours, 6 Hours, 8 Hours, 12 Hours, and 1 Day
The main indicatior and the confirmational indicator can both be individually tuned for the fast, slow, and delta lines with different and independent lengths and 24 different moving average types:
SMA, Double SMA, Triple SMA,
EMA, Double EMA, Triple EMA,
WMA, Double WMA, Triple WMA,
VWMA, Double VWMA, Triple VWMA,
Hull, Double Hull, Triple Hull,
ZLEMA, Double ZLEMA, Triple ZLEMA,
SSMA, Double SSMA, Triple SSMA,
SMMA,Double SMMA, Triple SMMA
Both MACDs can also have their own source input: Open, Close, High, Low, HL2, HLC3, and OHLC4
The Jackrabbit modulus framework is a plug in play paradigm built to operate through TradingView's indicator on indicatior (IoI) functionality. As such, this script receives a signal line from the previous script in the IoI chain, and evaluates the buy/sell signals appropriate to the current analysis. The results are either combined with the signal line, or used as confirmation to the signal line. A new signal line is generated for the next script in the link.
Buy/Sell alerts are produced by the main Jackrabbit script, or the modulus AlertSystem script. This script is not designed or meant to function outside my framework and contains no alert capabilities.
By default, the signal line is visible and the charts are turned off. Signal line visibility is controlled by the Style tab, and the charts display is controlled by the indicator settings tab.
This script is by invitation only. To learn more about accessing this script, please see my signature or send me a PM. Thank you.
Moving Average Convergence / Divergence (MACD)
Fear And Greed IndicatorThe Fear And Greed Indicator is a very popular indicator on the Bloomberg platform and since I didn't have actual source code to work with, this is a very close approximation of that indicator. Let me know if you spot any discrepancies with the original and I will do my best to fix them.
For buy and sell signals it is pretty straightforward. Just buy when the green (greed) is in control and sell when the fear (red) is in control
This was a special request so let me know if you want to see more scripts from me or if you want something custom!
Trading Safely Multiple Time Frame Dynamic MACDOur Multi-Time frame MACD is a Zero-Lag (well near zero-lag) We make this claim because MACD utilizes Moving Averages and as you know moving averages are lagging indicators.
For our MACD we utilize The McGinley Dynamic which looks like a moving average line yet it is a smoothing mechanism for prices that turns out to track far better than any moving average.
The McGinley Dynamic minimizes price separation, price whipsaws and hugs prices much more closely.
The McGinley Dynamic does this automatically as this is a factor of the formula.
Because of the calculation, the Dynamic Line speeds up in down markets as it follows prices yet moves more slowly in up markets.
As traders we want to be quick to sell in a down market, yet ride an up market as long as possible.
How to Trade.
It best to use lower time frame charts and higher time frame MACD settings such as 1H chart and 6H (360min) MACD time frame
You can input any time frame in minutes from 1 min to 1440 minutes on the MACD settings.
1H = 60
2H = 120
3H = 180
4H = 240
6H = 360
12H = 720
24H = 1440
Week = W
Month = M
You can set alerts for bullish and bearish crossovers which are good indications of a potential entry into a long or short trade.
shout out to lonesometheblue for inspiration.
KILTED TREND PILOTDescription: Uses the Hull Moving Average ( HMA ) and MACD to observe the following strategy, to assist with trade setups and provide confluence. It is especially effective when used with the Kilted Strength Meter to make sure there is an active trend and the market is not moving sideways.
SETTINGS AND EXPLANATION
1. The strategy is a very simple and visual one where you go:
• Long when the short HMA colour matches the long HMA colour (which is when the 2 colours are blue for a long position).
• Short when the short HMA colour matches the long HMA colour (which is when the 2 colours are red for a short position)
2. Ideally you want to enter a trade when the market is trending and not moving sideways, hence the reason the Kilted Strength Meter makes a great companion to complement this strategy
MACD with divergence signalsIts an MACD indicator which highlights places where macd and signal line cross and hidden divergence ocures.
Logic behind it is to check if we have hidden divergence when crossing of that two lines and if above EMA200 (signal for BUY - green) or if below EMA200 (signal for SELL - red).
You can change lenght of EMA but i think 200 is a simpliest trend indicator.
Crypto Cradle v6A long signal (green bar background) is flagged if a small bullish candle is in/around the EMA10/20 cradle.
A short signal (red bar background) is flagged if a small bearish candle is in/around the EMA10/20 cradle.
Other factors must be present such as MACD convergence and higher timeframe trend.
The blue bar is the entry. The red bar is the stop.
The strategy is designed to discretionally trade trending cryptocurrency assets.
SETTINGS:
Experiment with the zig-zag trend sensitivity (3-4 works best) to match entry timeframe trend detection.
* 'Zig Zag - Must require pullback trend' - sometimes a small bullish / bearish candle can appear in the cradle zone without a clear pullback (ie price has travelled sideways into the EMAs). Switch this on in an attempt to exclude such pull-backs.
* 'Zig Zag - Require extra trend zig' - trend is determined by a H, L, HH, HL forming (for long). Tis setting requests one more trend-aligned zig/zag (ie L, H, HL, HH, HL).
* 'Zig Zag - Show Higher Time Period Trend' - the trend sensitivity is doubled to estimate higher timeframe trend. This visualises what the algorithm has determined as the higher timeframe zig-zag pivot points .
* 'Minimum candles since outer pivot' - this attempts to exclude signals that occur after a dramatic pull-back.
* 'Entry Candle Offset Max' - how many bars to wait for entry
PROFIT TAKING:
There are many ways to take profit after entry - trailing stops, scaling out 50% at 1:1, fixed targets, fib extensions, etc. This is out of scope for this indicator.
I have included a basic 1:1 level line (dull green when enabled) and a fixed target level line ( bright green when enabled) that uses a risk/reward multiplier.
ALERT:
To create a generic alert, click the + button in the Alerts panel, select 'Crypto Cradle v6' from the first list, select 'Cradle v6 Short/Long Alert' from the second list, and select 'Once Per Bar Close'. Don't forget to add the timeframe to the message.
This indicator supersedes the open-sourced '"Crypto Cradle" trigger' / 'Crypto Cradle v2' indicator seen here:
CDC ActionZone V3 2020## CDC ActionZone V3 2020 ##
This is an update to my earlier script, CDC ActionZone V2
The two scripts works slightly differently with V3 reacting slightly faster.
The main update is focused around conforming the standard to Pine Script V4.
## How it works ##
ActionZone is a very simple system, utilizing just two exponential moving
averages. The 'Zones' in which different 'actions' should be taken is
highlighted with different colors on the chart. Calculations for the zones
are based on the relative position of price to the two EMA lines and the
relationship between the two EMAs
CDCActionZone is your barebones basic, tried and true, trend following system
that is very simple to follow and has also proven to be relatively safe.
## How to use ##
The basic method for using ActionZone is to follow the green/red color.
Buy when bar closes in green.
Sell when bar closes in red.
There is a small label to help with reading the buy and sell signal.
Using it this way is safe but slow and is expected to have around 35-40%
accuracy, while yielding around 2-3 profit factors. The system works best
on larger time frames.
The more advanced method uses the zones to switch between different
trading system and biases, or in conjunction with other indicators.
example 1:
Buy when blue and Bullish Divergence between price and RSI is visible,
if not Buy on Green and vise-versa
example 2:
Set up a long-biased grid and trade long only when actionzone is in
green, yellow or orange.
change the bias to short when actionzone turns to te bearish side
(red, blue, aqua)
(Look at colors on a larger time frame)
## Note ##
The price field is set to close by default. change to either HL2 or OHLC4
when using the system in intraday timeframes or on market that does not close
(ie. Cryptocurrencies)
## Note2 ##
The fixed timeframe mode is for looking at the current signal on a larger time frame
ie. When looking at charts on 1h you can turn on fixed time frame on 1D to see the
current 'zone' on the daily chart plotted on to the hourly chart.
This is useful if you wanted to use the system's 'Zones' in conjunction with other
types of signals like Stochastic RSI, for example.
MACD crossover while RSI Oversold/OverboughtThis indicator draws signals on the chart when a Bullish MACD Crossover occurs at the same time RSI is "oversold", and also when Bearish MACD Crossover occurs at the same time RSI is "overbought"
Indicators are drawn on the chart in the following scenarios:
1. Bullish signal
a. MACD bullish crossover occurs on a single bar
b. RSI was below the Oversold threshold (29 by default) within the prior 5 bars
2. Bearish signal
a. MACD bearish crossover occurs on a singnle bar
b. RSI was above the Overbought threshold (71 by default) within the prior 5 bars
AverageTrueRangeConvergenceDivergenceV1sloth288Simple indicator with the thought of merging MACD and ATR. The idea has come from trying to find a way to define sideways markets. Whipped this up quickly to explore the idea.
Feel free to throw in suggestions or even mention other open source indicators that define sideways markets well.
Simple instructions
If histogram green, breakouts/trade zone.
If histogram red, sideways/keep out.
Open Close Profit - [Alerts]This script comes with the following indicators and features:
Moving Average trend filter (Hull, ZLEMA, McGinley)
Pin Bar Filter
MACD indicator
Pump and Dump filter
Entry, Take Profit, and Stop Loss Alerts
And a few more indicators in the back-end to increase accuracy, optimize entries and filter out sideways PA
This script works really well as a scalper on lower Time Frames as well as on higher Time Frames. Besides that you can also use it on pretty much any coin or asset.
This script is not repainting. We advise to use alerts on “Once Per Bar Close”.
If you’d like to automate this script you can do that by using AutoView, ProfitView, ProfitTrailer, CryptoHopper etc.
Leave a message if you’d like to try it out.
Trend Checker by Hally - IndicatorIt is an indicator that overlaps MACD and Stochastics.
It has both characteristics.
The trend changes when two lines intersect.
I think the reaction is bad in the range market.
Also, when there are Stochastics and MACD lines above the indicator, it is possible to think whether it is overbought while riding the trend, and it may be helpful for making decisions such as "maybe it will reverse soon". Hmm.
Also, I think it is better to use it in combination with other indicators.
This is my first pine script, and I couldn't find it even if I searched for the script with overlapping indicators of different scales, so I tried making it by trial and error.
I hope it helps somebody trying to do the same.
MACDとStochasticsを重ね合わせたインジケーターです。
それぞれの特徴を併せ持っています。
2本のラインが交差する時トレンドが変化します。
レンジ相場では反応が悪いと思います。
また、インジケーターの上の位置にStochasticsとMACDラインがあるときはトレンドに乗りながらも買われすぎかどうか考えられることが出来ますし、「そろそろ反転するかも」などの判断の助けになるかもしれません。
また、他の指標との併用して使うほうが良いと思います。
pineスクリプトは初めてで、異なるスケールのインジケーターを重ね合わせていスクリプトは探しても見つからなかったので試行錯誤で作ってみました。
同じようなことをやろうとしてる誰かの参考になれば幸いです。
RCV-MACRSThe main oscillator (orange/blue) histogram is the RCV-MACRS (Relative Candle Volatility driven MACD modulated RSI) -- basically a sensitive indicator of volatility trends.
The yellow/lavender colored oscillator is a proprietary asymmetric differential oscillator (ADO) which is modulated by the main oscillator. When this (thinner line) secondary oscillator is > 0, it is yellow; and when it is < 0, it is lavender. The user can select the order of the differential (i.e. Order 1 = Momentum, Order 2 = Acceleration, Order 3 = Jerk, Order 4 = Snap, Order 5 = Crackle, Order 6 = Pop). This oscillator provides details of the more subtle underlying/hidden trends that is emerging or brewing, and may hint of an incoming move ahead of time. Divergence in the sign and slope of this secondary oscillator with respect to the main oscillator may provide a useful edge for trade setup.
A (thick transparent maroon) volume-momentum oscillator is also provided (which can be switch to the volume oscillator in the settings).
A cluster of circle markers may indicate a significant price swing incoming.
The red background-highlights indicate periods of low volume and volatility.
Simple Mobile Averages y MACDScript designed for users who need more than 3 indicators. It has 3 programmable "Simple Mobile Averages". MACD integrated in the main panel, also programmable.
MACRS {Lite}This is the open-source stripped down version of the full-featured RSI-MACD indicator (MACRS), with the ADO and the option to filter out weekend price action removed.
The main oscillator is the RSI modulated by the MACD (default). The RSI mode can be disabled to revert to a normal MACD oscillator for the main oscillator.
When the main oscillator (thicker line) is > 0, it is green; and if it is < 0, it is red.
The MACD can be re-scaled and whenever its value > 100, a background fill between the oscillator and the zeroline appear to indicates overbought condition; and < -100 indicates oversold condition. The user can tweak the scaling factor to optimize this for a given chart and timeframe.
A (thick transparent light blue) volume oscillator is also provided. An increase in volume trend provides confirmation of (or solidifies) the movements in the main oscillator over that period. A falling volume oscillator trend raises doubts on the main oscillator trend, and hints of the possibility of a counter-trend (also look at the secondary ADO oscillator for clues).
The novel aspects and principles of this indicator and this source code are the property of © cybernetwork.
This indicator and script is free for the TV community to use.
MACD modulated RSIThe main oscillator is the RSI modulated by the MACD (default). The RSI mode can be disabled to revert to a normal MACD oscillator for the main oscillator.
When the main oscillator (thicker line) is > 0, it is green; and if it is < 0, it is red.
The MACD can be re-scaled and whenever its value > 100, a background fill between the oscillator and the zeroline appear to indicates overbought condition; and < -100 indicates oversold condition. The user can tweak the scaling factor to optimize this for a given chart and timeframe.
A proprietary asymmetric differential oscillator (ADO) is also implemented, which is modulated by the main oscillator. When this (thinner line) secondary oscillator is > 0, it is yellow; and when it is < 0, it is lavender. The user can select the order of the differential (i.e. Order 1 = Momentum, Order 2 = Acceleration, Order 3 = Jerk, Order 4 = Snap, Order 5 = Crackle, Order 6 = Pop). This oscillator provides details of the more subtle underlying/hidden trends that is emerging or brewing, and may hint of an incoming move ahead of time. Divergence in the sign and slope of this secondary oscillator with respect to the main oscillator may provide a useful edge for trade setup.
A (thick transparent light blue) volume oscillator is also provided. An increase in volume trend provides confirmation of (or solidifies) the movements in the main oscillator over that period. A falling volume oscillator trend raises doubts on the main oscillator trend, and hints of the possibility of a counter-trend (also look at the secondary ADO oscillator for clues).
The novel aspects and principles of this indicator and this source code are the property of © cybernetwork.
This indicator and script is free for the TV community to use.
ANTS BEAST MODE TRIX+MACD TRIX CROSSThis indicator is both the TRIX + MACD all in one inidicator -- a + sign is displayed whenever the trix crosses
MACD/ATRThis indicator is a restricted MACD .
I reached this with a little trick: I devided it by ATR . This way it is most of the time inside the -1..1 range. It depends on the length of the ATR's period. If it is greater, the probability of outliers is greater.
With this indicator you can use cerain levels of MACD and its histogram as a trigger.
Share with me if you found it useful.
ORTI MACD (Static Timeframe Multi-Period)The " ORTI Moving Average Convergence Divergence (Static Timeframe Multi-Period) " is now a public script, based into a existing study named " MACD aka Moving Average Convergence Divergence ", but with some better functions about time frame and its measurament. As a redesigned and recalculated set of the common plotted averages, a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price.
The cherry on the top for this version is, when you want to get a predetermined count in (ranges) units of time, as: minutes, hours or days, in any graph you could get a static average, and this count will be automatically respected. For example, an average could be configurated to know a trend per day, week or month... or whatever comes to mind, and at every single chart that you move through (5m, 15m, 1h, 4h, etc), you will see the same average to make your own "trend analysis" into a micro/macro market view.
But now, with the option to convert the " Exponential Moving Average " to adapt into 9 different kinds of "Moving Averages" and by any of the most used Moving Averages, an hybrid basically.
The following options to convert the "Exponential Moving Average ( EMA ) to:
• Double Exponential Moving Average ( DEMA )
• Exponential Moving Average ( EMA )
• Hull Moving Average ( HMA )
• Modified Moving Average ( MMA ) *
• Rolling Moving Average ( RMA ) *
• Simple Moving Average ( SMA )
• Smoothed Moving Average ( SMMA ) *
• Volume-weighted Moving Average ( VWMA )
• Weighted Moving Average ( WMA )
* Same Moving Averages: a Modified Moving Average is otherwise known as the Running Moving Average or Smoothed Moving Average.
The MACD is usually calculated by subtracting the 26-period Exponential Moving Average ( EMA ) from the 12-period EMA . The result of that calculation is the MACD line. A nine-day EMA of the MACD , called the "Signal Line", is then plotted on top of the MACD line which can function as a trigger for buy and sell signals. Traders may buy the security when the MACD crosses above its signal line and sell, or short, the security when the MACD crosses below the signal line.
The MACD has a positive value whenever the 12-period EMA is above the 26-period EMA and a negative value when the 12-period EMA is below the 26-period EMA . The more distant the MACD is above or below its baseline indicates that the distance between the two EMAs is growing. In the following chart, you can see how the two EMAs applied to the price chart correspond to the MACD (blue) crossing above or below its baseline (red dashed) in the indicator below the price chart.
The MACD is often displayed with a histogram which graphs the distance between the MACD and its signal line. If the MACD is above the signal line, the histogram will be above the MACD’s baseline. If the MACD is below its signal line, the histogram will be below the MACD’s baseline. Traders use the MACD’s histogram to identify when bullish or bearish momentum is high.
For more technical information look at Investopedia .
Note: The previous calculation example is not the default, the parameters can be adjusted according to the criteria of the merchant.
Divergence for many indicator v3 ImprovedThis is a modificated version of original script by @LonesomeTheBlue (Thank you for giving me rights to use your code with my modification in invite-only format):
I made few changes to lessen the amount of divergences generated on the chart and how they moved along (lines without cloud with text) instead only the last cases that may be missleading for some (especially when you would use that code to generate alerts).
MacD_TT by Chill00rThis is an MacD indicator with a signal line, color is trend-based
Outputs for Sells and Buys
A fancy trend-based background color is also avilable
MACD At Scales with AlertsI use the horizontal scale lines on the MACD indicator as part of my scalping strategy along with other indicators like RSI/EMA and Market Cipher B when trading BTC
I am looking for a cross above or below the 12.5 and 25 horizontal scale lines, along with lining up other indicators
I set my alerts on the 5 min TF and look to the 15 and 30 min TF's for further confirmation.
I have find the scale lines to be very useful for visual reference of the crosses, above/below 25 lines is mostly a safer trade, crosses above/below 12.5 lines can have more risk, crosses between 0 baseline and 12.5 can have a higher return but have much more risk.
Don't ever use just this indicator by itself, you must always have at least 2 indicators running
This is an example of the TF's not lining up, so a entry here would be high risk
This is an example of the TF's lining up, so a entry here would be less risk
Quadratic Weighted (QWMA) MACDMACD but on the Quadratic Weighted Moving Average instead of regular Moving Average
"The quadratic moving average ( QMA ) or quadratic weighted moving average (QWMA) is a type of moving average who is closer to the price when price is up trending. This moving average is defined as the square root of the moving average of the squared price." @alexgrover ()
Base MACD code from @RicardoSantos ()