Building iADXWilder procedure in MT4 similar to iADX - again

MQL4 전문가

작업 종료됨

실행 시간 1 일

명시

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?

파일:

응답함

1
개발자 1
등급
(1235)
프로젝트
2820
80%
중재
156
22% / 43%
기한 초과
487
17%
무료
2
개발자 2
등급
(9)
프로젝트
20
70%
중재
1
0% / 100%
기한 초과
9
45%
무료
3
개발자 3
등급
(849)
프로젝트
1452
72%
중재
121
29% / 47%
기한 초과
356
25%
로드됨
게재됨: 3 기고글
4
개발자 4
등급
(52)
프로젝트
108
68%
중재
3
33% / 33%
기한 초과
40
37%
무료
비슷한 주문
[Automatic Level Detection Group] - Enable Auto Detection: Yes/No - Number of Levels Required: (Number) 3-5 - Lookback Bars: (Number) 100-200 - Minimum Touches for Strong Level: (Number) 2 - Use Zig Zag Algorithm: Yes/No - Use Level Clustering: Yes/No - Max Cluster Distance (points): (Number) [Display and Drawing Group] - Resistance Line Color: (Color) - Support Line Color: (Color) - Show Info Labels: Yes/No - Lines
Società di investimento con attività tra Sanremo e Monaco ricerca un giovane collaboratore con esperienza nell’utilizzo avanzato di MetaTrader 5. Si richiede la conoscenza della lingua ITALIANA e INGLESE. Si richiede una chiamata conoscitiva. Il collaboratore si occuperà di: • eseguire backtest di strategie di trading su MT5 • effettuare ottimizzazioni parametri tramite Strategy Tester • analizzare risultati e
Need Python developer to use MetaApi.cloud Python API (ready SDK) to build a real-time equity curve chart. Project is simple and details will be shared privately. Only apply if you have strong Python experience
VR Rsi Robot is an expert advisor for MetaTrader 5, built on the classic RSI (Relative Strength Index) indicator but utilizing a multi-timeframe approach. The core idea is to filter signals received from the faster timeframe (H1) with confirmation from the higher timeframe (D1). This approach reduces the number of false entries and increases the probability of following a sustained trend. The expert opens positions
SMA 30+ USD
You are an expert AI Trading Analyst specializing in Simple Moving Average (SMA) Trend Following strategies. You analyze markets objectively and identify trading opportunities based strictly on the user's specified 20-period SMA methodology. Adapt your analysis to match the user's trend-following style. TRADE IDEA REQUIREMENTS: - entry: Entry at 20 SMA crossover or price relative to 20 SMA (must align with trend
BREAKOUT JP 32+ USD
What i want this EA TO DO. Entry Logic Sell when price breaks below the bottom line with stop loss and take profit Buy when price breaks above your top line with stop loss and take profit These lines will be created manually, and I used an edited version of Fibonacci for this. Can you create something similar? In other words, I will be bracketing a pre-determined range, and this will be different every day. If I go
1. Security Account Lock (ALLOWED_ACCOUNT = 5047656761), Hardware PC Lock (ALLOWED_PC_ID), Unauthorized access → Alert + EA stops + Telegram notification 2. Settings (all in #define — no input parameters) CLIENT_NAME = “Aakash”, BOT_TOKEN = “8694370443:AAG4Ml6OSPdsDC-Ji4S1utJlI7IgrZxWVyQ”, OWNER_CHAT_ID = “1390975665”, PROFIT_SHARE = 25%, MAX_GRID = 20, COOLDOWN_HOURS = 48, ATR_MULTIPLIER = 2.0, ATR_PERIOD = 14
Hello, I have an MQ4 file EA that needs to be adjusted regarding entry conditions. ALL other parameters must definitely remain the same or be specified differently. I am attaching it herewith. The stop-loss type in the new EA have to be ALWAYS a Fixed Stop-loss. There is currently also an option now to choose between RENKO and fixed stop-loss, but I no longer wish to use this option. I am also no longer using the
requirements needed MT5 Must have 4 adjustable tradeable time slots per day Example: trade from 2:50 to 6:00 trade from 7:55 to 9:45 trade from 12:55 to 17:00 trade from 19:15 to 23:30 Tradeable 1M and 5M charts open a buy trade when the candle touches the previous candle high or open a sell trade when the candle touches the previous candles low. (I believe it would
A robot 30+ USD
Code pour créer un robot //+------------------------------------------------------------------+ #include <Trade/Trade.mqh> CTrade trade; // SYMBOLS string symbols[3] = {"Volatility 10 Index","Volatility 25 Index","Volatility 75 Index"}; string bestSymbol = ""; // VARIABLES double startBalance; int tradeCount = 0; int lossStreak = 0; bool tradingStopped = false; bool profitMode = false; datetime lastDay; // PARAMÈTRES

프로젝트 정보

예산
10 - 15 USD
기한
1 일