Very simple indicator to tell me when a moving average is stagnant (hasn't changed in value - FLAT - or simply hasn't changed) for a certain number of closed periods.

MQL5 インディケータ

仕事が完了した

実行時間23 時間
開発者からのフィードバック
Thank you very much, Marcel. You are a very good customer. I would be glad to assist you with any other project.
依頼者からのフィードバック
This project was simply effortless. Alex is an extremely adept, knowledgeable, proficient and talented programmer. This project far exceeded my expectations in terms of time and usability. Thanks Alex

指定

Hi there,

So I am looking for a very simple indicator that also comes with an alert (an alert would be a bonus but not absolutely necessary) that can tell me when a moving average has not moved or changed. i.e. is flat for a specified number of CLOSED periods.
An alert would also be great.

A traffic light visual style would be ideal as it means I can attach them to my charts so I can see which ones are of interest quickly

I would like the indicator to refresh at every closed period, so I can see the status of the indicator at a glance.

Red for 1 (any level) - this will refresh at every period if not followed by a level reading that is the same.
Orange for 2 SMA readings that are the same

Green for 3 closed SMA readings

 

For example the indicator is RED and the bar/period closes with a 0.123456 value,

It will remain red during the next bar. Now if that bar closes at 0.123455 It will go ORANGE

Then then during the next bar it remains ORANGE. Now if this bar closes at 0.123450 It will go GREEN when that period closes.

For a total of 3 periods that have SMA value that remained flat. 

 MAX difference to be considered flat is 0.000005.

1st 0.123456

2nd. 0.123461

3rd. 0.123466

For it to print the next traffic light colour. 

 

http://gyazo.com/b1d69fbed39f3d3976712ad491d40d3b - Here is a reference to what I mean FLAT/ unchanged SMA.

 

I understand that MA periods level readings on MT5 are quoted to the 6th decimal 0.000001 so when I say FLAT I would like that to include readings that are NO MORE than 0.000005 points away from each other - 

(It would also be great if I could change this sensitivity for example so it would only take readings thtat are EXACTLY the same. Or I could change it so It took readings that are 0.000002 point levels away. 

This is essentially flat on the chart.

Thanks 

Also I would like to see the traffic light style indicator let's say in the top right of each Chart Window when My Platform is Tiled - http://gyazo.com/367ec58727fe7b5482ba1d69d50cdf34

So I can quickly monitor.

I hope this made sense and I do need this ASAP  

 

Here is some graphical information

 

 

 

 Also see the day to day series of images.  - Example of Indicator just running day to day - , as MOVING AVERAGES are rarely flat or not moving but I need the indicator to be running :) and I expect it to be red as flat MA's are rare.

This is why ALERTS would be great!

 

Also if the Indicator could display the distance in PIPS between the SMA level and The BID price when price is above the SMA, and the difference between the SMA level and the ASK PRICE when price is BELOW the SMA 

 

 

応答済み

1
開発者 1
評価
(54)
プロジェクト
164
43%
仲裁
43
47% / 16%
期限切れ
58
35%
パブリッシュした人: 1 code
2
開発者 2
評価
(2629)
プロジェクト
3341
67%
仲裁
77
48% / 14%
期限切れ
342
10%
仕事中
パブリッシュした人: 1 code
類似した注文
Hi, I have an EA, which places limit orders only by reading the text files in common folder (in a specific format) I need to make some updates in the EA: 1. Limit to Market Entry Adjustment: True/False · By default, when placing a buy limit order, if the current price, is below the limit price mentioned in the file, the order gets triggered as market entry. · By enabling the above option as True, it
I am looking for an experienced MQL4 developer to build a custom MT4 indicator (EX4 only). I currently have two existing EX4 indicators for the binary forex market. Both indicators generate 1-minute signals, predicting the next candle direction (UP or DOWN). When both indicators generate the same signal on the same candle, the accuracy is around 95%. I want a new custom indicator with the following requirements: 1)
Hi guys I'm looking for a reversal indicator that doesn't repaint or use future data and I have a screenshot of exactly what I want (if you have other reversal indicators available feel free to usage images of them too)
Hello, I am a serious buyer looking to acquire an existing, stable, and profitable Expert Advisor (EA) designed specifically for: 👉 Gold (XAUUSD) This is a full buyout request, including complete source code and full ownership. ⚠️ I am NOT looking to build a new EA from scratch. Only ready-made, proven systems with real performance history. ✅ EA Requirements (Strict) 📌 Symbol & Strategy ✔ Trades Gold only (XAUUSD)
Overview I need an MT5 Expert Advisor (MQL5) for a mechanical trading system . It is a hedging account and must run as a true 3-position (3-leg) system (3 separate positions), not partial closes. The EA must match my rules exactly and behave consistently in Strategy Tester and live charts (bar-close signal logic, no forward-looking). Timeframe / Execution Signal timeframe: input All signals are evaluated on
Convert the indicator available in trade view named "Support resistance diagonal" by Pikusov to use in MT5 platform. Also need get some alerts in mobile (any social media app/ MT5) if crossing the support/ resistance lines
Looking for an MT5 developer to build an automated trading bot that executes trades based on indicator signals. The bot should support flexible inputs, work across Forex, commodities, and crypto, and allow basic configuration options. If you're experienced with MT5 EAs and indicator integration, please reach out
TDI FILTER 30+ USD
EMA TDI FILTER Hello loking for Tdi indicator that use ema as filter ema 200 for trend direction ema 50 for pullback for pullback price has to touch or go below 50 ema but does not have more tha 2 candle that open and close below 200ema ( if 3 candle open and close below 200ema the signal is false) tdi grean line (rsi line)has to be out of the band and above OB level eg 68) sharkfin/ and then return to the band
look at attachment! i dont know if it is a expert or indi what it needs to do is for whatever par you are on the timeframe must adjust to the slider realtime on chart as you slide the slider and the chart and loaded indicators chnag eto the trimeframe you slide to time frame range M1 to D1
Looking for an experienced Pine Script v5 & MQL5 developer to connect a custom TradingView indicator to MT5 (Exness) . The indicator already calculates lot size and includes a dropdown (None / Buy / Sell) . When Buy or Sell is selected, a TradingView alert must trigger , send lot size + direction via webhook , and place a market order in MT5 . No strategy conversion. No SL/TP handling. Execution only. Apply only if

プロジェクト情報

予算
10 - 30 USD