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
(124)
Projects
158
42%
Arbitration
20
60% / 20%
Overdue
8
5%
Free
Similar orders
hi. I hv a strategy on tradingview need to convert to mt4/mt5 expert advisor for algo trading. would like to add some tradingview strategy setting to the mt4/mt5 EA(not included in my tradingview source code): recalculate after order is filled, order size: xx% of equity
Hi, i will provide a dll .use it's functions develop a backend code copy trading .it should a master accounts and slave accounts based of the mapping with the copy parametsrs it should start copy trades between the master and slave .one slave should be able to copy from Mutiple master and some basic fronted access to be created using the angular js
see trade open on every tick seconde ok forex pair us us30 if is current running at 40170.00 so open 2 trade buy stop and sell stop both in every tick pending order of buy stop will 40171.00 and sell stop pending order will be 40169.00 buy stop will open at 40171.00 and tp will be 40173.00 and SL will be 40169.50 ok if buy stop hit sell stop order automatically will be close now if sell stop order open at 40169.00 so
I want to make something automatic which EMA will automatically trade in my account. For this I want to make a simple robot I want to get this made automatically on a simple EMA
Dear All, I need to design and implement an EA with the involvement of a possible AI. I would like the entries to be realized with all MACD, RSI, Stoch parameters but also Ai. I mainly want the system to immediately close the transaction itself at the time of trend reversal even before reaching the TP position. It should work for intervals M15, H1, H4 and maybe long-term on D1 Platform for MT5 and exclusive only
Saya memerlukan Expert Advisor berdasarkan sinyal AOX. Itu harus memiliki pemeriksaan dan penanganan kesalahan operasi perdagangan. Kriteria utama pembukaan dan posisi penutupan: ■ arah rata-rata bergerak ■ harga lebih tinggi dari bar sebelumnya. Lot perdagangan adalah parameter masukan
Cross-Platform Trading App with Automated Robo Trading in Mobile for Android, iOS and Harmony (Huawei) I'm on the hunt for a skilled app developer, capable of creating a cross-platform application with sophisticated charting functionality, focusing on 3 types of technical charting analyisis, 1. Fibonacci extensions/retracement 2. Fair Value Gap 3. Change of Character (CHoCH) . Being a trading application, it needs to
Skarito98 30 - 100 USD
Always stay winning and survive....we all want a better life now this is a chance someone can take,to change their lives for the better.No one is supposed to suffer in this world,we create and invert new things and come up with ideas to solve situations we come across especially when it comes to finance. We all need better things in life and God want good things for us
Hello great developer i need a great developer that can help me to do the modification on Ninjatrader https://forum.ninjatrader.com/forum/ninjatrader-7/general-development/44785-real-time-data-feed-from-excel-sheet Need a simple tool to connect rt data from excel to Ninjatrader- Already a free tool available which extracts data from trading software called- Nest Trader - to Ninjatrader- Its possible to modify it to
"I am looking to automate my Delta Divergence trading strategy for NinjaTrader 8. The strategy is thoroughly detailed in the accompanying script, and I need it to be implemented effectively in the platform."

Project information

Budget
30+ USD
For the developer
27 USD
Deadline
to 1 day(s)