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
評価
(2627)
プロジェクト
3338
67%
仲裁
77
48% / 14%
期限切れ
342
10%
パブリッシュした人: 1 code
類似した注文
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
I’m looking for a skilled MQL5 developer to help build and manage an automated trading system that bridges TradingView custom indicator alerts to an Exness MT5 account . This role involves capturing Buy/Sell signals and lot sizes from TradingView webhooks , processing them with a Python listener , and executing orders on MT5 hosted on a 24/7 VPS . The ideal candidate will ensure accurate trades, reliable execution
I need a trading signals indicator. So I can learn how to upgrade my trading skills and mentality. I will be very glad if I can upgrade my trading mentality
I am looking for an experienced MQL5 developer to help build and support an automated trade execution system that connects TradingView custom indicator alerts to an Exness MT5 account. The role involves receiving TradingView webhook signals containing Buy/Sell direction and dynamically calculated lot size, processing them via a Python-based webhook listener, and executing market orders on MT5 running on a 24/7
HELLO EVERYONE , I NEED AAN INDICATORE AND EA ON STOCHESTIC OSSILATOR, WHICH CAN GIVE ME ALERT WHEN SIGNAL APEARS, INDICAOTRE I CAN SHOW ON TRADING VIEW , EXACTLTY THAT INDICATORE I NEEDED.INDICATORE NAME ON TRADING VIEW( JL STOCHESTIC DIVERGENCE ALERT).. THANK YOU
//+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ #property strict // Inputs input int EMA_Fast = 9; input int EMA_Slow = 21; input int RSI_Period = 14; input double Lots = 0.1; input int StopLoss = 20; // وقف خسارة (بـ نقاط) input int TakeProfit = 40; // هدف (بـ نقاط)
Indicator 130+ USD
To trade Forex and pass FTMO challenges by combining: Smart Money Concepts (SMC), RSI divergence and Strict filtering to avoid overtrading and drawdown. If you’re experienced in this let me know. Thank you very much
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
Hello! I am looking for an experienced, top-rated developer to build highly profitable strategy software that provides accurate signals for both long-term and short-term trades. The software must analyse the market correctly, indicating when to enter and where to set Take Profit (TP) and Stop Loss (SL) levels. It must deliver accurate results across all markets, including Forex, cryptocurrencies, metals, indices, and
I would like an experienced developer to work with. I have an existing EA I would like to modify. The EA works well on demo account but for some reasons, is not profitable on live account. I want an experienced developer to optimise it for a live account. Note: I only have a trial version of the EA, I do not have the source code

プロジェクト情報

予算
10 - 30 USD