Coding of False Break-Out of Trend line indicator

MQL4 Indicators C++

Specification

  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. 


Responded

1
Developer 1
Rating
(180)
Projects
301
30%
Arbitration
54
24% / 56%
Overdue
98
33%
Free
2
Developer 2
Rating
(11)
Projects
13
23%
Arbitration
6
0% / 83%
Overdue
2
15%
Free
3
Developer 3
Rating
(439)
Projects
545
25%
Arbitration
21
38% / 38%
Overdue
83
15%
Free
4
Developer 4
Rating
(252)
Projects
403
38%
Arbitration
83
41% / 19%
Overdue
70
17%
Busy
Similar orders
i Want to convert this Trading View Code to Mt4 Indicator indicator("NEOM Smart Money Concepts ", "NEOM Smart Money Concepts " , overlay = true , max_labels_count = 500 , max_lines_count = 500 , max_boxes_count = 500 , max_bars_back = 500) //-----------------------------------------------------------------------------{ //Constants //-----------------------------------------------------------------------------{ color
Hello Amazing developer am looking for profitable EA for mt4 and made for some past year and i will be looking forward for your bid if you have mt4 EA let Negotiate in the contact box best regards
Hello Amazing developer am looking for profitable EA for mt4 and made for some past year and i will be looking forward for your bid if you have mt4 EA let negotitate in the contact box best regartds
Hi I need a software like Mirror trade copier ( https://www.antonnel.net/mirror/ ) which directly connect to the Accounts over api with out MT4 terminal and copies trades from mater to client. I want the same and possible improvement like can be accessed over a url and dashboard for some basic metrics (optional)
Hello Greetings. I have a custom tradingview strategy I would like to convert to Metatrader 5 ( mt5 ) . I have the source code a and with me. Kindly bid if it is what you can do for me and let discuss about the project. Thanks
Requires experience in mt5 server api development I will provide relevant information about mt5 server api,Contains documentation, dll libraries and examples,Both c++ and c# are available. For more information please contact me
Hello there, I need a mql4 EA based on pine script custom indicator. You need to do pine script indicator convert into mt4 advisor. If you are able to do please contact. Thanks
Can you get my drafts to work? Have to conditions in RSI and Stoch oscillators ,,,I have a draft but its not run,, you can help me? if iRsi <30 ordersend op_sell iStoch > 80 ordersend op_sell Period_15M Send Orders_Buy limit Pivot Price Send Orders_Sell Limit Pivot Price
I recently bought an indicator, that sends out notifications for trades i need to place, on the notification these and SL and TP, so i want an EA that would automate that for me
CGG Bands 60+ USD
I need you to create a mt4 indicator that will work exactly like the Dark Bands indicator. The dark bands indicator is located in the market in codebase and is free

Project information

Budget
30 - 100 USD
For the developer
27 - 90 USD
Deadline
from 1 to 10 day(s)