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
評価
(2625)
プロジェクト
3334
67%
仲裁
77
48% / 14%
期限切れ
342
10%
仕事中
パブリッシュした人: 1 code
類似した注文
HAJOSKI 30+ USD
BUY ALERT Supertrend turns Bullish Last time xSupertrend was bearish, there is a retracement on BBstops Last time XSupertrend was bearish, Price was < or = to MA1 Instrument is in trend (STEP MA and STEP MA 2 are both Bullish) SELL ALERT Supertrend turns Bearish Last time xSupertrend was bullish, there is a retracement on BBstops Last time XSupertrend was bullish, Price was < or = to MA1 STEP MA1 and STEP MA 2 are
I want a order block indicator mt5 which will give signals alerts.. Bearish order block blue bullish red .. with highs and lows reversal........ it should give arrows or dots for entry or something... and exit level... I show what I need in the picture
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Indicator 30 - 300 USD
Hi guys looking for a reversal indicator that places signals in chart have a look at image attached but it's just for reference I'll be happy to hear new ideas and options. Signals must he placed at candle close amd not repaint. Since I'm offering a high budget and bringing a strategy is involved in the order I want everything to run smoothly in these steps 1. Send screenahots of it 2. I'll give you feedback what to
🔹 COMPLETE DEVELOPMENT ASSIGNMENT Institutional Volume & Structure Indicator Platform: MT5 (preferred) OR TradingView (Pine Script v5) Type: Indicator only (NO EA, NO auto trading) Purpose: Institutional analysis for manual trading & manual backtesting 1. GENERAL REQUIREMENTS Indicator only (no orders, no strategy execution) No repainting Auto update + auto remove logic Clean, modular, performance-safe code User
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i
Two EAs 30 - 100 USD
Hello, I will need one indicator in Tradingview converted to a strategy in MT5. The indicator is called ...Multi Kernel Regression [ChartPrime] Indicator. If the indicator says "BUY" then the EA buys, if the indicator says "SELL" then the EA sells. I will need another one that is a strategy in Tradingview converted to a strategy in MT5. "UT Bot Strategy". Two in total. Lets talk
I have build the trade copier for ninja trader as indicator. I need someone to fix the issue i am having or create new one similar to replicanto. here are my issue.. ### 1. Opposing Positions Across Multiple Accounts A counter trade violation occurs when you hold opposite directional positions (Buy vs. Sell) in the same symbol or product across different accounts. * *Example from your report:* In Violation #8
Hello. I am finding an experienced python developer who can implement my trading strategies into robots. I like trend-following swing trading strategies and am going to automate my idea. More details can be discussed by chatting. If you have similar working experience it can be a plus. Thanks

プロジェクト情報

予算
10 - 30 USD