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
Due to price constraints, I am shifting what I would like. Would you be able to develop part of a strategy that automatically screens and selects stocks for trading? For example, screens for stocks up 20% with 500k volume for the day, and automatically begin trading them according to the strategy I already use. I use NinjaTrader to day trade my Interactive Brokers account and would like to add an automatic
Hello i need some to teach me step my step in an idiot terms and I will be willing to learn more and I am ready to pay for it any amount please if anyone can put me though i will be happy thank look forward to anyone responses
Hi, I hope you’re doing great. I’d like to share the project details. The original EA is already working, but I need you to first review and verify that all existing features are functioning correctly. After confirming everything works properly, the next task is to add a simple user dashboard that shows the number of detected zones, buy/sell/none status, and includes an ON/OFF button. Also, please make sure that
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
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
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
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
Looking for a Proven Non-Repainting Gold Indicator (XAUUSD) – High Accuracy & Ready-Made Solutions Only 📌 Project Description: I am looking for a high-quality, non-repainting indicator specifically for XAUUSD (Gold) that is already developed and tested. ⚠️ Important: I am NOT looking for a new indicator to be built from scratch. I want an existing, proven system that you have already created and are confident in. 🎯
Project Overview ​I am looking for a high-level Algorithmic Trader / Developer to build a sophisticated, fully automated scalping system for the Nasdaq-100 Future (NQ) . The system must integrate institutional order flow logic with market structure analysis. ​The core logic must be written in Python , acting as a central hub that bridges ATAS (as the primary data source for Order Flow) and MetaTrader 5 (as the

Project information

Budget
30+ USD
Deadline
to 1 day(s)