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.
Ordini simili
Busco programador profesional con experiencia demostrable en MQL5 para crear un Expert Advisor en MetaTrader 5 basado en Price Action , con lógica jerárquica, reglas objetivas y gestión de zonas dinámicas. La estrategia esta explicada en un documento Word de 30 páginas (con imágenes) explicado en español. Características del EA: Operaciones Buy, Sell, Buy Limit y Sell Limit (máx. 2 operaciones pendientes simultáneas
I want a modification on my ea . A spread filter or slipage filter such that when the market price is less than 50 point away from the pend order , then ea check the spread if less than the set filter spread. If spread is more than the set spread, the ea will delete the pend order . Secondly , if the broker price is moved or sliped the pending order from the original price it was set by the tolerable slipage distance
I want this indicator on my mt5 account and mt4 account because I want use this brilliant reversal indicator on my Android device each an every time when I enter on my mt5 account
1. Objective Create an MT5 automation script (or set of scripts) that fully automates my strategy optimization workflow, including: • Batch optimization runs • Automatic filtering of results • Automatic forward testing • Exporting and organizing results into structured files/folders The goal is to reduce manual work and allow one‑click execution of the entire pipeline. 2. Platform & Environment • MetaTrader 5 •
Would it be possible to connect Futures prop firm with Rithmic or Tradeovate platform to Ninjatrader automated trading ? If anyone can do this for me I will be happy to get started with the person right away
hello great developer I want to modify my NT8 indicator to change its arrow printing logic so that arrows appear on the first candled dot, not after the series. no repaint and no back painting. all in real time. This will help me get timely signals. Scope of work - Modify NT8 indicator logic to print arrows on the first candled dot. - Ensure arrow print matches 90%+ accuracy compared to the current functionality. -
I have a open source Tradingview indicator that I want it to be converted to Ninja Trader8. I have attached it. Please let me know, if you can do it and for how muc
I need help in modifying an amibroker AFL indicator the indicator already works but I need per symbol static variable isolation, parameters persistence per symbol after restart, non declining trailing stop logic, parameter auto restore when switching symbols and a global reset function for static variables. For better understanding As discussed, this is the official offer for restructuring my RAD Chandelier stop loss
Hi, I have a clear MT5 EA wrapper project with locked TSCEA, requiring enhanced execution logic (“pending OR better market” order handling). I can share detailed spec. Please let me know your availability and quote range. Thanks, Tom Pike ------------------------------------------------------------------------------------------------------------------------------ Title: MT5 Wrapper EA – “Limit Order OR Better
🔥 ICT_OneTrade_2R Precision. Discipline. Consistency. ICT_OneTrade_2R is a professional Expert Advisor designed for traders who value structured execution and controlled risk. This system is built around a fixed Risk-to-Reward ratio of 1:2 (RR 2.0) — meaning every trade is planned with precision: Risk 1 → Target 2. No randomness. No overtrading. Just one high-quality trade per session. ⚙️ Key Features ✔ Fixed RR 1:2