Dear Mrtools Sir,
Yes, Histogram color change and also borderline will be better.
I am begging one eye God giving two.
Thank you.
Re: ADX DMI Indicators for MT4
602Try this one, did a hopefully lighter version.alpha24 wrote: Thu Jan 30, 2025 3:42 am Dear Mrtools Sir,
Yes, Histogram color change and also borderline will be better.
I am begging one eye God giving two.
Thank you.
Re: ADX DMI Indicators for MT4
603Hello Everyone,
Here is DI+ and DI- indicator which changes color on crossing 20 level.
Hope someone will find helpful.
Here is DI+ and DI- indicator which changes color on crossing 20 level.
Hope someone will find helpful.
"The FORCE is more your friend than the trend. "
Re: ADX DMI Indicators for MT4
604here is DMI color changes on crossover.
"The FORCE is more your friend than the trend. "
Re: ADX DMI Indicators for MT4
605Hello MrTools,
I have 2 instances of Metatrader running, on one the attached indicator doesn t display. Am I missing some auxiliary indicator or .dll?
I have 2 instances of Metatrader running, on one the attached indicator doesn t display. Am I missing some auxiliary indicator or .dll?
Re: ADX DMI Indicators for MT4
606Hello, yes you need the dz dll (attached) in your libraries folder. Made some very slight changes in this version attaching also.FredericoA wrote: Sat Mar 08, 2025 2:02 am Hello MrTools,
I have 2 instances of Metatrader running, on one the attached indicator doesn t display. Am I missing some auxiliary indicator or .dll?
- These users thanked the author mrtools for the post:
- FredericoA
Re: ADX DMI Indicators for MT4
607
Доброго вечера всем! есть возможность конвертировать индикатор с Trading View TUE ADX/MACD Confluence в MT4? C aлертом.
Исходный код
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// Written by TradersUltimateEdge
// Code provided open source, feel free to use it for any purpose except resale
//@version=5
indicator("TUE ADX/MACD Confluence V1.0", overlay=true)
showsignals = input(true, title="Show BUY/SELL Signals")
showcandlecolors = input(true, title="Show Candle Colors")
length = input(14, title="ADX Length")
smoothing = input(10, title="ADX Smoothing")
macdsource = input(close, title="MACD Source")
macdfast = input(12, title="MACD Fast Length")
macdslow = input(26, title="MACD Slow Length")
macdsignal = input(9, title="MACD Signal Length")
colorup = input(color.green, title="Up Candle Color")
colordown = input(color.red, title="Down Candle Color")
/////////////////////////////////////////////////////////////////////////////////////////////// ADX AND MACD CALC
[diplus, diminus, adx] = ta.dmi(length, smoothing)
[macdline, signalline, histline] = ta.macd(macdsource, macdfast, macdslow, macdsignal)
//////////////////////////////////////////////////////////////////////////////////////////////TRADE CALC
longcheck = diplus > diminus and macdline > signalline
shortcheck = diminus > diplus and signalline > macdline
int trade = 0
//Open from nothing
if trade == 0 and longcheck
trade := 1
else if trade == 0 and shortcheck
trade := -1
//Reversal
else if trade == 1 and shortcheck
trade := -1
else if trade == -1 and longcheck
trade := 1
//Keep status quo until crossover
else
trade := trade[1]
//////////////////////////////////////////////////////////////////////////////////////////////PLOT
colors = longcheck ? colorup : shortcheck ? colordown : color.white
plotcandle(open, high, low, close, color = showcandlecolors ? colors : na)
plotshape(trade[1] != 1 and trade == 1 and showsignals, style=shape.labelup, text='BUY', textcolor=color.white, color=color.green, size=size.small, location=location.belowbar)
plotshape(trade[1] != -1 and trade == -1 and showsignals, style=shape.labeldown, text='SELL', textcolor=color.white, color=color.red, size=size.small, location=location.abovebar)
///////////////////////////////////////////////////////////////////////////////////////////// ALERTS
alertcondition(trade[1] != 1 and trade == 1, "LONG")
alertcondition(trade[1] != -1 and trade == -1, "SHORT")
Исходный код
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// Written by TradersUltimateEdge
// Code provided open source, feel free to use it for any purpose except resale
//@version=5
indicator("TUE ADX/MACD Confluence V1.0", overlay=true)
showsignals = input(true, title="Show BUY/SELL Signals")
showcandlecolors = input(true, title="Show Candle Colors")
length = input(14, title="ADX Length")
smoothing = input(10, title="ADX Smoothing")
macdsource = input(close, title="MACD Source")
macdfast = input(12, title="MACD Fast Length")
macdslow = input(26, title="MACD Slow Length")
macdsignal = input(9, title="MACD Signal Length")
colorup = input(color.green, title="Up Candle Color")
colordown = input(color.red, title="Down Candle Color")
/////////////////////////////////////////////////////////////////////////////////////////////// ADX AND MACD CALC
[diplus, diminus, adx] = ta.dmi(length, smoothing)
[macdline, signalline, histline] = ta.macd(macdsource, macdfast, macdslow, macdsignal)
//////////////////////////////////////////////////////////////////////////////////////////////TRADE CALC
longcheck = diplus > diminus and macdline > signalline
shortcheck = diminus > diplus and signalline > macdline
int trade = 0
//Open from nothing
if trade == 0 and longcheck
trade := 1
else if trade == 0 and shortcheck
trade := -1
//Reversal
else if trade == 1 and shortcheck
trade := -1
else if trade == -1 and longcheck
trade := 1
//Keep status quo until crossover
else
trade := trade[1]
//////////////////////////////////////////////////////////////////////////////////////////////PLOT
colors = longcheck ? colorup : shortcheck ? colordown : color.white
plotcandle(open, high, low, close, color = showcandlecolors ? colors : na)
plotshape(trade[1] != 1 and trade == 1 and showsignals, style=shape.labelup, text='BUY', textcolor=color.white, color=color.green, size=size.small, location=location.belowbar)
plotshape(trade[1] != -1 and trade == -1 and showsignals, style=shape.labeldown, text='SELL', textcolor=color.white, color=color.red, size=size.small, location=location.abovebar)
///////////////////////////////////////////////////////////////////////////////////////////// ALERTS
alertcondition(trade[1] != 1 and trade == 1, "LONG")
alertcondition(trade[1] != -1 and trade == -1, "SHORT")
Re: ADX DMI Indicators for MT4
609ADX/MACD Confluence
Hello, made this version.
What is the ADX/MACD Confluence indicator?
This technical indicator is designed to generate BUY and SELL signals based on the confluence (confirmation) of both the ADX and MACD indicators.
Combining the elements of the ADX which measures "Trend Strength" and the MACD which measures "Momentum" and the validity of a trend, this indicator provides signals on-chart without the need for having the ADX or the MACD in the bottom indicator subwindows.
This indicator integrates trend strength (ADX) and momentum (MACD) to pinpoint significant directional movements. It:
- Eliminates noise by ensuring both indicators are in agreement.
- Clearly highlights confluences on the chart.
- Can serve as entry signals, strategy filters, or for visual trend validation.
- These users thanked the author mrtools for the post (total 13):
- Jimmy, shilhamov, boytoy, talaate, taka3, macd & rsi, mazibee, FredericoA, Ricstar_8, Mundu19, Nik123, 太虚一毫, Tradehunter