Search in scripts for "MACD"
MACD + RSI TSA simple strategy that use EMAs convergence/divergence and RSI peeks to take position. Fractals are really useful to positioning your stop loss.
It works well on commodities and forex markets.
MACD with LSME and triple EMAMACD - with each MA defined as follows:
ema(ema(ema(LSMA(src,len1),len2),len2)len2)
Exponential Moving Average Convergence/DivergenceMACD modified with exponential moving averages. Simple.
Myx.Mir_ MACD.V2 ][ c/w Hist.Color & LabelMoving average convergence divergence ( MACD ) is commonly and widely used for Technical Analysis .
// Basis- based on default setting
macdLine, signalLine, histLine = default setting
with additional "cosmetic/ Makeup"
1) for 4R1G set up Trader. Histogram color as follows:-
a) if Hist => 0 = Hist > Hist ? color.green : na, Hist < Hist ? color.red : na
b) if Hist <= 0 = Hist < Hist ? color.green : na, Hist > Hist ? color.red : na
2) crossover MACD Line, SignalLine- with label "EN" / "EX"
Do not follow the signal blindly. Trader's should be able to identify the trend whether there is uptrend, sideways and downtrend.
Entry and/or Exit are based on Trader's risk appetite.
eswaran ab//@version=5
strategy("MACD Strategy", overlay=true)
fastLength = input(12)
slowlength = input(26)
MACDLength = input(9)
MACD = ta.ema(close, fastLength) - ta.ema(close, slowlength)
aMACD = ta.ema(MACD, MACDLength)
delta = MACD - aMACD
if (ta.crossover(delta, 0))
strategy.entry("MacdLE", strategy.long, comment="MacdLE")
if (ta.crossunder(delta, 0))
strategy.entry("MacdSE", strategy.short, comment="MacdSE")
//plot(strategy.equity, title="equity", color=color.red, linewidth=2, style=plot.style_areabr)
Moving Average Convergence DivergenceA MACD with option for logarithmic or regular scale.
This indicator presents bullish or bearish 'flags' based on the most recent signal cross and asset price divergence. If the price moves up and the macd continues trending down, a bearish divergence is flagged. if the price moves down and the macd continues moving up, a bullish divergence is flagged.
VMACD IndicatorVolume-Weighted MACD Indicator. You can turn volume-weighted off to get "regular" MACD, and you can change the scaling of the histogram to make it stand out more.
MACD+Features:
Allows for each MA to use EMA, WMA or SMA independently.
Adds a configurable fill between the MACD line and Signal lines.
Volume Weighted MACD with Named PlotsLiterally just copied VWMACD but named the plot lines to make setting alerts more clear.
MACD_TracerSimple Script for a very fast MACD
Best used as an Indicator Overlay for studying detailed movement.
Indicator over Indicator
Using as a Indicator overlay. You must drag and drop an indicator over another indicator. After you have the visual of both indicators in one indicator box, you must go to CHART PROPERTIES and SCALE LEFT . This way both your indicators are scaled to same axis.
Analysis
Having both indicators allows me the ability to better detect what the indicator is specialized to do. In this case I have one indicator that has strength at detecting Momentum shifts and the other detects Divergences.
Reverse Moving Average Convergence Divergence [CC]The Reverse Macd was created by Johnny Dough (Stocks and Commodities Jan 2012) and this is another indicator in my ongoing series to find those hidden gems. This indicator works in a few very powerful ways. For example the blue line shows you what the current price would be if the macd was at the macd level that you choose. I set the default to 0 but feel free to change it if you want. This will give you short to medium term info by telling you if it is an uptrend when the price is above the blue line or vice versa. It also creates the reverse macd line and it's signal line by using information from the previous day to decompile the macd and show you the price that it would be at if the macd was at that level. It turns this into a new moving average that closely tracks price movements and with the two competing signals, gives you more than enough info to find the perfect entry and exit points. Like always I have included strong buy and sell signals in addition to normal ones so darker colors are strong signals and lighter colors are normal signals. Buy when the line is green and sell when it is red.
Let me know if there are any other scripts you would like to see me publish!
Moving Average Convergence Divergence On Alter OBVOBV:
The OBV is perfect indicator to understand the strength of the particular stock. As the strength increase, the trend of the stock goes high along with price. But, the OBV is considered only with close of previous close which is to make sure the double confirmation on the price to accumulate the volume.
Altered OBV:
So, here is the altered OBV, which basically consider the close of previous close and also buying interested of the day when close is higher than open.
MACD:
I always admire the magic of MACD with pre-defined timeframe. Now, this MACD applied on top of altered OBV to signal us the moving of the ticker strength.
I hope the another MACDAltOBV would help on your swing trading strategy.
Happy Investing.