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.
Similar orders
Hello Developers I have a Project to get done! i have a simple strategy can you please create the automated forex ea to execute my trading strategy? i need custom ea for tradingview and mt4/mt5 correction: i need a tradingview indicator created that tells me when to buy or sell. and ea in mt4/mt5
Mam kody EA Bot. Chciałbym je dokończyć, dopracować i ukończyć projekty. Chciałbym otrzymać pliki SET po ukończeniu EA. Jeśli jesteś zainteresowany, skontaktuj się ze mną. Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w
I am looking for an experienced MQL5 developer to create a custom technical indicator for MetaTrader 5. The indicator should combine Supertrend logic with Support/Resistance pullback levels to generate high-probability entry signals. 1. Core Logic The indicator must follow a two-step confirmation process: Trend Identification: Use the Supertrend indicator to determine the primary trend. Entry Signal (The
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
أبحث عن خبير تداول آلي (EA) أرفقتُ فيديو له. يقوم هذا الخبير بوضع أوامر شراء معلقة وبيع معلقة على بُعد 250 نقطة أعلى وأسفل السعر الحالي كل دقيقة، مع تحديد مستوى وقف الخسارة (SL) عند 300 نقطة ومستوى جني الربح (TP) عند 500 نقطة. إذا تم تفعيل أيٍّ من هذين الأمرين خلال الدقيقة، يتم إلغاء الآخر. لا يقوم الخبير بوضع أي أوامر معلقة حتى يتم الوصول إلى مستوى وقف الخسارة أو جني الربح، ثم يضع مجموعة جديدة من الأوامر المعلقة في
Hi All, I am looking for an EA which I have attached the video of. It places a buy stop and sell stop with 250 pips above and below current price for every minute with SL as 300 pips and TP as 500 pips. If any of of them triggers in the minute other will be cancelled, it will not place any pending orders till either of SL or TP is hit and places new set of pending orders the very next minute of SL or TP hit minute
Title: Advanced Manual Hedge EA with Multiplier & Multiple Trade Support Project Requirements: I need a professional Expert Advisor (EA) for XAUUSD and Forex to manage manual trades with the following logic: Lot Multiplier: The EA must automatically detect my manual trade size. There should be a "Multiplier" input (e.g., 3.0). If I open 1.0 lot Buy, the EA must auto-place a 3.0 lot Sell Stop at the set Gap
Need to convert tradingview indicator "Momentum Candle V2 " to MT5. The indicator on mt5 must be the same as on tradingview...same settings and if it's possible the same graphics
📢 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