Coding of False Break-Out of Trend line indicator

MQL4 Indicateurs C++

Spécifications

  The most information is on two pictures. A 1-minute timeframe is used for quick control of the indicator's functionality (tick data). The job is based on 2 already existing indicators - 1st creates trend lines -  Fractals - adjustable period extended 2 .mq4.  The 2nd indicator - ATR -Average True range, is built in MT4 and defines the conditions for creating a pattern - NOTE, there MUST be used value of the previous, finished candle, not of the current one. 

The “a” & “b” indicate conditions successively with defined values. The "a" is the break-out step and determines the maximum price distance from the line after the break-out. The "b" confirms that it is the false break-out and this value defines the exact opposite distance price from the trend line (0.1 - 10 ATR (5)).

Terms explanation: 

ALINE = Ascending trend line : DLINE = Descending trend line,

B-candle - Breaking candle. FBO = False Break-Out.


Pseudo algorithm:

   THE FBO OF ASCENDENT TREND LINE

1. OPEN B-candle < ALINE , THEN

2. (a) PRICE GETS > ALINE , Max N ATR (5) , THEN

3. (b) PRICE GETS N ATR (5) < ALINE.


    THE FBO OF DESCENDENT TREND LINE

1. OPEN B-candle > DLINE), THEN

2. (a) PRICE GETS < DLINE, Max N ATR (5) , THEN

3. (b) PRICE GETS N ATR (5) > DLINE.

   Since it is possible to repeat the pattern multiple times on 1 line, the length of the line for FBO after breaking is determined by the formula: Length from the beginning of the line + the distance after the 1st Break-out / 2. 

This value is added to the time of 1st break-out of the line. Then the line stops being used.

   Last condition: Patterns are created on unfinished candles in real time. The Close price of a candle can only be used rarely. The correctness check will be on online charts. 


Répondu

1
Développeur 1
Évaluation
(180)
Projets
301
30%
Arbitrage
54
24% / 56%
En retard
98
33%
Gratuit
2
Développeur 2
Évaluation
(11)
Projets
13
23%
Arbitrage
6
0% / 83%
En retard
2
15%
Gratuit
3
Développeur 3
Évaluation
(452)
Projets
565
26%
Arbitrage
24
42% / 38%
En retard
85
15%
Travail
Publié : 6 codes
4
Développeur 4
Évaluation
(297)
Projets
476
40%
Arbitrage
105
40% / 24%
En retard
81
17%
Occupé
Publié : 2 codes
Commandes similaires
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
Early Killer EA 30+ USD
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
Hello, I am looking for a professional programmer to build an EA that can be able to take trades effectively in the correct direction with adequate indices that can help to predict the market move in advance. The EA will also be able to manage multiple trades to ensure that profits activated are closed before any major market reversals. The EA will have a maximum of 3 price indices at the start, and then the
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
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be

Informations sur le projet

Budget
30 - 100 USD
Délais
de 1 à 10 jour(s)