REDWOOD MTF MacD
This MTF MacD is a custom made indicator to show trends and potential trend changes.
As you see the MTF MacD is colored depending on the trend and if MacD is above or below the Signal.
This indicator shows the crossover or crossunder of these plots with the colored circles that
are plotted. This can be a very useful indicator to show you a start of a new trend or a trend that
is weak, giving you ideas of when to take profit or enter a new trade.
For more information on MacD in general (for reference) Please see the detailed
description here : www.investopedia.com
This MacD is a Multi Time frame MacD, meaning it can show you higher or lower timeframes of the MacD no matter what current time frame your chart is on. This is
applied in the settings of the indicator by default, with a default timeframe of 4hr.
You can easily change back to the current time frame by checking the box "Use Current MacD Timeframe?". This can be very useful to get into a trend early, entering or exiting on low time frame bars while seeing the live Long time frame MacD. This can help reassure a position if the asset dips, or see if the asset is having one last push up before the fall.
The inputs of Fast ema, Slow ema, signal length can be customized to your liking.
There are inputs that will remove the MacD & Signal crosses, the histogram, or the MacD in general, there are also inputs you can apply that shows when the macd is changing its trend and pivoting.
For trading with this indicator, it works very well with a indicator confirming the position or potential change that is happening, I recommend the RSI or StochRSI. Specifically, the REDWOOD MTF Stochastic RSI .
When MacD line crosses over the Signal (black) line and is showing the MacD line lime, with the Histogram showing aqua or light blue,
this is when to take a Long or buy position.
When MacD line crosses under the Signal (black) line and is showing the MacD line red, with the Histogram showing red, this is when to take a short or sell position.
To filter out false crosses or trades, this is where I recommend the MTF stoch or RSI, taking trades on the MacD when the Stoch or RSI is showing signs of overbought or oversold areas. These provide the strongest signals and buy and sell positions.
This is recommended as a swing indicator , but can be used for scalping at your own risk.
As for recommended time frames to use for the MTF settings, I would stick to longer timeframes to show the overall trend. With that being said, it can be used on shorter timeframes as well and works good. I would sick to the 1hr or 4hr timeframes, and for lower I recommend the 15min or 30min timeframes.
The lower you go the more signals will be provided, but with that lots more false signals will show as well if the asset is volatile.
All settings, colors, and plots can be customized, and all are labeled to make it easy for you.
Alerts for each setting will be added in the future for simplicity, as of now the alerts can be made as usual, having the indicator plot MacD crossing the indicator plot Signal, telling you of a change in the MacD.
This can be a very useful indicator, and I'm sure some may find settings that work even better than the default or recommended settings.
This indicator works on all markets, forex, cryptocurrency, and stocks.
For access to this and all indicators available, please DM me here or See profile.
We are here to help each other succeed! The more one succeeds the more we all succeed! We are all in this
together and every person deserves to be financially independent and confident when taking trades
and investing.
Macdcross
[blackcat] L1 Improved MACD IndicatorLevel: 1
Background
The MACD is a superior derivative of moving average crossovers and was developed by Gerald Appel in 1979 as a market timing tool. MACD uses two exponential moving averages with different bar periods, which are then subtracted to form what Mr. Appel calls the Fast Line. A 9-period moving average of the fast line creates the slow line.
Function
L1 Improved MACD Indicator mainly improves MACD histogram by customized an algorithm and add three levels of long entry alerts derived from ema().
Key Signal
buy1 --> the 1st level of buy alert in green
buy2 --> the 2nd level of buy alert in lime
buy3 --> the 3rd level of buy alert in yellow
diff --> classic MACD diff fast line in white
dea --> classic MACD dea slow line in yellow
macd --> classic difference histogram,but I did not use it directly in the plot.
Pros and Cons
Pros:
1. more clear sub level trend change with new histograms
2. three levels of buy alerts
Cons:
1. need sophisticated knowledge of MACD to use this well
2. this still requires a lot of MACD experience to obtain reliable trading signals
Remarks
I am a fan of MACD. Even the most classic MACD can have in-depth usage. I think MACD is the king of indicators.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
MACD-X, More Than MACD by DGTMoving Average Convergence Divergence – MACD
The most popular indicator used in technical analysis, the moving average convergence divergence (MACD), created by Gerald Appel. MACD is a trend-following momentum indicator, designed to reveal changes in the strength, direction, momentum, and duration of a trend in a financial instrument’s price
Historical evolution of MACD,
- Gerald Appel created the MACD line,
- Thomas Aspray added the histogram feature to MACD
- Giorgos E. Siligardos created a leader of MACD
MACD employs two Moving Averages of varying lengths (which are lagging indicators) to identify trend direction and duration. Then, MACD takes the difference in values between those two Moving Averages (MACD Line) and an EMA of those Moving Averages (Signal Line) and plots that difference between the two lines as a histogram which oscillates above and below a center Zero Line. The histogram is used as a good indication of a security's momentum.
Mathematically expressed as;
macd = ma(source, fast_length) – ma(source, slow_length)
signal = ma(macd, signal_length)
histogram = macd – signal
where exponential moving average (ema) is in common use as a moving average (ma)
fast_length = 12
slow_length = 26
signal_length = 9
The MACD indicator is typically good for identifying three types of basic signals ;
Signal Line Crossovers
A Signal Line Crossover is the most common signal produced by the MACD. On the occasions where the MACD Line crosses above or below the Signal Line, that can signify a potentially strong move. The standard interpretation of such an event is a recommendation to buy if the MACD line crosses up through the Signal Line (a "bullish" crossover), or to sell if it crosses down through the Signal Line (a "bearish" crossover). These events are taken as indications that the trend in the financial instrument is about to accelerate in the direction of the crossover.
Zero Line Crossovers
Zero Line Crossovers occur when the MACD Line crossed the Zero Line and either becomes positive (above 0) or negative (below 0). A change from positive to negative MACD is interpreted as "bearish", and from negative to positive as "bullish". Zero crossovers provide evidence of a change in the direction of a trend but less confirmation of its momentum than a signal line crossover
Divergence
Divergence is another signal created by the MACD. Simply, divergence occurs when the MACD and actual price are not in agreement. A "positive divergence" or "bullish divergence" occurs when the price makes a new low but the MACD does not confirm with a new low of its own. A "negative divergence" or "bearish divergence" occurs when the price makes a new high but the MACD does not confirm with a new high of its own. A divergence with respect to price may occur on the MACD line and/or the MACD Histogram
Moving Average Crossovers , another hidden signal that MACD Indicator identifies
Many traders will watch for a short-term moving average to cross above a longer-term moving average and use this to signal increasing upward momentum. This bullish crossover suggests that the price has recently been rising at a faster rate than it has in the past, so it is a common technical buy sign. Conversely, a short-term moving average crossing below a longer-term average is used to illustrate that the asset's price has been moving downward at a faster rate and that it may be a good time to sell.
Moving Average Crossovers in reality is Zero Line Crossovers, the value of the MACD indicator is equal to zero each time the two moving averages cross over each other. For easy interpretation by trades, Zero Line Crossovers are simply described as positive or negative MACD
False signals
Like any forecasting algorithm, the MACD can generate false signals. A false positive, for example, would be a bullish crossover followed by a sudden decline in a financial instrument. A false negative would be a situation where there is bearish crossover, yet the financial instrument accelerated suddenly upwards
What is “MACD-X” and Why it is “More Than MACD”
In its simples form, MACD-X implements variety of different calculation techniques applied to obtain MACD Line, ability to use of variety of different sources , including Volume related sources, and can be plotted along with MACD in the same window and all those features are available and presented within a single indicator, MACD-X
Different calculation techniques lead to different values for MACD Line, as will further discuss below, and as a consequence the signal line and the histogram values will differentiate accordingly. Mathematical calculation of both signal line and the histogram remain the same.
Main features of MACD-X ;
1- Introduces different proven techniques applied on MACD calculation , such as MACD-Histogram, MACD-Leader and MACD-Source, besides the traditional MACD (MACD-TRADITIONAL)
• MACD-Traditional , by Gerald Appel
It is the MACD that we know, stated as traditional just to avoid confusion with other techniques used with this study
• MACD-Histogram , by Thomas Aspray
The MACD-Histogram measures the distance between MACD and its signal line (the 9-day EMA of MACD). Aspray developed the MACD-Histogram to anticipate signal line crossovers in MACD. Because MACD uses moving averages and moving averages lag price, signal line crossovers can come late and affect the reward-to-risk ratio of a trade. Bullish or bearish divergences in the MACD-Histogram can alert chartists to an imminent signal line crossover in MACD
The MACD-Histogram represents the difference between MACD and its 9-day EMA, the signal line. Mathematically,
macdx = macd - ma(macd, signal_length)
Aspray's contribution served as a way to anticipate (and therefore cut down on lag) possible MACD crossovers which are a fundamental part of the indicator.
Here come a question, what if repeat the same calculations once more (macdh2 = macdh - ma(macdh, signal_length), will it be even better, this question will remain to be tested
• MACD-Leader , by Giorgos E. Siligardos, PhD
MACD Leader has the ability to lead MACD at critical situations. Almost all smoothing methods encounter in technical analysis are based on a relative-weighted sum of past prices, and the Leader is no exception. The concealed weights of MACD Leader are such that more relative weight is used in the more recent prices than the respective weights used by the components of MACD. In effect, the Leader expresses more changes in average price dynamics for the recent price movement than MACD, thus eventually leading MACD, especially when significant trend changes are about to take place.
Siligardos creates two less-laggard moving averages indicators in its formula using the same periods as follows
Indicator1 = ma(source, fast_length) + ma(source - ma(source, fast_length), fast_length)
Indicator2 = ma(source, slow_length) + ma(source - ma(source, slow_length), slow_length)
and then take the difference:
Indicator1 - Indicator2
The result is a new MACD Leader indicator
macdx = macd + ma(source - fast_ma, fast_length) - ma(source - slow_ma, slow_length)
• MACD-Source , a custom experimental interpretation of mine ,
MACD Source, presents an application of MACD that evaluates Source/MA Ratio, relatively with less lag, as a basis for MACD Line, also can be expressed as source convergence/divergence to its moving average. Among the various techniques for removing the lag between price and moving average (MA) of the price, one in particular stands out: the addition to the moving average of a portion of the difference between the price and MA. MACD Source, is based on signal length mean of the difference between Source and average value of shot length and long length moving average of the source (Source/MA Ratio), where the source is actual value and hence no lag and relatively less lag with the average value of moving average of the source . Mathematically expressed as,
macdx = ma(source - avg( ma(source, fast_length), ma(source, slow_length) ), signal_length)
MACD Source provides relatively early crossovers comparing to MACD and better momentum direction indications, assuming the lengths are set to same values
For further details, you are invited to check the following two studies, where the first seeds were sown of the MACD-Source idea
Price Distance to its Moving Averages study, adapts the idea of “Prices high above the moving average (MA) or low below it are likely to be remedied in the future by a reverse price movement", presented in an article by Denis Alajbeg, Zoran Bubas and Dina Vasic published in International Journal of Economics, Commerce and Management
First MACD like interpretation comes with the second study named as “ P-MACD ”, where P stands for price, P-MACD study attempts to display relationship between Price and its 20 and 200-period moving average. Calculations with P-MACD were based on price distance (convergence/divergence) to its 200-period moving average, and moving average convergence/divergence of 20-period moving average to 200-period moving average of price.
Now as explained above, MACD Source is a one adapted with traditional MACD, where Source stands for Price, Volume Indicator etc, any source applicable with MACD concept
2- Allows usage of variety of different sources, including Volume related indicators
The most common usage of Source for MACD calculation is close value of the financial instruments price. As an experimental approach, this study will allow source to be selected as one of the following series;
• Current Close Price (close)
• Average of High, Low, and Close Price (hlc3)
• On Balance Volume (obv)
• Accumulation Distribution (accdist)
• Price Volume Trend (pvt)
Where,
-Current Close Price and Average of High, Low, and Close Price are price actions of the financial instrument
- Accumulation Distribution is a volume based indicator designed to measure underlying supply and demand
- On Balance Volume (OBV) , is a momentum indicator that measures positive and negative volume flow
- Price Volume Trend (PVT) is a momentum based indicator used to measure money flow
3- Can be plotted along with MACD in the same window using the same scaling
Default setting of MACD-X will display MACD-Source with Current Close Price as a source and traditional MACD can be plotted eighter as a companion of MACD-X or can be selected to be plotted alone.
Applying both will add ability to compare, or use as a confirmation of one other
In case, traditional MACD Is plotted along with MACD-X to avoid misinterpreting, the lines plotted, the area between MACD-X Line and Signal-X Line is highlighted automatically, even if the highlight option not selected. Otherwise highlight will be applied only if that option selected
4- 4C Histogram
Histogram is plotted with four colors to emphasize the momentum and direction
5- Customizable
Additional to ability of selecting Calculation Method, Source, plotting along with MACD, there are few other option that allows users to customize the MACD-X indicator
Lengths are configurable, default values are set as 12, 26, 9 respectively for fast, slow and smoothing length. Setting lengths to 8,21,5 respectively Is worth checking, slower length moving averages will lead to less lag and earlier reaction to price actions but yet requires a caution and back testing before applying
Highlight the area between MACD-X Line and Signal-X Line, with colors emphasising the direction
Label can be added to display Calculation Method, Source and Length settings, the aim of this label is to server only as a reminder to trades to be aware of settings while they are occupied with charts, analysis etc.
Here comes another question, which is of more importance having the reminder or having the indicators with multi timeframe feature? Build-in Multi Time Frame features of Pine is not supported when labels and lines introduced in the script, there are other methods but brings complexity. To be studied further, this version will be with labels for time being.
Epilogue
MACD-X is an alternative variant of MACD, the insight/signals provided by MACD are also applicable to MACD-X with early and clear warnings for the changes in the trend.
If MACD is essential to your analysis, then it is my guess that after using the MACD-X for a while and familiarizing yourself with its unique character and personality, you will make it an inseparable companion to other indicators in your charts.
The various signals generated by MACD/MACD-X are easily interpreted and very few indicators in technical analysis have proved to be more reliable than the MACD, and this relatively simple indicator can quickly be incorporated into any short-term trading strategy
Disclaimer : Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
[SCL] MACD DoubleCrossCounts crosses of the MACD and signal lines and derives entry signals. The code for counting the crosses, for deciding what counts as "close enough", and for auto-adjusting for resolutions 1D or longer, might be useful for Pinescripters. The entries and exits themselves are not intended to be used on their own, but could be used as confluence within a trading system. Full explanation is in the script introduction.
MACD_trendtraderThis is my modified macd indicator. It uses moving averages to determine the trend of the market. It is best used on lower time frames such as 5min and 15min. I found it useful especially with Forex pairs and also traditional markets.
This indicator will help you get in at a pullback in a trending market.
RED background tells you the trend is down. A possible entry happens when you get a sell signal from the macd oscillator above the 0 line.
GREEN background tells you the trend is up. A possible entry happens when you get a buy signal from the macd oscillator below the 0 line.
a couple of examples:
Leave your feedback in the comments. Enjoy:)
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
[SignalFI] MACD PrimeWelcome! As part of our continual process to build and enhance trusted existing indicators, we're proud to release MACD Prime to the PRIME series for those traders that rely on the popular divergence mechanics traditional MACD provides.
MACD Prime provides a default MACD structure using the popular 12,26 EMAs and a 9 lockback signal line as the core of the indicator's functionality. In this way, you will get a consistent view for what you're use to, but of course we've added additional functionality that can be used to increase the value this view provides when trading.
ADDITIONAL Functions:
1) MACD Fast and Slow EMA sources are selectable, thus allowing the user to select OHLC variants as the source input for the 12/26 trendlines.
2) Background Coloring is based on a secondary "Signal" color which be default has been set to 6. This length is configurable, and providing a leading edge to the typical "MACD Cross". Said simply, the background color will change with the trend BEFORE a default MACD cross occurs. This may provide early warning of a MACD cross, and allow for additional entry/exit signals to manifest depending on other confluence with price and trend information.
3) MACD Trend Lines. In accordance with the PRIME series MACD Prime comes bundled with Trend Line support and resistance pivots that provide additional context for how the MACD may act based on a previous and projected trend line information. By default projections are turned off, but can be enabled from within the menu options. These trendlines can be used to spot divergences as well, and can be tuned within the option to increase resolution or decrease noise provided by trend lines.
All other standard functions persist, including the typical MACD line, MACD Signal Line, and MACD Histogram.
SignalFI was created to help traders and investors to effectively analyze the market based on the Golden Mean Ratio (Fibonacci numbers), plan a trade and ultimately execute it. To help inform and educate market decisions we developed a set of Trading Indicators which are available on TradingView.
SignalFI indicators are just that, indicators. Our indicators are generally configured to use completely historical data (negating repaint), and we advise all alerts created with SignalFI indicators to be fired upon "close" of the current candle. Our indicators can provide valuable context and visualization support when performing market analysis and executing buy and sell decisions. However. we are not financial experts, and all information presented on this site or our other media outlets are for educational purposes only.
Customizable MACD (how to detect a strong convergence)Helloooo traders
I wondered once if a MACD was based on an EMA/EMA/SMA or SMA/SMA/EMA (or WHATEVA/WHATEVA/WHATEVA).
Seems they're so many alternatives out there.
I decided to empower my audience more by choosing the type of moving averages you want for your MACD.
More options doesn't always mean better performance - but who knows - some might find a config that they like with it for their favorite asset/timeframe.
I added also a multi-timeframe component because I'm a nice guy ^^
Convergence is my BEST friend
An oscillator (like MACD) is to measure how strong a momentum is - generally, traders use those indicators to confirm a trend.
So understand that a MACD (or any other indicator not based on convergence ) won't likely be sufficient for doing great on the market.
Combined with your favorite indicator, however, you may get great results.
My indicators fav cocktail is mixing :
1) an oscillator (momentum confirmation)
2) a trendline/key level break (momentum confirmation)
3) adding-up on a different trading method but still converging with the first entry.
The reason I'm deep with convergence detection is because I'm obsessed with removing those fakeout signals. You know which ones I'm talking about :)
Those trades when the market goes sideways but our capital goes South (pun 100% intended) - 2 days later, the price hasn't changed much but some lost some capital due to fees, being overexposed, buying the top/selling the bottom of a range they didn't identify.
It's publicly known that ranges are the worst traders' enemy. It's boring, not fun, and .... end up moving in the direction we expected when we go to sleep or outside.
NO ONE/BROKER/EX-GF is tracking your computer - I checked also for mine as it happened for me way too often in the past.
I surely preferred blaming a few external unknown conditions than improving my TA back in the days #bad #dave
But my backtest sir...
Our backtests show what they're being told to show . A backtest without a stop-loss/hard exit logic will show incredible results.
Then trying that backtest with live trading is like in the Matrix movie - discovering the real world is tough and we must choose between the blue pill (learning how to evaluate properly risk/opportunity caught) and the red pill (increasing the position sizing, not setting a stop loss, holding the positions hoping for the best)
Last few words
Convergences aren't invented because it's cool to mix indicators with others. (it is actually and even fun)
They're created to remove most of the fakeouts . For those that can't be removed - a strong risk management would cut most of the remaining potential big losses.
No system works 100% of the time - so a convergence system needs a back-up plan in case the converged signal is wrong (could be stop-loss, hard exit, reducing position sizing, ...)
Wishing you the BEST and happy beginning of your week
Daveatt
P/L count for MACDSimple and effective P/L Count (based on MACD indicator) shows you when MACD give profit and when it lead to loss. PL Count consist of three plots: green (profit), red (loss) and orange (0 by default, but you can setup it as minimum profit level. Go into deal when green(profit) crossover red(loss) and exit when red crossover green. Use it together with MACD for determine deal direction. For some instruments deal opens when green crossover orange minimum profit level (not cross green and red)) .
Renko MACD TrendThe goal of this indicator is to plot the MACD, Signal, and Histogram values "as if" the chart is a true price action based Renko chart. It can be used on a time series chart or Renko series chart. The MACD is derived from the raw price action of a time-based chart, where the historic and live price is clustered into Renko bricks. The Renko brick production algorithm is entirely backed by Renko Overlay Ribbon and thoroughly tested.
The algorithm takes into account rapid brick production within a single time candle and adjusts accordingly. The output may vary slightly between different chart time frames for the same indicator settings, but this is due to the lack of price fluctuation visibility that can occur in higher chart time frames. If the brick tick size is low, an appropriate chart interval should be selected that maximizes the amount of price volatility visible to the indicator. A bad setting would be something like a 1 tick EURUSD Renko setting on an H4 or Day chart, there simply is no way to derive the exact and ordered price fluctuations in a single candle, 1 pip at a time. A more appropriate chart time frame would be 1-5 minutes for this selected Renko brick size.
The difference between this indicator and the companion Renko MACD indicator can be understood in the following video. The indicator plots the current MACD - Signal cross and MACD - Zero cross thresholds on the chart so that you know exactly where the most important crossing values are at all times. This can be used as a dynamic stop or a dynamic entry location for trades.
If you are interested in the RSI-RENKO DIVINE Strategy please have a look here:
Contact me in Trading View or telegram for more information and access instructions.
Telegram: t.me
Daily Edge: www.daily-edge.com
Renko MACDThe goal of this indicator is to plot the MACD, Signal, and Histogram values "as if" the chart is a true price action based Renko chart. It can be used on a time series chart or Renko series chart. The MACD is derived from the raw price action of a time-based chart, where the historic and live price is clustered into Renko bricks. The Renko brick production algorithm is entirely backed by Renko Overlay Ribbon and thoroughly tested.
The algorithm takes into account rapid brick production within a single time candle and adjusts accordingly. The output may vary slightly between different chart time frames for the same indicator settings, but this is due to the lack of price fluctuation visibility that can occur in higher chart time frames. If the brick tick size is low, an appropriate chart interval should be selected that maximizes the amount of price volatility visible to the indicator. A bad setting would be something like a 1 tick EURUSD Renko setting on an H4 or Day chart, there simply is no way to derive the exact and ordered price fluctuations in a single candle, 1 pip at a time. A more appropriate chart time frame would be 1-5 minutes for this selected Renko brick size.
Please find the following video introduction helpful for this indicator and the Renko MACD Trend indicator:
If you are interested in the RSI-RENKO DIVINE Strategy please have a look here:
Contact me in Trading View or telegram for more information and access instructions.
Telegram: t.me
Daily Edge: www.daily-edge.com
MT4 MACD This is a plain macd similar to the one on the mt4
There are extra colors added for visuals
Primarily requested by user Sonja.
macd // signalline // macdmt4 // mt4macd
Presets Selector - FRIDAY NIGHT CHALLENGEBonjour/Salut ça va?
Ok enough for the french :) You guys should really stop challenging me on things on Pinescript and asking me if it's possible or not because... that's the second time in a row I'm about to reveal a nice trick
Please take this example as a proof of concept/feasability. This follower said "I'm tired of manually filling the fields of my indicator, my fingers are dead.... every time I change something in the code, I lose the configuration by default"
Say no more sir.... challenge accep..... wait for it ....ted (that's his real name actually) !!!!
Mesdames et messieurs (damn... my french accent is back), let's unveil the curtain on... the PRESETS SELECTOR (please try to imagine someone super famous shouting it and everyone standing and clapping their hands...)
What I mean by presets is THIS
I inspired myself from this script MacD-Custom-Indicator-Multiple-Time-Frame-All-Available-Options/ (this guy has more likes in a single indicator than me and my friends and my family in all social media channels combined over the past 15 years or so....#humbled)
Anywoo.... the concept is that you can define presets in your script .... which is not possible by TradingView at the moment. If you always have the same set of parameters for a given indicator, please think about your fingers too and give them some rest by implementing a preset in the code directly
I also added a few features :
- You can choose the resolution of the indicator (from 1 minute to 1 month)
- You can choose also between displaying a MACD or a MACD ZERO LAG
Imagine now you have a super complex backtest with hundreds of fields... and unfortunately ... you'll have to fill some of them for each of your tests. Might change in the future if TradingView will add the feature though :)
PS
I'm writing the Algorithm Builder documentation this weekend and the website should open in 3 weeks maximum. I think it's one of the most beautiful trading websites I've seen ever (I didn't do it, my friend did but who cares... it's mine :p)
PS2
I didn't post yesterday the script of the day so I'll post it tomorrow. What is due is due and I won't fail my challenge even ONCE !!!! ("But you just did yesterday bro...")
Have a great weekend
Dave
____________________________________________________________
Be sure to hit the thumbs up
- If you want to suggest some indicators that I can develop and share with the community, please use my personal TRELLO board
- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python
MACD Profit CandlesThis tool is simple yet very effective. It creates new candles on the chart based on the MACD.
Candles are green when MACD is increasing and red when it is decreasing. All lengths can be adjusted in the input menu and there is an option to plot the signal line.
The rules for using it are pretty simple:
1.Buy on Green
2.Sell on red
~Happy Trading~
[YC]-MACDIntegrated two level MACD into one, when the two MACD cross over zero line, it is a signal for buy.
ck - MultiCross with Alerts (HMA, TSI, MACD & VWMA)Hello again everyone!
I hope you enjoy this "Multicross" Indicator.
Feature packed indicator with Alerts, that includes:
Double Hull MAs (fast and slow)
TSI (fast, slow, Long trigger & Short triggers definable)
VWMA
MACD (fast and slow)
Visual output plots line crosses from the indicators and provides visual Long and Short triangles and Alerts for bot users!
Enjoy!
Special thanks to Magnus Söderberg for the idea behind this.
MACD/EMA Long StrategyThis incredibly simple strategy uses a combination of the 20 EMA and bullish/bearish MACD crosses as a low risk method of getting in and out of markets.
Depending on whether the market is above or below the 200 SMA, the script determines if the market is in bullish or bearish territory. Above the 200 SMA, the script will ignore the 20 EMA as a buy condition and buy solely on the confirmation of a bullish MACD cross upon the close of a candle. In this bullish market, the script will only enable the sell condition if both the MACD is bearish AND a close below the 20 EMA occurs. This is to reduce the chances of the script selling prematurely in the event of a bearish MACD cross, if the market is still in overall bullish territory.
When the market is below the 200 SMA, the confirmation occurs in the opposite direction. The buy condition will only be met if both the MACD is bullish AND a close above the 20 EMA occurs. However, the sell condition ignores the 20 EMA and will sell solely on the confirmation of a bearish MACD cross upon the close of the candle.
This strategy can be used in both bullish and bearish markets. This conservative strategy will slightly underperform in a bull market, with the sell condition occasionally being met and then potentially buying back higher. However, it will successfully get you out of a turning market and automatically switch into a more 'risk-off' mentality during a bear market. This strategy is not recommended for sideways markets, as trading around the 20 EMA coupled with a relatively flat MACD profile can cause the strategy to buy the peaks and sell troughs easily.
MACD_Long_OnlyI created this indicator to calculate the gains that can be made purely by going long on the market. For exchanges without the ability to short, the standard MACD strategy is unable to accurately calculate the profit/loss from entering and exiting a position, as it includes profit/loss from actively shorting the market, which may either not be possible, or be undesirable for a specific asset.
Cryptocurrency Profitability Rankings PRO Customisable ListA good cryptocurrency may multiply your earnings - with the same effort.
This indicator helps crypto traders to find the trading securities that suit their profitability and volatility preference.
This indicator calculates and generate a ranking of profitability from a user-defined list of cryptocurrencies, based on MACD cycles within user-defined time span.
Multiple time frames: This indicator is designed for day trading, so suggested time frames are: 3m, 5m, 15m, 30m, 1H. Users can try other time frames (< 1D) if they find it useful.
This is PRO version of Cryptocurrency Profitability Rankings with Popular List, developed based on Profitability Meter for Day Trading PRO
PRO Version advanced functions:
Customisable(User-Defined) Cryptocurrency List
Option to select Open or Close price as start point for calculation.
Flexible Time Span Type: Hours and Bars, besides Days
More statistics options: Display price change(%) of latest rising/falling MACD cycle
Free trial for two weeks: Please leave a comment asking for a trial, you should get access within 48 hours. In case it doesn't work, please message the author.
Format Configuration:
Profitability Threshold: a percentage of price movement within a MACD cycle that a user thinks can be used to define profitability, defval: 0.8%.
Select open or close as start point: which can affect the results greatly, as difference between open and close can be significant, especially for big time interval.
Statistics Options
timeSpan: time span for statistics
timeSpanType: time span type for statistics
User-defined cryptocurrencies list: up to 10 items
About Customisable List of Cryptocurrency:
At present, in Pine Language, there is no method to plot a string input variable. Therefore, fixed handles are used to represent each symbol name, eg. "Sym_10". User need to remember the order of the list or refer to "Format".
Make sure to input correct tiers, eg. "BITFINEX:ETHUSD"
Related Indicators:
Profitability Meter for Day Trading PRO - Calculating and evaluating individual trading security's profitability.
About Loading Time: It may take up to 2 minutes for your browser to load a new format setting, depending on the your computer and network speed.
List of the author's Indicators
www.tradingview.com
Disclaim: By using or requesting access to this indicator, you acknowledge that you have read and accepted that this indicator is for study purposes only and it does NOT guarantee you will make money.
I am not financial adviser and I am NOT responsible for any profits or losses you may incur by using this indicator!
Users should make their own decisions, carefully assess risks and be responsible for investment and trading activities.
The latest updates override the previous description. Please check the updates.
加密货币赢利潜力排行指标 PRO 自定义列表
优质的交易币种可能倍增你的收益-在付出同样的努力的情况下。
该指标基于Profitability Meter for Day Trading PRO开发,帮助加密货币交易员找到适合其赢利性和波动率偏好的币种。
该指标根据用户定义的时间跨度内的MACD周期,计算和比对用户自定义的一组虚拟货币,生成一个赢利潜力排名。
多时间维度:本指标为日内交易设计,因此建议使用时间维度:3m,5m,15m,30m,1H; 如果用户需要,也可以用于其他小于1D的维度。
免费试用两周:跟帖评论要求试用,您应该在48小时内获得访问权限。 如果没有获得,请私信开发者。
这是Cryptocurrency Profitability Rankings with Popular List的PRO版本
可自定义加密货币列表,上至10个
可选择开盘价或收盘价作为计算起点。
灵活的时间跨度类型:小时,蜡烛数,天数
更多统计选项:显示最近上涨/下跌的MACD周期的价格变动(%)
格式配置:
盈利能力阈值:用户自定义的MACD单次波动的可赢利的百分比,默认为0.8%
选择开盘或者收盘作为起点:这会对结果产生很大影响,因为开盘价和收盘价之间的差异可能很大,特别是在较大的时间维度。
统计选项
timeSpan:统计功能的时间跨度
timeSpanType:统计功能的时间跨度单位
用户自定义的加密货币列表输入栏
关于自定义的加密货币列表:
目前,在Pine Language中,不能打印字符串输入变量。 因此,使用顺序数字字符代表币种名称,例如。“Sym_10”。 用户需要记住其输入币种的顺序或随时参考“格式设置”中的顺序。
确保输入正确的交易所和币种名称,例如。 “BITFINEX:ETHUSD”。
相关指标:
日内交易盈利潜力指示仪PRO (Profitability Meter for Day Trading PRO):用于计算和评估单个交易品种的盈利能力
关于载入新设置:每次载入新的设置可能需要0-2分钟,取决于用户的电脑配置和网络速度。
试用开发者的其他指标
www.tradingview.com
免责声明:在要求获得本指标使用权之前以及在使用本指标之前,用户认可已经完全了解和接受:本指标仅供教育和研究目的, 它不提供任何赢利的可能性。
本指标的开发者并非专业投资顾问,因此不对用户的任何赢亏负责。
用户应独立判断,审慎评估并自负投资和交易风险!
最新更新会覆盖之前的说明。 请检查更新。
Profitability Meter for Day Trading PRO [GO8686]For day traders, keeping a position is risky and costly, a popular strategy is to open a position ONLY when volatility is active, in other words, only when profitability is back.
This indicator reveals the movements of the underlying profitability of a trading security in different time dimensions.
This indicator calculates and displays price change percentage of MACD cycles, highlights those MACD cycles that are over the profitability threshold, helping traders identify range area, the start of a new trend and the fading of a trend.
Multiple time frames: This indicator is designed for day trading, so suggested time frames are: 3m, 5m, 15m, 30m, 1H. Users can try other time frames (< 1D) if it fits their trading practice.
Range area in general: a small green column and a small red column appear alternately, or most columns are gray within the period.
The start of a new trend: an outstanding green or red column means the macd cross brought a price change that was higher than the profitability threshold, which could mean a new trend, especially when it was from a range area.
The fading of a trend: for instance, when green columns are getting smaller and red columns appear, a fading of bull trend could be on the way.
This is PRO version of Profitability Meter for Day Trading
PRO excluded functions:
Alert Function: allowing user to set alert for price change with Profitability, or set alert for statistics results.
Statistics within Customisable Time Span: Percentage of MACD cycles with profitability, the average of price change(%) and MACD cycles count. Users can customize the time range by days,hours or bars (up to the maximum backtracking value that Tradingview allows).
Subscribers of this indicator may apply for two-month free-trial of "Crypto Currency Profitability Rankings PRO with Customisable List"
Free trial of two-week: Please leave a comment asking for a trial, you should get access in 48 hours. In case it doesn't happen, please message the author.
Visibility:Invite-Only
Format Configuration:
Profitability Threshold: a percentage of price movement within a MACD cycle that a user thinks is good to define profitability, defval: 0.8%.
Alertthreshold: Threshold percentage for alert.
timeSpan: Time span for statistics
timeSpanType: Time span type for statistics
Related Indicators:
Crypto Currency Profitability Rankings Standard with Popular List (Protected): The Indicator calculates and compares the profitability of a group of popular crypto currencies - based on MACD cycles and user-defined time span, helping traders to find the most suitable trading security.
Crypto Currency Profitability Rankings PRO with Customisable List (Invite-Only): Contact the author for a free trial.
List of the author's Indicators
www.tradingview.com
Disclaim: By using or requesting access to this indicator, you acknowledge that you have read and accepted that this indicator is for study purposes only and it does NOT guarantee you will make money.
I am not financial advisor and I am NOT responsible for any profits or losses you may incur by using this indicator!
Users should make their own decisions, carefully assess risks and be responsible for investment and trading activities.
The latest updates override the previous description. Please check the updates.
日内交易盈利潜力指示仪PRO
这是日内交易盈利潜力指示仪的PRO版本
PRO专属功能:
预设警报:方便用户为赢利性变动和统计学结果设置警报。
统计功能:过去特定时间段的可赢利波动的百分比,波动百分比平均值和MACD周期计数。用户可以自定义时间幅度:可以用天数,小时数,蜡烛数(上至Tradingview最大回溯值)
本指标用户可以申请免费试用两个月“Crypto Currency Profitability Rankings PRO with Customisable List (Invite Only)”
指标特征描述
本指标帮助交易员认知交易标的在不同时间维度的赢利潜力的变化。
对于日内交易,保持仓位是要承担风险和成本的,一种交易策略是只在波动率被激活至可赢利水平后才开仓位。
本指标计算和展示赢利潜力-基于MACD周期的波动百分比,用颜色来突出高赢利性的波动周期。方便交易员辨识非交易区间,新趋势的开始和旧趋势的衰减。
多时间维度:本指标为日内交易设计,因此建议使用时间维度:3m,5m,15m,30m,1H; 如果用户需要,也可以用于其他不大于1D的维度。
盘整区的一般特征:当波动率消减时,波动率低于可赢利门槛,呈现灰色; 或者小的绿色和红色波动率间隔出现。
新趋势的开始:在盘整后期,新出现的绿色或者红色波动率可能标识着新趋势的开始。
旧趋势的衰减:以上升趋势为例,当绿色波动率逐渐缩小,而红色波动率开始出现时,可能标识着上升趋势衰减。
设置:盈利能力阈值:用户自定义的MACD单次波动的可赢利的百分比,默认为0.8%
免费试用两周:跟帖评论, 要求试用,您应该会在48小时内获得访问权限。 如果没有获得,请私信作者。
相关指标:
Crypto Currency Profitability Rankings Standard with popular list (Protected) 加密货币赢利潜力排行指标 标准版 热门列表: 指标计算和比对一组热门虚拟货币的可赢利属性 - 基于MACD波动周期和用户自定义的时间周期,帮助交易员发掘最适合自己赢利和风险偏好的交易品种。
Crypto Currency Profitability Rankings PRO with Customisable List (Invite-Only): 加密货币赢利潜力排行指标 PRO 自定义列表
试用开发者的其他指标
www.tradingview.com
免责声明:在要求获得本指标使用权之前以及在使用本指标之前,用户认可已经完全了解和接受:本指标仅供教育和研究目的, 它不提供任何赢利的可能性。
本指标的开发者并非专业投资顾问,因此不对用户的任何赢亏负责。
用户应独立判断,审慎评估并自负投资和交易风险!
最新更新会覆盖之前的说明。 请检查更新。
Profitability Meter for Day Trading [GO8686]Disclaim:
By using or requesting access to this indicator, you acknowledge that you have read and accepted that this indicator is for study purposes only and it does NOT guarantee you will make money.
I am not financial adviser and I am NOT responsible for any profits or losses you may incur by using this indicator.
Users should make their own decisions, carefully assess risks and be responsible for investment and trading activities.
Indicator Description
Visibility:Protected
This indicator helps traders understand the movements of the underlying profitability of a trading security in different time dimensions.
For day trading, keeping a position is risky and costly, a popular strategy is to open a position ONLY when volatility is active, in other words, only when profitability is back.
This indicator calculates and displays price movement percentage of MACD cycles, highlights those MACD cycles that are over the profitability threshold, helping traders identify range area, the start of a new trend and the fading of a trend.
Multiple time frames: This indicator is designed for day trading, so suggested time frames are: 3m, 5m, 15m, 30m, 1H. Users can try other time frames (< 1D) if they find it useful.
Range area in general: a small green column and a small red column appear alternately, or most columns are gray within the period.
The start of a new trend: an outstanding green or red column means the MACD cross brought a price change that was higher than the profitability threshold, which could mean a new trend, especially when it was from a range area.
The fading of a trend: for instance, when green columns are getting smaller and red columns appear, a fading of bull trend could be on the way.
Format Configuration:
Profitability Threshold: a percentage of price movement within a MACD cycle that a user thinks is good to define profitability, defval: 0.8%.
PRO Version of this Indicator: Profitability Meter for Day Trading - PRO (Invite-Only)
Alert Function: allowing user to set alert for price change with profitability, or set alert for statistics results.
Statistics with Customisable Time Span: Percentage of MACD cycles with profitability, the average of price change(%) and MACD cycles count. Users can customize the time range by days,hours or bars (up to the maximum backtracking value that Tradingview allows).
Related Indicators:
Crypto Currency Profitability Rankings Standard with Popular List (Protected):
This indicator calculates and generate a ranking of profitability from a popular list of crypto currencies, based on MACD cycles within user-defined time span, helping crypto traders to find the trading securities that suit their risk and volatility preference.
Crypto Currency Profitability Rankings PRO with Customisable List (Invite-Only): Contact the author for a free trial.
List of the author's Indicators
www.tradingview.com
The latest updates override the previous description. Please check the updates.
日内交易盈利潜力指示仪
免责声明:在要求获得本指标使用权之前以及在使用本指标之前,用户认可已经完全了解和接受:本指标仅供教育和研究目的, 它不提供任何赢利的可能性。
本指标的开发者并非专业投资顾问,因此不对用户的任何赢亏负责。
用户应独立判断,审慎评估并自负投资和交易风险!
指标特征描述
本指标帮助交易员认知交易标的在不同时间维度的赢利潜力的变化。
对于日内交易,保持仓位是要承担风险和成本的,一种交易策略是只在波动率被激活至可赢利水平后才开仓位。
本指标计算和展示赢利潜力-基于MACD周期的波动百分比,用颜色来突出高赢利性的波动周期。方便交易员辨识非交易区间,新趋势的开始和旧趋势的衰减。
多时间维度:本指标为日内交易设计,因此建议使用时间维度:3m,5m,15m,30m,1H; 如果用户需要,也可以用于其他不大于1D的维度。
盘整区的一般特征:当波动率消减时,波动率低于可赢利门槛,呈现灰色; 或者小的绿色和红色波动率间隔出现。
新趋势的开始:在盘整后期,新出现的绿色或者红色波动率可能标识着新趋势的开始。
旧趋势的衰减:以上升趋势为例,当绿色波动率逐渐缩小,而红色波动率开始出现时,可能标识着上升趋势衰减。
设置:盈利能力阈值:用户自定义的MACD单次波动的可赢利的百分比,默认为0.8%
高级版本功能: Profitability Meter for Day Trading - PRO (Invite Only)
预设警报:方便用户为赢利性变动和统计学结果设置警报。
统计功能:过去特定时间段的可赢利波动的百分比,波动百分比平均值和MACD周期计数。用户可以自定义时间幅度:可以用天数,小时数,蜡烛数(上至Tradingview最大回溯值)
相关指标:
Crypto Currency Profitability Rankings Standard with popular list (Protected) 加密货币获利机会排行指标 标准版 热门列表(保护,开放使用权): 指标计算和比对一组热门虚拟货币的可赢利属性 - 基于MACD波动周期和用户自定义的时间周期,帮助交易员发掘最适合自己赢利和风险偏好的交易品种。
Crypto Currency Profitability Rankings PRO with Customisable List (Invite-Only): 加密货币获利机会排行指标 PRO - 自定义列表
试用开发者的其他指标
www.tradingview.com
最新更新会覆盖之前的说明。 请检查更新。