MACD Divergence H/RHere's a fun script we been working on, let us know what you add!
Short-Forms Used
histogram(hist)--> value of macd Histogram
Low-Price--------> Candle's Low Price
High-Price-------> Candle's High Price
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-Regular_bulls =====> Lowest(red hist) in Previous red hists is > Lowest(red hist) in Current red hists
and Lowest(Low-price) in Previous red hists is < Lowest(Low-price) in Current red hists
and Lowest(red hist) in Previous red hists is < -Histograms Minimum Value Required
and Lowest(red hist) in Current red hists is < -Histograms Minimum Value Required
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-Hidden_bulls =====> Lowest(red hist) in Previous red hists is < Lowest(red hist) in Current red hists
and Lowest(Low-price) in Previous red hists is > Lowest(Low-price) in Current red hists
and Lowest(red hist) in Previous red hists is < -Histograms Minimum Value Required
and Lowest(red hist) in Current red hists is < -Histograms Minimum Value Required
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-Regular_Bears =====> Highest(Green hist) in Previous Green hists is < Highest(Green hist) in Current Green hists
and Highest(High-price) in Previous Green hists is > Highest(High-price) in Current Green hists
and Highest(Green hist) in Previous Green hists is > Histograms Minimum Value Required
and Highest(Green hist) in Current Green hists is > Histograms Minimum Value Required
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-Hidden_Bears =====> Highest(Green hist) in Previous Green hists is > Highest(Green hist) in Current Green hists
and Highest(High-price) in Previous Green hists is < Highest(High-price) in Current Green hists
and Highest(Green hist) in Previous Green hists is > Histograms Minimum Value Required
and Highest(Green hist) in Current Green hists is > Histograms Minimum Value Required
Please drop a like and comment :)
-Angel Algo
Macd-v
MACD-RSI With @LuckyNickVAMACD & RSi Confluence. Great for those who are looking for RSI & macd signals. Highlights volatility & structure points for entering & exiting the market. You have to understand market volatility to understand this concept. So please research more on those subjects before using. But The RSI is the relative strength index it helps you understand the increase in interest in price great for trend trading along with the momentum based indicator. Macd Developed by Gerald Appel, the Moving Average Convergence-Divergence, or MACD, is an oscillator that measures price momentum. The indicator also measures the strength, direction and duration of a trend. Forex traders can use the MACD to confirm an entry price or exit point.
Crypto Scalper Divergence Macd Psar Ema 200This is a very efficient crypto scalper adapted to very short timeframes, however it can be optimized for other timeframes and assests as well.
Its components are
MACD
P SAR
EMA 200
Risk management
Rules for entry:
For short : we have an uptrend on PSAR , histogram is positive (divergence MACD) and close of a candle is below EMA 200
For long : we dont have an uptrend on PSAR, histogram is negative(divergence MACD) and close of a candle is above EMA 200
Rules for exit:
We exit when we either find a reverse condition than the entry one, or based on stop loss/take profit that are calculated on % movements of the price.
If you have any questions, let me know !
[VJ]Phoenix Force of PSAR +MACD +RSIThis is a simple intraday strategy for working on Stocks or commodities based out on PSAR, MACD , RSI and chop index . You can modify the start time and end time based on your timezones. Session value should be from market start to the time you want to square-off
Important: The end time should be at least 2 minutes before the intraday square-off time set by your broker
Comment below if you get good returns
Strategy: Entry Exits using PSAR and momentum and trend using MACD and RSI. A chop index is used as filtering
Indicators used :
Parabolic SAR is a technical indicator that is used to determine the price direction of stocks and it also draws attention to the traders when the price is changing
PSAR helps you:
Identify when a certain price trend is going to change direction
Indicate the most effective level at which to enter into the trade
Indicate the most effective exit point for the trade
Moving average convergence divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of a security's price. ... 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
RSI is intended to chart the current and historical strength or weakness of a stock or market based on the closing prices of a recent trading period.
Buying/Selling
When trading with the parabolic SAR, you would buy a market when the dots move below the current asset price and are green in colour. Alternatively, you would sell a market when the dots move above the current asset price and are red in colour. We use MACD , RSI to ensure that a right trade is picked when PSAR gives an indication. CI is used to stay away from the range bound market as much as possible.
Usage & Best setting :
Choose a good volatile stock and a time frame - 5m.
MA length : 200
RSI threshold : 50
MACD: 12,26,9
There is stop loss and take profit that can be used to optimise your trade
The template also includes daily square off based on your time.
MACD, EMA, Know sure thing, Chopy Market - high adaptabilityHey there :)
This is the free version of the script. The following indicators / settings are missing:
- Support and resistance zones
- dynamic textboxes for alarms when using bots (3 Commas, Alertatron, etc.)
- a table showing the current position, indicators and other important information
With this script there is the possibility to completely customize the MACD . Starting with the MACD and signal line, the histogram and the color of the histogram.
Since the Pinecoders team has previously deleted the script, I will mention the fee settings in a bit more detail:
In this script a fee of 0.01% and a slipage of 15 was used. With each trade the total capital (100%) is used with a risk reward of 1 to 1.5.
The total capital, i.e. the risk, can be changed at any time under the "Settings" tab at "Equity".
I also added an EMA , the Know sure thing indicator and the Chopy Market indicator (by TradingRush) to the script to filter out bad trades.
The EMA:
Since the EMA is very reliable and shows whether there is an upward or downward trend, it should be used with the indicators in any case. It prevents long trades in downward movements and vice versa.
The KST Indicator:
The KST indicator has a similar movement as the MACD, but is by and large a bit more time delayed. It filters out false swings of the MACD and thus prevents bad trades.
The Chopy Market Indicator by Tradingrush:
The Chopy Market indicator, which was introduced by TradingRush in one of its videos, has the ability to detect sideways markets and block zones below this line for trades by means of a fixed value (the line).
To exit the trades, I added the following options:
ATR Exits. Exits based on past candles (lowest low, highest high).
Static exits based on set percentages.
In the next days I will create a tutorial for the script, just have a look on my profile.
If you have any questions about the script, let me know.
Forex bot full strategy with risk managementThis is a full strategy designed for forex major pairs, specially EUR/USD using 1h time frame chart.
Its components are
200 EMA
MACD
OBV
PSAR
RIsk management with tp and sl movements
Rules for entry
For long = Previous histogram from MACD was below 0 and current one is above 0. CLose of a candle is above EMA 200 , OBV oscillator is negative and we have an uptrend from PSAR
For short = Previous histogram from MACD was above 0 and current one is below 0. CLose of a candle is below EMA 200 , OBV oscillator is positive and we have an downtrend from PSAR
Rules for exit
For tp and sl values we calculate the distance from the close of candle until the psar values.
If you have any questions, let me know !
Forex scalper 2xEMA + SRSI + MACDThis is a forex scalping strategy designed for the most liquid pairs, like major forex pairs.
Its made of
1 EMA 50
1 EMA 100
Stochastic RSI
MACD
Rules
For long :close of the candle is above moving average 50, moving average 50> moving average 100, macd histogram is positive and cross over of stochastic rsi with the oversold level.
For short :close of the candle is below moving average 50, moving average 50 < moving average 100, macd histogram is negative and cross under of stochastic rsi with the overbought level.
Exit
For exit we have take profit and stop loss using fixed pip points.
For this example on EURUSD we use 20 pips for both tp and sl
IF you have any questions let me know !
Vortex HeikinThis indicator use macd crossover plus vortex and heikin candle to find the best spot entry.
There a lot to improve if you want, it's only a starting point.
You can change Vortex indicator with ADX indicator to find a better spot, but there could be more false entry.
Pot SizeA little FREE script - which may help people set their trade size and stop levels for bitcoin trades.
NOTE :- This script conveys information that requires "indicator arguments" to be turned on.
TO USE :- To adjust to your requirements, click the cog wheel next to the indicator, and adjust "POT SIZE" (how much dollar you have), "RISK %" (the percentage of your dollar portfolio you would like to risk on this trade) and "BITCOIN AMOUNT" - until the short and long 'stop' lines are in the right place in your estimation, for a stop loss that represents the risk you want in relation to the current price for this trade.
The script takes its reference from the closing price; and doesn't include calculations for spread, fees, true range, and volatility etc. That is left open for anyone to add that if they wish. Anyone using this has to make their own adjustments for such considerations not being in this script and therefore make their own compensations.
Anyone wanting to change anything (because values don't go far enough for you) but doesn't know pinescript, can change the numbers next to "defval", "minval", "maxval", and "step" to their suiting in the script itself.
If you use this, you have to work out for yourself if it is useful for you or not. If you depend on it, you must have your own confidence that the calculations in it are acceptable and correct for your use, and you should check yourself and seek advice before trusting it. I convey no confidence in these calculations or this script, and they must be assumed to be acceptable by you if you use it.
Thanks
M
CM MACD Custom Indicator - Multiple Time Frame - V2***For a Detailed Video Overview Showing all of the Settings...
Click HERE to View Video
New _CM_MacD_Ult_MTF _V2 Update 07-28-2021
Thanks to @SKTennis for help in Updating code to V2
Added Groups to Settings Pane.
Added Color Plots to Settings Pane
Switched MTF Logic to turn ON/OFF automatically w/ TradingView's Built in Feature
Updated Color Transparency plots to work in future update
Added Ability to Turn ON/OFF Show MacD & Signal Line
Added Ability to Turn ON/OFF Show Histogram
Added Ability to Change MACD Line Colors Based on Trend
Added Ability to Highlight Price Bars Based on Trend
Added Alerts to Settings Pane.
Customized how Alerts work. Must keep Checked in Settings Pane, and When you go to Alerts Panel, Change Symbol to Indicator (CM_Ult_MacD_MTF_V2)
Customized Alerts to Show Symbol, TimeFrame, Closing Price, MACD Crosses Up & MACD Crosses Down Signals in Alert
Alerts are Pre-Set to only Alert on Bar Close
See Video for Detailed Overview
New Updates Coming Soon!!!
***Please Post Feedback and Any Feature Requests in the Comments Section Below***
Chaikin Money Flow + MACD + ATRHere I present you on of Trade Pro's Trading Idea: Chaikin Money Flow + MACD + ATR.
This strategy is not as profitable as it can be seen in one of his videos. In the forex market, the strategy could reach a maximum of 35% profitability.
I have, as some of my followers have requested, created an overview of the current position, risk and leverage settings in the form of a table.
Furthermore, one can again swap between short and long positions.
It is now possible to select or deselect individual indicators.
I have chosen the ATR alone as a take profit stop loss, as in his strategy.
A position is only triggered as soon as all prerequisites have been fulfilled and a command is executed. This prevents false triggering by bots and repainting.
-----------------------------------------------------------------------------------
How does the strategy work?
ENTRY
Long
The MACD indicator must be above the zero line.
Then the K line must cross the D line.
Finally, when this happens, the Money Flow Index must be above the zero line.
Short
Contrary to the premise of long positions.
EXIT
ATR Exit
The value of ATR at the time of buying is multiplied by the value entered in "Profit factor ATR" and "Stop factor ATR". As soon as the price reaches this value, it is closed.
Important
The script must be optimized for each coin or currency pair.
I will publish a guide to the strategy shortly. There I will explain how the table works and how to set the strategy correctly.
The results of the strategy are without commissions and leverage.
If you have any questions or feedback, please let me know in the comments.
255 EMA Strategy//--- From 15 Trading Examples by Trader Alyx ---
// Seems like this strategy works better if we reverse the EMA filter logic.
// "Description: This basic scalping strategy allows you to enter the market based upon sentiment
// provided by the EMA, set at 255 periods. When price is trading below the 255 EMA, you would
// look to enter a LONG BUY positions, and when price is trading above the 255 EMA, you would
// look to enter a SELL SHORT position. The MACD lagging indicator will show you clear signals for
// when to do this. When the MACD lines cross in a bullish manner and price is below the 255
// EMA, buy. When the MACD lines cross in a bearish manner and price is above the 255 EMA,
// sell.
// NOTE: Make sure that price is trading away from the 255EMA before entering a LONG or SHORT
// position. As you can see in the chart below, the clearest signs for trade entry were presented
// when price was trading AWAY from the 255EMA"
MACD ReLoadedA different approach to Gerald Appel's classical Moving Average Convergence Divergence.
Appel originaly set MACD with exponential moving averages.
In this version users can apply 11 different types of moving averages which they can benefit from their smoothness and vice versa sharpnesses...
Built in Moving Average type defaultly set as VAR but users can choose from 11 different Moving Average types like:
SMA : Simple Moving Average
EMA : Exponential Moving Average
WMA : Weighted Moving Average
DEMA : Double Exponential Moving Average
TMA : Triangular Moving Average
VAR : Variable Index Dynamic Moving Average a.k.a. VIDYA
WWMA : Welles Wilder's Moving Average
ZLEMA : Zero Lag Exponential Moving Average
TSF : True Strength Force
HULL : Hull Moving Average
TILL : Tillson T3 Moving Average
In shorter time frames backtest results shows us TILL, WWMA, VIDYA (VAR) could be used to overcome whipsaws because they have less numbers of signals.
In longer time frames like daily charts WMA, Volume Weighted MACD V2, and MACDAS and SMA are more accurate according to backtest results.
My interpretation of Buff Dormeier's Volume Weighted MACD V2:
Thomas Aspray's MACD: (MACDAS)
CryptoSignalScanner - MACD Multiple Time FramesDESCRIPTION:
After receiving some multiple request to provide a MACD indicator that displays multiple timeframes at the same time I created this simple script.
You can use this script for free and adjust it as much you like.
With this script you can plot 6 MACD lines & 6 Signal lines.
• Current Timeframe MACD Line
• Current Timeframe Signal Line
• 15 minute candle MACD Line
• 15 minute candle Signal Line
• 30 minute candle MACD Line
• 30 minute candle Signal Line
• 1 hour candle MACD Line
• 1 hour candle Signal Line
• 2 hour candle MACD Line
• 2 hour candle Signal Line
• 4 hour candle MACD Line
• 4 hour candle Signal Line
HOW TO USE:
• When multiple MACD lines on an uptrend are grouped together it is time to SELL.
• When multiple MACD lines on a downtrend are grouped together it is time to BUY.
• The higher to length of the MACD lines the stronger the BUY/SELL signal.
FEATURES:
• You can show/hide the preferred MACD lines.
• You can show/hide the preferred Signal lines.
How MACD works
The MACD indicator is generated by subtracting two exponential moving averages (EMAs) to create the main line (MACD line), which is then used to calculate another EMA that represents the signal line. In addition, there is the MACD histogram, which is calculated based on the differences between those two lines. The histogram, along with the other two lines, fluctuates above and below a center line, which is also known as the zero line.
The MACD indicator consists of three elements moving around the zero line:
• The MACD line. By default the MACD line is calculated by subtracting the 26-day EMA from the 12-day EMA.
MACD line = 12d EMA - 26d EMA
• The signal line. By default the signal line is calculated from a 9-day EMA of the MACD line.
Signal line = 9d EMA of MACD line
• Histogram. The histogram is nothing more than a visual record of the relative movements of the MACD line and the signal line.
It is simply calculated as: MACD line - signal line
REMARKS:
• This advice is NOT financial advice.
• We do not provide personal investment advice and we are not a qualified licensed investment advisor.
• All information found here, including any ideas, opinions, views, predictions, forecasts, commentaries, suggestions, or stock picks, expressed or implied herein, are for informational, entertainment or educational purposes only and should not be construed as personal investment advice.
• We will not and cannot be held liable for any actions you take as a result of anything you read here.
• We only provide this information to help you make a better decision.
• While the information provided is believed to be accurate, it may include errors or inaccuracies.
Good Luck,
SEOCO
Micro MACDMicro version of the MACD
Positioning
ATR - uses ATR to position indicator 1.5x above high of the Nth bar (needs improvement)
Absolute - allows you to specify the zero line position using price on the chart.
[Sidders] MACDEMASAR IndicatorCame across a cool idea for a strategy that couldn't find in the indicator database, so decided to code it up myself for your pleasure.
Indicators consists of 3 indicators: EMA(200) to determine the overall trend, and the MACD & Parabolic SAR to determine entries (and exits).
Long entry contains 4 conditions and is generated when price is above the 200EMA (1), the MACD crosses above the signal line (2), while they are both below 0 line (3) and when the parabolic SAR is below the closing price of the bar (4).
Short entry is build up the same but in reverse: price is below the 200EMA(1), signal line crosses below the MACD line (2), while they are both above the 0 line (3) and when the parabolic SAR is above the closing price of the bar (4).
Place the stoploss on the parabolic SAR dot below/above the candle that created the signal. Profit target 1:1 risk:reward ratio, but can ofcourse be changed according to your risk apetite. Might add automatically drawn SL/TPs in a later update.
Concept behind the strategy should work on all timeframes, but will require proper backtesting. I think with additional filters the strategy can also be way more finetuned and profitable, personally haven't had the time yet to dive into that.
Have also added alerts for your convenience.
Enjoy!
All in One StudyHere is my All in One Strategy converted into a Study with Alert Conditions you can use for whatever purpose you wish.
Each condition is set up similarly to the way I had the strategy set up, if you pick the indicators you want to base your alerts on it will alert you only if the check box is true.
You can pick one or more of the indicators if you'd like. I only suggest to pick one at a time so you don't have overlapping buy/sell alerts.
I think everyone will find the message of the market falling alert amusing :-)
MACD EMA - TradingRush StrategyHey there!
Today I present you a rather simple, but very profitable MACD strategy. Since I trade it with cryptocurrencies, the settings have been adjusted.
I discovered the strategy on a YouTube channel and tried to transfer it as a strategy into a script.
Tested with the crypto pair ETH/USDT in the 15 minute chart.
There is the possibility to switch between short and long positions.
-----------------------------------------------------------------------------------
How does the strategy work?
ENTRY
The MACD indicator must cross below the histogram. If it crosses when the price is below the EMA, only short positions are traded. Above the EMA - long.
EXIT
The Lowest Low (long) / highest high (short) serves as the stop loss. The TP is formed on the basis of a factor. (SL multiplied by factor 2.1 = TP).
The red lines are used to illustrate the SL. Above for short positions below for long positions.
The results of the strategy are without commissions and levers.
If you have any questions or feedback, please let me know in the comments.
If you need more information about the strategy and want to know exactly how to apply it, check out my profile.
I wish you good luck with the strategy!
Forward Cross ProjectionA quick script used to predict the average value the price should have to create a cross between a slow and fast MA at a given time. The line is red when the current cross is bullish and the line is green when the current cross is bearish. Crossing a red line downwards means that the price is getting lower and a bearish death cross is impending. Crossing a green line upwards means that the price is rising and a bullish cross is impending. Script was made thanks to the idea of Dannii
MACD-RSI Confluence SimplifiedAnother simple version of the MACD RSi Confluence script. But this is one is more simplified with simple signals. Again to fully understand macd & RSI you should already have some type of knowledge of how they work. With understanding this script & it's signals are great for those who do. This script is based on Barcolor signals reflected by macd & RSI data
SimpleScalper2.0MACDThis indicator should be implemented with more indicators, by itself it is not recommended. SimpleScalper 2.0 MACD its strong are the negative values during the major corrections or waves of impulse of downtrend and see divergences with better visibility
All in One Strategy no RSI Label - For higher dollar cryptoThis is the All in One Strategy without the RSI suggestion label that will work well for any of the crypto currencies trading above $500 so the overlay shows up better. I am using ETH as an example on this.
Based on some comments on my previously published script that has been replaced I have added Alert Conditions to this version that can be used in other bots. You can also copy and paste these alert conditions into the other All in One script I published for the lower priced cryptocurrencies.
To use the alert conditions I have in here, you will need to convert this strategy into a study to do so. Delete the entry and exit logic at the end (lines 299 through 351), delete line 18 and paste the following in place of line 18:
study(shorttitle='Ain1 No Label',title='All in One Strategy no RSI Label', overlay=true, scale=scale.left)
Here are the settings to mimic what you see here in the back test strategy I am publishing. Remember that previous results do not guarantee future results.
Chart Time = 30 Minutes (if you didn't read my original All in One post, read it. Shorter isn't better. You lose your money faster in a shorter amount of time and I learned that the hard way)
Start Time = 1 April 2021 00:00
End Time = 31 December 2021 00:00
Trade Type = Long/Short
Stop Loss % = 20.1
Take Profit % = 14.57
RSI Length = 20
Overbought = 44
Oversold = 45
EMA Fast Length = 5
EMA Slow Length = 15
Overbought Lookback Minimum Value = 62
Overbought Lookback Bars = 3
Oversold Minimum Value = 43
Oversold Lookback Bars = 5
Source = Close
Max Lookback Period = 5
Use EMA Only = True (check the box)
K = 9
D = 17
K Mode = SMA
High Source = ohlc4
Low Source = ohlc4
Properties - Starting Amount is $3500, everything else is the same.
Any questions, feel free to ask. I will answer as soon as I can.
Table: Relative Strength Index (Multiple Timeframes) DESCRIPTION
It is the most popular and dependent Indicator, Relative Strength Index (RSI) . Now, I put inside a table to view chart momentum from Multiple timeframes.
This indicator tells different Timeframe (30 minutes, 1 hour, 4 hour, 1 day, 1 week, 1 month) of RSI value within table form.
HOW TO USE
Can consider a Long position when all timeframes go oversold while Short position when all timeframes go overbought. Alarm function is available. It sounds as all timeframes are overbought or oversold.
Modified The source of indicator from ©BeeHolder named "Performance"