A non-repaint support and resistance indicator.

MQL5 Indicators C++ C#

Specification

The best last three possible support and resistance levels on a chart


1. Determine the primary trend using Simple Moving Average (SMA):

   a. Calculate a 50-day SMA for the price data.

   b. Calculate a 200-day SMA for the price data.

   c. If the 50-day SMA is above the 200-day SMA, set the primary trend as bullish.

   d. If the 50-day SMA is below the 200-day SMA, set the primary trend as bearish.


2. Identify swing highs and lows using the ZigZag indicator:

   a. Apply the ZigZag indicator to the price data with a deviation setting of 5%.

   b. Store the swing high and low points identified by the ZigZag indicator as potential support and resistance levels.


3. Apply Fibonacci retracement levels:

   a. Calculate Fibonacci retracement levels (38.2%, 50%, and 61.8%) between the most recent significant high and low points identified by the ZigZag indicator.

   b. Add these levels to the list of potential support and resistance levels.


4. Analyze horizontal price levels using a Support/Resistance indicator:

   a. Apply a Support/Resistance indicator to the price data (e.g., Pivot Points or Horizontal Lines).

   b. Identify significant horizontal price levels that have acted as support or resistance in the past.

   c. Add these levels to the list of potential support and resistance levels.


5. Apply the Relative Strength Index (RSI) indicator:

   a. Calculate the 14-day RSI for the price data.

   b. Use the RSI levels of 30 (oversold) and 70 (overbought) as additional confluence factors for support and resistance levels.


6. Check for confluence:

   a. For each potential support and resistance level, determine if it has multiple technical indicators and price action analysis converging at that level.

   b. Assign a score to each level based on the number of confluence factors present (e.g., Fibonacci levels, horizontal price levels, and RSI levels).


7. Rank the levels:

   a. Sort the list of potential support and resistance levels based on their assigned scores, with the highest scores representing the most significant levels.


8. Select the best three levels:

   a. Extract the top three support levels and the top three resistance levels from the ranked list.

   b. Return these levels as the best last three possible support and resistance levels on the chart.



Responded

1
Developer 1
Rating
(8)
Projects
11
0%
Arbitration
11
18% / 73%
Overdue
2
18%
Free
2
Developer 2
Rating
(144)
Projects
186
41%
Arbitration
24
58% / 21%
Overdue
13
7%
Free
Similar orders
📢 Project Title:MT5 Expert Advisor (EA) – Advanced Renko Strategy (Full Automation) 📄 Project Description:I want to develop a fully automated MT5 Expert Advisor (EA) based on my existing TradingView Renko strategy.I already have a working Pine Script that generates Buy/Sell alerts with ATR and other logic. Now I need the same strategy to be fully converted into MT5 EA with built-in Renko logic (no external
Technical Specifications: "Dawn Range Breakout" Expert Advisor (Final Version) 1. Overview The purpose of this EA is to capture the breakout of a specific hourly range on Gold (XAUUSD) or any other pair, with a focus on high-precision entry, strict risk management (1 trade per day), and partial profit taking. 2. Core Trading Logic Timeframe: M15. Reference Hour: The EA must identify the High and Low of the H1 candle
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be
Ninjatrdaer Script 500 - 1000 USD
I am looking to purchase a ninjatrader script, if there is any for sale, i mean a ready made ninjatrdaer script that trade futures, i need the seller to show me a backtest of the system, you know send some results, I would like to see a 1 year and YTD backtest
I will like to purchase tradingview strategy with high winning rate, i mean already made, tested and trusted and powerful strategy, i have tried to code my own strategy with lot of freelancers but nothing to me i am just wasting money, i have wasted lot of money already, so i need a high winning rate tradingview strategy, we can discuss price in chat, I will need to see some test result as well
I need a MetaTrader 5 Expert Advisor for XAUUSD. Trend Filter : Trade only in the direction of the main trend. Patterns (Buy) : Hammer, Inverted Hammer, Doji, Bullish Harami, Bullish Engulfing + Green confirmation candle close above high. Patterns (Sell) : Shooting Star, Doji, Bearish Harami, Bearish Engulfing + Red confirmation candle close below low. Entry Rule : Wait for one Pullback candle (Red for Buy, Green for
I need any highly profitable MT5 robot which trades any sythetic indices on deriv very profitably. It should have good risk management and any good strategy The EA should have good risk management and can trade small accounts like 50 - 100USD Developers who have already made robots have higher chance
Mk 30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
Simple MA indicator with buy and sell arrow with a push notification. Conditions for buy or sell should be when price breaks above or below the MA and then retraced back to the MA creating a HH/HL or LH/LL then the buy/sell signal arrow should be at the reversal candle that forms the HL/HH. And on indicator window1 RSI cross over MA and the RSI line
Hi, I hope you doing Greate, Let me share details , so the original EA already working but you can check and verify everything fine.First you verify that all original EA features are working correctly then add a user dashboard showing the number of detected zones, buy sell both none status, and an on off button. also ensure mitigated zones disappear properly and that trades follow the zone rules, and integrate the

Project information

Budget
30+ USD
Deadline
to 1 day(s)