Custom Indicator: max difference, in absolute value, between two SMA's for a fixed number of periods

MQL4 지표

작업 종료됨

실행 시간 2 시간
고객의 피드백
Excellent! He asks the right questions, and works really fast. Highly recommended.
피고용인의 피드백
Good customer, very nice, I hope cooperate again.

명시

Hi, Thanks for taking a look at this simple Custom Indicator job. I know how to do it on R, but don't have the MQL skills.  The excel file of the screenshot is attached.


Description:

I need an indicator that evaluates the maximum difference, in absolute value,  between two simple moving averages for a fixed number of periods.


custom indicator will be named:   

"MA delta max"


Indicator format:  line in separate window


3 configurable input variables:

  • MA1    example 200 for SMA200
  • MA2    example   50 for SMA50
  • p         example  150 to look 150 periods back   (ex 150 days if  chart is Daily)

* both are Simple Moving Averages, at close, no shift


formula possible syntax (no specific programming language): 

Max( Abs( MA1[(now-p) : (now)]   - MA50[(now-p) : (now)]))


It should match the picture here below, where indicator fetches the maximum value in p range:

* notice that a p value of 0 (as in current value)  is always included.  So p =3 actually reads 4 data points.


응답함

1
개발자 1
등급
(598)
프로젝트
692
33%
중재
43
47% / 44%
기한 초과
12
2%
작업중
2
개발자 2
등급
(117)
프로젝트
138
41%
중재
30
7% / 77%
기한 초과
17
12%
무료
3
개발자 3
등급
(169)
프로젝트
204
30%
중재
25
40% / 44%
기한 초과
12
6%
무료
4
개발자 4
등급
(206)
프로젝트
333
35%
중재
66
12% / 58%
기한 초과
87
26%
무료
5
개발자 5
등급
(312)
프로젝트
521
47%
중재
29
10% / 45%
기한 초과
139
27%
작업중
비슷한 주문
✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15
Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
i have built a indicator on trading view which is veryt good, its based on liquidity sweeps on stop losses. im looking for an someone with experience in trading and indicators that has worked on similar strategy indicators. it already wins lots of very good trades im looking to tighten up on uneccesary trades it may send to clean it up as i currently am testing it out running to signal channel and want it the best /
I am looking for an experienced MQL5 developer to create a custom indicator for MetaTrader 5. The project requirements and indicator logic will be shared privately with the selected candidate to protect the concept and implementation details. Requirements: Strong experience with MQL5 indicator development. Ability to create clean, efficient, and well-structured code. Experience with custom buffers, chart objects
Hello, I am looking to develop a commercial-grade Expert Advisor for MT5 specifically optimized for XAUUSD (Gold). The underlying logic should be an intelligent, trend-filtered cost-averaging grid system focused on capital preservation. The EA must include the following functional architecture: 1. Core Strategy Structure: - Must feature a multi-strategy logic entry module. I want to use a combination of 3-4 standard
Generate a signal and place 2 arrows on the chart when these conditions happen. Rules: Levels up:price is below the Kijunsen and Senku A value is less than Senku B value Kijun sen close = previous kijun sen close; Kijun sen close value is LESS than Senku B close value Senkou B close = previous senku B close. Levels down: price is above Kijunsen. Senku A value is above Senku B value
ZigZag based on oscillators is needed The idea of ​​the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI

프로젝트 정보

예산
30+ USD
기한
 1 일