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
Hi can you built a automated trading bot for ninja trader platform like sniper auto trader bot if anyone can help me on this i will be happy it is urgent pplease fill free to send me a bid thank
Hi, I am looking for a fully automated trading strategy. The goal is to have this strategu running on MES 24/5. I need this strategy to be profitable, as well as consistent. I need it to be accurate over the long run as it will bge constantly running. I dont have a certain strategy in mind, but I will most likely be starting this strategy on a rather small account (~200$) so it needes to scale contracts and positions
I am currently building a NinjaTrader indicator but i haven't finished building it, i stopped at 70% but it was successfully compiled as at the last time i compiled it I would like you to complete the indicator for me so it can works perfectly how i want it to work if your price won't be too high Kindly check the source code out I have also sent a video discription of how the indicator is supposed to work And also
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 information

Budget
30+ USD
Deadline
to 1 day(s)