Building iADXWilder procedure in MT4 similar to iADX - again

MQL4 Uzmanlar

İş tamamlandı

Tamamlanma süresi: 1 gün

Şartname

Previous developer failed to deliver the task, so im trying again here. Please do not apply for it if you may not be able to provide the working procedure.

 

It is a simple and quick job for someone with experience. I need to have an iADXWilder procedure that would work exactly like iADX function to finnish conversion of my EA from MQL5 to MQL4. 

Result goal is MT4 EA what would look like this:

double iADXWilder(string symbol, int timeframe, int period, int applied_price, int mode, int shift)
{
// your procedure here
}

void OnTick()
{
Alert("adx wilder=", iADXWilder(Symbol(), PERIOD_CURRENT, 14, PRICE_CLOSE, MODE_MAIN, 0) );
Alert("adx=", iADX(Symbol(), PERIOD_CURRENT, 14, PRICE_CLOSE, MODE_MAIN, 0) );
}

Any additional necessary procedures can also be added. The function has to have all specified arguments (symbol, timeframe, period, applied price, shift).

I already tried it myself and I got returns of zeros. I dont have time to fight with it further.

Maybe someone has that ready or is experienced enough, that conversion from publicly available ADX Wilder indicator (ripping the math out) to procedure can take him little time.


I dont want to use external indicator, i want it incorporated in the code.

Detailed MQL5 ADX Wilder description + code:
https://www.mql5.com/en/code/8



I'm attaching my attempt of a conversion (not working, returning only zeros). I examine 500 bars behind as the more periods in the past are examined, the more accurate SSMA is going to be. (like exponential MA it counts all available bars to count its value). Maybe someone can do a quick fix?

Dosyalar:

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(1235)
Projeler
2820
80%
Arabuluculuk
156
22% / 43%
Süresi dolmuş
487
17%
Serbest
2
Geliştirici 2
Derecelendirme
(9)
Projeler
20
70%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
9
45%
Serbest
3
Geliştirici 3
Derecelendirme
(851)
Projeler
1460
72%
Arabuluculuk
122
29% / 48%
Süresi dolmuş
356
24%
Çalışıyor
Yayınlandı: 3 makale
4
Geliştirici 4
Derecelendirme
(52)
Projeler
108
68%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
40
37%
Serbest
Benzer siparişler
STRATEGY FOR GOLD XAUUSD - SMALL ACCOUNT $68 1. LOT SIZE: Fixed 0.01 lot. No auto lot. No martingale. No grid. 2. PAIR & TIMEFRAME: XAUUSD only, H1 timeframe. Gold is volatile! 3. BUY RULE: - 20 EMA crosses above 50 EMA - RSI(14) > 55 - Open buy at candle close 4. SELL RULE: - 20 EMA crosses below 50 EMA - RSI(14) < 45 - Open sell at candle close 5. RISK MANAGEMENT FOR GOLD: - Stop Loss: 1500 points = 150 pips =
STRATEGY FOR SMALL ACCOUNT $68 1. LOT SIZE: Fixed 0.01 lot. No auto lot. No martingale. No grid. 2. PAIR & TIMEFRAME: EURUSD only, H1 timeframe. 3. BUY RULE: - 20 EMA crosses above 50 EMA - RSI(14) > 55 - Open buy at candle close 4. SELL RULE: - 20 EMA crosses below 50 EMA - RSI(14) < 45 - Open sell at candle close 5. RISK MANAGEMENT: - Stop Loss: 250 points = 25 pips - Take Profit: 500 points = 50 pips - Max 1
Panda103 30 - 100000 USD
# Institutional-Grade MT5 Prop Firm Trading Bot Requirements ## Project Objective Develop a professional MetaTrader 5 Expert Advisor (EA) specifically designed to pass and maintain funded accounts such as: * FTMO * FundedNext * The5ers * MyFundedFX Primary goals: 1. Capital preservation first. 2. Consistent growth. 3. Strict drawdown compliance. 4. High-probability entries only. 5. Long-term funded account
All trades are supposed to be opened at the same time, and have different predetermined TP levels, so i will need to physically enter TP levels for individual trades trades allowed; For example, on the EA settings,like, below all settings, i should have a place to enter how many pips each trade will have to go to TP, UP TO 20 trades max, I will explain more but the job as as simply as explained above
Use the H4 timeframe to determine the main trend direction. Identify valid order blocks on the H1 timeframe. Identify liquidity zones and liquidity sweeps. Wait for M15 confirmation before opening a trade. Only take buy trades in bullish market conditions and sell trades in bearish market conditions. Risk a fixed percentage of account balance per trade (user adjustable). Automatically calculate lot size based on
Scalping/HFT EA 30+ USD
I need someone to make an EA that is a HFT that actually works for prop firm or live accounts. Prop firm would be most preferred but it has to be from a prop firm that will allow HFT
I need a professional MT5 (MQL5) Expert Advisor for Gold (XAUUSD) scalping. Main requirements: - Work on M1 and M5 timeframes. - Trend filter using EMA 50 and EMA 200. - Entry confirmation after pullback and candle confirmation. - Open 3 positions per signal. Trade management: - Separate TP1, TP2, and TP3. - One Stop Loss for all positions. - When TP1 is reached: Close Position 1 and move remaining positions to
MC Trader's 30+ USD
If Buy: it must Buy when a conformation is done Bye the candle that would be a bullish engolfing candle or after liqudity swip or when sellers has stepped down the market and the market regains energy and trand upwards, it's stop loss must be below the Buy position and it's take profit must be at the top of all candles
Hi, I need an experienced developer to review and help repair a trading automation project. This is not a request to create a random trading bot from scratch. I already have an existing system called EXU. It uses TradingView alerts, a VPS webhook backend, a decision/guard layer, and an MT5 execution/proof layer. Current project status: * TradingView alerts are reaching the backend. * The clean VPS pipeline works. *
i am looking to upgrade my trading telegram bot and add live data to it and also make it linked to a dashboard where i can trace the users who register in my bot and pay and make them go in my private channel and manages the expiry date of each user

Proje bilgisi

Bütçe
10 - 15 USD
Son teslim tarihi
1 gün