Bonjour/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...
This 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
It´s just the histogram of the MACD. (Actually it´s not a histogram, I like the Area visualisation more. But you can switch.)
When I´m using the MACD, I´m just searching for a divergence between Price and the MACD-histogram. I´m not interested in the MACD-signalline or the MACD-line in any way. As you can see, The omission of them leads to better visualisation....
//Original creator ChrisMoody with credits to TheLark as well
//Edit & additions by HeCormier
//MACD indicator with histogram. Plots 4 colors based on direction above and belwo teh zero line.
//Backgrown color print based on divergence of macd trend & histogram loss of momentum.
//Recommend using with RSI divergence and CCI coded OBV for confirmations.
This is only a slight modification to the existing "MACD Strategy" strategy plugin!
found the default MACD strategy to be lacking, although impressive for its simplicity. I added "year>2014" to the IF buy/sell conditions so it will only backtest from 2015 and beyond**.
I also had a problem with the standard MACD trading late, per se. To that end I modified the...
Trang web này sử dụng cookie để đảm bảo bạn có được trải nghiệm tốt nhất trên trang web của chúng tôi. Để tìm hiểu thêm về cookie, bao gồm cách kiểm soát cookie, vui lòng đọc Chính sách cookie của chúng tôi.