Cycles StrategyThis is back-testable strategy is a modified version of the Stochastic strategy. It is meant to accompany the modified Stochastic indicator: "Cycles".
Modifications to the Stochastic strategy include;
1. Programmable settings for the Stochastic Periods (%K, %D and Smooth %K).
2. Programmable settings for the MACD Periods (Fast, Slow, Smoothing)
3. Programmable thresholds for %K, to qualify a potential entry strategy.
4. Programmable thresholds for %D, to qualify a potential exit strategy.
5. Buttons to choose which components to use in the trading algorithm.
6. Choose the month and year to back test.
The trading algorithm:
1. When %K exceeds the upper/lower threshold and then hooks down/up, in the direction of the Moving Average (MA). This is the minimum entry qualification.
2. When %D exceeds the lower/upper threshold and angled in the direction of the trade, is the exit qualification.
3. Additional entry filters include the direction of MACD, Signal and %D. Also, the "cliff", being a long entry is a higher high or a short entry is a lower low.
4. Strategy can only go "Long" or "Short" depending on the selected setting.
5. By matching the settings in the "Cycles" indicator, you can (almost) see what the strategy is doing.
6. Be sure to select the "Recalculate" buttons, to recalculate on every new Tick, for best results.
Please click the Like button and leave a comment if you appreciate this script. Improvements will be implemented as time goes on.
I am not a licensed trade advisor. This strategy is for entertainment only. Use at your own risk!
Wyszukaj w skryptach "macd"
BV's MACD SIGNAL TESTERHello ladies and gentlemen,
Today, as you may have seen in the title, I have coded a strategy to determine once and for all if MACD could make you money in 2020.
So, at the end of this video, you will know which MACD strategy will bring you the most money.
Spoiler alert: we've hit the 90% WinRAte mark on the Euro New Zealand Dollar chart.
I've seen a lot of videos of people testing different MACD signals, some up to 100 times.
But In my opinion, all traders must rely on statistics to put all the odds on their side and good statistics require a lot more data.
The algorithm I'm showing you tests each signal one by one over a 3 year period and on 28 different graphs.
That way we are sure that we have encountered all possible market behavior.
From phases of congestion to major trends or even the effects of COVID-19
I use the ATR to determine my Stop Loss and Take Profits. The Stop Loss is placed at 1.5 times the ATR, the Take Profit is placed at 1 time the ATR.
If my Take Profit is hit, I take 50% of the profits and let the position run by moving my Stop Loss to Zero.
This way, the position can no longer be a losing position.
If you are not familiar with this practice, I invite you to study the "Scaling out" video from the NoNonsenseForex channel.
BV's Trading Journal.
Combo Backtest 123 Reversal & Ergodic MACD This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This is one of the techniques described by William Blau in his book
"Momentum, Direction and Divergence" (1995). If you like to learn more,
we advise you to read this book. His book focuses on three key aspects
of trading: momentum, direction and divergence. Blau, who was an electrical
engineer before becoming a trader, thoroughly examines the relationship
between price and momentum in step-by-step examples. From this grounding,
he then looks at the deficiencies in other oscillators and introduces some
innovative techniques, including a fresh twist on Stochastics. On directional
issues, he analyzes the intricacies of ADX and offers a unique approach to help
define trending and non-trending periods.
Blau`s indicator is like usual MACD, but it plots opposite of meaningof
stndard MACD indicator.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Strategy 123 Reversal & Ergodic MACD This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This is one of the techniques described by William Blau in his book
"Momentum, Direction and Divergence" (1995). If you like to learn more,
we advise you to read this book. His book focuses on three key aspects
of trading: momentum, direction and divergence. Blau, who was an electrical
engineer before becoming a trader, thoroughly examines the relationship
between price and momentum in step-by-step examples. From this grounding,
he then looks at the deficiencies in other oscillators and introduces some
innovative techniques, including a fresh twist on Stochastics. On directional
issues, he analyzes the intricacies of ADX and offers a unique approach to help
define trending and non-trending periods.
Blau`s indicator is like usual MACD, but it plots opposite of meaningof
stndard MACD indicator.
WARNING:
- For purpose educate only
- This script to change bars colors.
ALT_FLAMES00.00 - alt-flames
component breakdown:
a) various combinations of EMA crossovers taken from the primeval_series to create a complete sequence of background colored-lines that subdivide into a bullish portion
and a bearish portion for directional identification
b) specific macd crossovers for predictive power in the form of directional flames located directly above the chart price (navy & yellow flames)
c) unique fast & slow rsi combinations for momentum + strength in the form of power flames located directly above the chart price (orange, red, green, & lime flames)
when the alternation of flames are used in concert with the sequence of background colors, one can identify impending explosive price action, can better navigate through periods of slower activity, identify where they are currently in the trend's lifecycle and, MOST IMPORTANTLY, improve the TIMELINESS of entry and exit strategies
00.01 - primeval_series - overview
the primeval_series is a group of transformed universally-renowned mathematical constants that have been transformed and embedded into a series of EMAs
each of these EMAs relates in some meaningful way to the "original wave' or 'wave_0': i.e. the wave that began at t=0, when humanity first made technological progress
the transformations made ensure that the inherent linkages to the original wave remain intact while being applicable to the structures inherent to indicator development
for the purposes of the alt-flames indicator, certain numbers selected from the primeval_series exist and are the basis of each ema , MACD and RSI calculation made herein
00.02 - alt-flames - best practices, and ideal targets
for best use: start with the daily timeframe for broad pattern, then use hourly going forward
ideal for swing trades, shorter-term options, and stocks that already have well-established uptrends, but have also started consolidating for 1+ week
patience is required to catch the ideal break, so best to use mildly OTM calls with at least 2 weeks on them before expiry.
for great use: pick out stocks that have recently broken out heavily from their pivot . Do not enter until the retracement from the top has a defined local low
for average use: any sort of intraday play. this tool is meant for swing trades and sustained breakouts. picking out significant bottom reversals.
the MACD portion is not geared for big reversals here. Rather, it is complementary to the EMA sequences, which are at the core of the indicator
not useful for: shorting stocks that are trending downward or that are in sideways trends
WOMBO COMBO: EMA & VWAP & MACD & BB & STCHello my fellow investors,
After hours of reading, backtesting, and YouTube video watching I discovered that EMA, VWAP, BB, MACD, and STC produce the most consistent results for investment planning. This strategy allows you to pick between the aforementioned indicators or layer them together.
It works on the pricipal of:
1) Always follow the market trend - buy/sell above/below 200EMA
2) Follow corporate investing trends - buy/sell above/below VWAP
3) Apply MACD check - buy--> MACD line above signal line and corssover below histogram \\ sell --> MACD line below signal line and crossover above histogram.
4) Check volitility with price against BB limits upper/Sell or lower/buy
5) When STC crosses about 10 buy and when it drops below 90 sell
6) Exit position when stop loss is triggered or profit target is hit. BB also provides a parameter to exit positions.
This code is the product of many hours of hard work on the part of the greater tradingview community. The credit goes to everyone in the community who has put code out there for the greater good.
T3 ICL MACD STRATEGY
Backtested manually and received approx 60% winrate. Tradingview strategy tester is skewed because this program does not specify when to sell at profit target or at a stop loss.
Uses 1 min for entry and a longer time frame for confirmation (5,10,15, etc..) (Not sure what the yellow arrows are in the picture but they can be ignored)
Ideal Long Entry - The algo uses T3 moving average (T3) and the Ichimoku Conversion Line (ICL) to determine when to enter a long or short position. In this case we are going to showcase what causes the algo to alert long. It first checks to see if the the ICL is greater than T3. Once that condition is met T3 must be green in order to enter long and finally the last closing price has to be greater than the ICL. You can use the MACD to further verify a long trend as well!
Ideal Short Entry - The algo uses T3 moving average (T3) and the Ichimoku Conversion Line (ICL) to determine when to enter a long or short position. In this case we are going to showcase what causes the algo to alert short. It first checks to see if the the ICL is less than T3. Once that condition is met T3 must be red in order to enter short and finally the last closing price has to be less than the ICL. You can use the MACD to further verify a long trend as well!
LinearReg macdA hybrid of linear regression and MACD
crossing up or down of macd and signal shown by + either blue=up , down=orange
macd >0 bullish =green
macd<0 bearish =red
setting can be change to optimise it
Strategy Tester EMA-SMA-RSI-MACDOn Tradingview I never saw a custom adjustable strategy script yet, so this is it,
you can change different things and see if you'll get a good strategy or not
Settings:
First choose the source, you can choose out of:
close, open, high, low, ohlc4, hlc3, hl2
Then choose you strategy: Long & Short, Long only or Short only
Next, choose your entry "Buy/Long" (which is the "close Short position" when "Short"):
- (E)MA 1 > (E)MA 2 (Each can be made ema or sma)
- close above (E)MA 1
- RSI strategy
- macd > signal
- macd > 0
- signal > 0
Then choose your RSI values if needed (for example you want a trigger when EMA 1 > SMA 2
but only if RSI > 60, then change "IF RSI >" from 0 to 60
Next you can choose an extra argument
and even a second argument with Higher Time Frame settings
Under this you can change your (E)MA values as desired (HTF values, MACD and RSI length can be found lower)
All the same with the exit/close (or if "Short", this is your entry)
Again, change everything as you wish
Then comes the RSI length setting, MACD settings and HTF settings, followed by SL/TP settings
(you also can enable/disable SL/TP), and TIME settings (for example you want to know the profit only from this year)
Alerts are provided in next script
Have fun!
LoveGunfire - DOUBLE BB MACD- Longs when Macd line is above Bollinger Band , Shorts when Macd line is above Bollinger Band , this is a double attack target.
For giants to operate, no matter how to make any transaction, they must have the mind of "continuing to stop making profits is the emperor's way, and strictly guarding against erosion is a virtue."
By Love.Gunfire
--------------------------------------------------------------------------------------------------------------------------------------------
- 只有LONG,當 MACD 在BB之上,只有SHORT,當MACD 在BB之下,雙重攻擊目標。
巨人操作,無論做任何交易,必須要有「不斷止賺是皇道,嚴守止蝕是美德。」的心思。
By Love.Gunfire
MACD_RSI strategyUse three indicator to entry a position
EMA (20), MACD (12, 26, 20), RSI (14)
apply ema20 on rsi as signal line
Entry long when
price above EMA20, MACD above signal line and RSI above signal line
Entry short when
price below EMA20, MACD below signal line and RSI below signal line
Study only, use it under your own risk.
Strategy MACD vs BBStrategy based on MACD and Bollinger Bands, where BBs are calculatend from macd signal.
Strategy doesn't open at breakout of bands but it waits for a pullback.
Upper and lower bands are used as resistance and support.
There are various parameters that can be optimized.
I have also a study with alerts.
Please use comment section for any feedback or cointact me if you need support.
MTF MACD MAI calculated MACD backward and wrote it on the main chart.
The signal line on the upper leg looks good
MACDを逆算してメインチャートに書いてみました。
上位足のシグナルラインが良い感じですね
[OBV] [MACD] [Accelerator/Awesome Oscillator] + PivDiv 2Here is an indicator with 4 options:
- OBV
- MACD (uses default EMA, you can change this to SMA)
- AC
- AO
All accompanied with my "Divergences (Pivots)" with 3 settings:
- 'Long Period', default checks 19 bars to the Left (="History") and 1 bar to the Right (="Future")
- 'Medium Period', default checks 14 bars to the Left (="History") and 1 bar to the Right (="Future")
- 'Short Period', default checks 9 bars to the Left (="History") and 1 bar to the Right (="Future")
When choosing an indicator, it comes with their accompanying "Divergences"!
Each Bar checks an amount of Bars at the Left (="History") and Bars to the Right (="Future"), insuring this particular Bar is the Highest or Lowest of them all at "close",
this is compared to the or or and so we have our Divergences.
There is always a slight delay (number of Bar(s) at the Right side (="Future")
If you like a setting, where the amount of “RightBars” equals the ”LeftBars” you can enable the " > Only change 'LeftBars'" button.
Then you only have to adjust the amount of “LeftBars” and the amount of “RightBars” automatically will be the same.
Bullish divergences are "Green"
- 'Short' - 'Medium' "period" > "▲"
- 'Long' "period" > "⇧"
Bearish divergences are "Red"
- 'Short' - 'Medium' "period" > "▼"
- 'Long' "period" > "⇩"
Hidden divergences ( Bullish and Bearish ) are:
- 'Short' - 'Medium' "period" > "▲▼" - "White"
- 'Long' "period" > "⬆︎⬇︎" - "Yellow"
Since for me, at this moment, it is impossible to let this indicator work as our eyes work, it will miss sometimes. I've tried to solve this by putting 3 different "Periods",
but it is not perfect, so look at it as an aiding tool, a "hint" so you can look in detail if there is something of importance or not.
What also helps is to switch timeframes.
For example on a 1 hour chart a "Highest" point can be missed sometimes, but could be perfectly visible on a 2 or 4 hour chart.
Also, try to change the numbers in a way that suits you the best.
Enjoy!
6 Figures Scalping 2x MACD10-11-2019
This script plots a double MACD in a new indicator pane
The default settings:
Pink = STD MACD , settings 12-26-9
Green - Fast MACD, settings 5-15-1
The MACD settings can be changed in the indicators setting window
OBV MACD IndicatorSo this script is my improvement to macd that we all know . it faster and more accurate with less lag
first is based on OBV as it primary source
next we convert the OBV to MA style format , in this case we can add all form of MA in order to calculate it . as you will see in settimgs it has many type of MA as each beahave differently
I make the signal to be in linear form jst to make it more sharp/ and in the end in order to make the signal i use Alex grover method (this guy is a genius:) )
in final step we can make pivots point on our new for macd
end resolt is a faster more accurate MACD and much more options fro modification then the regular macd
this is volume indicator based so in some graph where volume does not exist this will not work
WMX_Q MACDThis study simply normalized MACD signals, so it may provide a better way to find buy and sell opportunities.
指标只是对MACD信号进行了标准化,因此它可以提供一种更好的方式来寻找买入和卖出机会。
GBTC/BTC MACDGBTC created BTC's leading indicator theory.
GBTC / BTC (market capitalization) MACD is calculated.
It seems to be good to see more than daily.
GBTCはBTCの先行指標説を信じて作成しました。
GBTC/BTC(時価総額)のMACDを計算しています。
日足以上で見るのが良いと思われます。
Multi momentum indicatorScript contains couple momentum oscillators all in one pane
List of indicators:
RSI
Stochastic RSI
MACD
CCI
WaveTrend by LazyBear
MFI
Default active indicators are RSI and Stochastic RSI
Other indicators are disabled by default
RSI, StochRSI and MFI are modified to be bounded to range from 100 to -100. That's why overbought is 40 and 60 instead 70 and 80 while oversold -40 and -60 instead 30 and 20.
MACD and CCI as they are not bounded to 100 or 200 range, they are limited to 100 - -100 by default when activated (extras are simply hidden) but there is an option to show full indicator.
In settings there are couple more options like show crosses or show only histogram.
Default source for all indicators is close (except WaveTrend and MFI which use hlc3) and it could be changed but for all indicators.
There is an option for 2nd RSI which can be set for any timeframe and background calculated by Fibonacci levels.
Histogram (MACD) with DivergencesThe focus with this MACD plot is solely towards the Histogram .
MACD & Signal can be made visible, but is made invisible by default.
The brighter line (green-red) is derived from the 'usual' MACD, the initial settings are completely different though:
- Fast Length 1
- 'Slow' Length 7
This is Histogram (1)
When this line crosses the 0 - line, this can give a nice early BUY - SELL sign,
especially combined with the 2nd Histogram, which uses a Slow Length of 49.
This latter Histogram (2) is filled ("Area") with a green/orange colour.
When Histogram (2) cross the 0 - line, this is visible as a green/red 'Cross'
These "Crosses", compared with the candles, gives possible/probable Support/Resistance lines.
Example,
if you bought on 5 March (Green Cross), and sold on 14 July, you'd have a nice profit!
A nice green area filled Histogram (2) (above 0 - line) can be considered as very Bullish,
an orange area filled Histogram (2) (below 0 - line) can be considered as Bearish.
Histogram (1) line can be used for shorter term Buy - Sell trades, the larger Bullish/Bearish Trend (of Histogram (2)) taking into account!
(see yellow dotted lines on the image).
All this is combined with a "Divergence" plot (with thanks to "Coingrats" (and "BabyWhale83") for the hard work!)
The small, more bright Triangles are triggered by Histogram (1)
The larger Triangles are triggered by Histogram (2)
- Green Triangles are Bullish Divergences
- Red Triangles are Bearish Divergences
- White Triangles (pointing upwards/downwards) are Bullish/Bearish Hidden Divergences
Very importantly, always combine the Divergence Triangles with another tool for confirmation, for example a MACD or RSI which produced an extra confirmation.
The movement of Histogram (2) above or below the 0 - line can be a confirmation as well.
As default these 3 options are enabled (for me this gives better results):
Simple MA (Oscillator)
Simple MA (Signal Line)
Simple MA (Signal Line 2)
This indicator can be used with normal "Candles", "Line", or "Heikin Ashi" (gives some differences)
Hope this is original and helpful!
BTC FRACTAL ANN S-R LEVELS (Fixed ANN MACD)
This script is an adaptation of my deep learning system for Bitcoin to fractals.
Fractal codes are not belong to me. Original :
The code for the Deep learning (ANN MACD BTC) work belongs to me. Original:
I didn't get license for this script because the fractal codes don't belong to me.You can use it for any purpose.
This command can be a very helpful guide.You can use that fractals with your indicators for Bitcoin.
You can also combine these levels with ANN - MACD - BTC script.
Scripts about Artificial Neural Networks (ANN) will continue soon !
I hope it will help us to gain insight into technical analysis.
Best regards. Noldo.
Schaff Trend Cycle [ChuckBanger]The Schaff Trend Cycle is a method, developed by Doug Schaff and based on the concept that trends also have repeating high and low patterns, or cycles. This is a modified MACD line, run through a modified stochastic algorithm and smoothed with Wilders’ smoothing in order to estimate the final Schaff Trend Cycle (STC) indicator. Its purpose is to identify the direction, in which a trend cycle is moving and possible peaks and bottoms within this cycle.
If this is interesting you should also take a look at MACD Leader:
For more info about Schaff Trend Cycle Indicator:
www.investopedia.com
Awesome Oscillator + MACDthis script is compilation on awo and macd ,,you only see the croos macd and cloud before entry so enjoy it