MACD Histogram BacktestTesting the trades signaled by the daily MACD histogram to see how they would have performed, compared to regular MACD Crosses. I'm going to take the 'List of trades' and analyse it seperately as some of the profit percentages seem a little off in the tradingview calculation, though it could just be my bad math!
Hi CryptoLove :) Hope this helps your investigation RE:
www.youtube.com
Macdhistogram
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 HistogramShort MACD histogram to deal with crypto trade.
Added ability to simulate a test price too.
ALMA MACDThis indicator creates a MACD based on Arnaud Legoux Moving Averages (ALMA). I prefer this implementation over the standard MACD based on exponential moving averages as it filters out most of the minor price fluctuations that lead to false signals.
To learn more check out our other posts about the Arnaud Legoux Moving Average:
Percentage Volume OscillatorThis indicator is based on Percentage Price Oscillator and volume as a source.
Cyatophilum MACD Hist [ALERT SETUP]Hello, I made a classic MACD Histogram indicator, with custom alerts and parameters though.
Shapes
Green circles : The MACD histogram is reversing, this is a buy (or Long) signal.
Red circles : The MACD histogram is reversing, this is a sell (or Short) signal.
Green Arrow up : The MACD histogram is enduring a bear fakeout. This is a buy signal.
Red Arrow up : The MACD histogram is enduring a bullfakeout. This is a sell signal.
Parameters ( INPUTS )
Classic MACD parameters.
Sensitivity : (1 = really sensitive to reverals and fakeouts - 5 = much less sensitive)
Activate Fakeouts : default is true. Uncheck to deactivate fakeout on chart /!\ will also deactivate fakeout alerts
Alerts (Automated trading alerts : SMS, email, etc.) that you can create :
Buy : a buy signal that will trigger on a bull reversal or a bear fakeout. No more than one buy/sell signal in a row (You will not get multiple buy signals or multiple sell signals in a row)
Sell : a sell signal that will trigger on a bearreversal or a bullfakeout. No more than one buy/sell signal in a row (You will not get multiple buy signals or multiple sell signals in a row)
Buy (Bull Reversal) : a buy signal that will trigger on each bull reversal.
Buy (Bear Fakeout) : a buy signal that will trigger on each bear fakeout.
Sell (Bear Reversal) : a sell signal that will trigger on each bear reversal.
Sell (Bull Fakeout) : a sell signal that will trigger on each bull fakeout.
If you like, leave a comment, thanks! If you find any bug, thanks for telling me!
-----------------------------------------------------------------------------------------------------------------
I am selling access to private scripts and backtests that can be found on my website .
I am also open to commissions : TradingView's PineScript development, reverse engineering.
Thanks.
Moving Average Convergence/Divergence LineMACD Line instead of MACD histogram or area. This gives more opportunities to catch divergences.
I showed regular MACD Histogram on top and then this indicator on bottom and showed with the red and green lines where you could catch multiple bearish and bullish divergences using this indicator vs a regular MACD histogram.
Send me a private message to join my trading group.
Thank you.
PMEX Momentum v1.0Newer version of Momentum indicator introducing 4 colors so easy to spot momentum bars ticking up or down. User can customize the colors etc and turning the MACD/Signal lines on/off.
This script is open to public so anyone can use it.