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
Job Description We are looking for an experienced MQL5 developer to build a professional Expert Advisor (EA) for MetaTrader 5 based on a detailed quantitative trading model. The EA will trade XAUUSD (Gold) on the M5 timeframe using a Session Breakout + Fibonacci Retracement strategy with advanced institutional-level filters. The system includes volatility filters, liquidity sweep detection, London session
2 FX pairs M15 execution with higher timeframe bias Session-based trading (UK time) Fixed % risk per trade Controlled pyramiding (add to winners only) Strict daily loss limits (FTMO-style) Proper order handling (SL always set) Basic logging (CSV) Strategy logic will be provided in detail after NDA / agreement. Must deliver: Source code (.mq5) Compiled file (.ex5) Clean, well-commented code Short support window for
Hi, are you able to create a script/indicator on tradingview that displays a chart screener and it allows me to input multiple tickers on the rows. then the colums with be like "premarket high, premarket low, previous day high, previous day low" . When each or both of the levels break, there will pop up a circle on the chart screener, signaling to me what names are above both PM high and previous day high or maybe
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
Subject: Development of Ultra-High Precision Confluence Indicator - M1 Binary Options (Non-Repaint) ​ Hello, I am looking for a Senior MQL5 Developer to create a custom "Surgical Precision" indicator for MetaTrader 5, specifically optimized for 1-minute (M1) Binary Options trading. The system must integrate three distinct layers of algorithmic analysis. ​ 1. Core Logic: Triple-Layer Confluence ​The signal (Call/Put)
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
Hi, I need a simple MT5 EA. Based on my simple trading strategy I'm going to discuss with you If you have experience in this kindly bid for this project Thanks

Project information

Budget
30+ USD
Deadline
to 1 day(s)