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 코드
2
개발자 2
등급
(2624)
프로젝트
3332
67%
중재
77
48% / 14%
기한 초과
342
10%
무료
게재됨: 1 코드
비슷한 주문
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I’m looking for an experienced MQL5 developer to build TWO MT5 custom indicators that detect multi-condition M30 trade setups and send Telegram alerts before trade execution . This project requires strict close-based logic , multi-indicator buffer processing , and non-repainting behavior . HIGH-LEVEL REQUIREMENTS Indicators must evaluate signals from M30 only All conditions are checked only after candle close Logic
Tôi muốn EA siêu lợi nhuận, giá cả không thành vấn đề, chỉ cần bạn có thể chứng minh được, và gửi tôi bản demo để tôi kiểm tra bạn hãy chứng minh bản thân mình trước. EA cần backtest 1 năm hoạt động ổn định
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
MT5 30 - 50 USD
I'm looking for an experienced MQL5 developer to help with backtesting, optimization, and VPS setup for a prop firm EA on XAUUSD (Gold). Scope of work - Backtest and optimize using high-quality tick data from Dukascopy or Polygon (2020–2025) - Perform Monte Carlo and Walk-Forward testing to optimize parameters like ATR multipliers and risk % - VPS installation and configuration for continuous MT5 operation - Apply
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
I am seeking a highly experienced MT4/MT5 developer to analyze my trade history and replicate the trading strategy into a new Expert Advisor. The developer must have proven experience in strategy reverse-engineering, trade data analysis, and EA development across various trading methodologies. Strong familiarity with EURUSD trading behavior and chart analysis is essential. Please keep on mind we don't have physical
This EA is created by someone else but can not solve the issue around false trades. I have put this in CHATGPT to have better performance. Normally you can check this and implement the changes chatgpt is offering. https://chatgpt.com/share/694a9127-1940-8001-9b22-f125f741a780 please let me know if you can not see this chatgpt

프로젝트 정보

예산
10 - 30 USD