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 Indicadores

Trabalho concluído

Tempo de execução 23 horas
Comentário do desenvolvedor
Thank you very much, Marcel. You are a very good customer. I would be glad to assist you with any other project.
Comentário do cliente
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

Termos de Referência

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 

 

 

Respondido

1
Desenvolvedor 1
Classificação
(54)
Projetos
164
43%
Arbitragem
43
47% / 16%
Expirado
58
35%
Livre
Publicou: 1 código
2
Desenvolvedor 2
Classificação
(2598)
Projetos
3279
67%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
Pedidos semelhantes
Hello guys, I'm currently looking for a serious and well-tested EA that can help pass prop firm challenges (like FTMO, MyForexFunds, etc.) and eventually run on a funded account. Requirements: Max Drawdown: 1–2% per trade Lot Size: Adjustable based on the challenge account size Risk Management: On-chart panel showing all key stats (daily drawdown, equity, profit target, etc.) Stop Loss & Take Profit: Must follow
Indicator that finds zones. All details in word document Ask questions if need I’d also like to to change from finding bullish marker and main candles to bearish marker and main candles if price crosses past inputted price The document is showing zones for bullish price action. Id like to also change manually in setting for it to show bearish price action ( it will look for bullish candle markers and main) Zones
I need a lightweight, trend-following custom indicator coded for MetaTrader 4 that blends Moving Average, MACD, Bollinger Bands and Stochastic logic into a single tool. When all chosen conditions align, the indicator must fire a pop-up window and play an audible alert; email notification is optional but not required. All key parameters—periods, shifts, deviations, smoothing, alert switch, etc.—should appear in the
I already have an Expert Advisor coded in MQL4, but it refuses to trade anything other than its hard-coded symbol. I want that filter gone so the same strategy can fire on any instrument—forex, indices, metals such as XAUUSD—across any timeframe. The trading logic, money management and inputs must stay exactly as they are; I simply need universal symbol support. After the MT4 file is fixed and compiles cleanly, I
Description: Gildepak is a purchasing cooperative for packaging materials. We need a program to calculate and fairly distribute the annual bonus (received from preferred suppliers) among our member companies (partners and members). The program should work with a set of predefined tables and data flows, and it must be able to import and export Excel files. Main Tables: Member Companies Company ID Company Name Partner
Forex Signal Indicator 50 - 100 USD
I’m looking for an experienced Forex signal copier/trader who can copy trades from multiple signal groups into my live account during the London and New York trading sessions. I currently have access to 4 different Forex signal groups. The first step will be to analyze and test which group provides the best results and aligns with our trading goals. Once we identify the most effective group, you will copy the signals
Ethereum EA 30 - 35 USD
I am looking for an Expert Advisor (EA) that performs well on Ethereum. Ideally it should be an HFT-style EA; a swing trading EA is acceptable. I require the full MQL5 source code — the EA must be written entirely in MQL5 (no external languages such as Python). Performance target: minimum 70% win rate with a 1:1 risk:reward. Input variables required: - Stop Levels: Stop Loss (SL) and Take Profit (TP) - Trailing stop
i want to create an indicator based on fib levels, the developer must understand how the fib levels work or have experience in forex or stocks also i would like to add two MA for direction of the market. please contact me and i will give more information about the project
The service of an experience EA coder with experience in Indicator trading on Muti Time frame The ea already installed with indicators. It has Telegram Bot message The details of the task involve will be provided after you apply Time Required maximum of 5 days Testing required 15 days (this depend on ea functionality the time can be extended if ea is not working (testing on vps or local laptop) Amount $30 Bonus of $3
Updated EA Description (with Max. Open Trades & MTF MA Filter) Core Features (already existing): Candlestick formation entry logic. Daily minimum drawdown & maximum profit target. ATR-based stop loss and take profit. Trailing stop. Breakeven. New Additions: Relative Strength Index (RSI): Flexible parameters (user can edit period & levels). Used for both entry confirmation and exit options. Stochastic Oscillator

Informações sobre o projeto

Orçamento
10 - 30 USD
Desenvolvedor
9 - 27 USD