Type/to search

CM MACD Custom Indicator - Multiple Time Frame - V2

MACD
1
Follow
1781
Followers

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

backtest

img

Source
Pine
/*backtest
start: 2022-04-19 00:00:00
end: 2022-05-18 23:59:00
period: 10m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//------New 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
Strategy parameters
Strategy parameters
Indicator TimeFrame (Optional)
Fast Length
Slow Length
Source
Signal Smoothing
Oscillator MA Type
Signal Line MA Type
Show Plots
Show MACD Lines
MACD Width
Signal Width
Show Histogram
-- Width
Show MACD Lines w/ Trend Color
Show Highlight Price Bars
Show BackGround on Cross
Show Circle on Cross
-- Width
Color Settings
MACD Line  
Signal Line  
Trend Up      
Trend Down    
Histogram Colors
Above   Grow
Fall
Below Grow
Fall
Alerts
MACD Cross Up
MACD Cross Dn
MACD Cross Up & > 0
MACD Cross Dn & < 0
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)