Coding of False Break-Out of Trend line indicator

MQL4 インディケータ C++

指定

  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. 


応答済み

1
開発者 1
評価
(180)
プロジェクト
301
30%
仲裁
54
24% / 56%
期限切れ
98
33%
2
開発者 2
評価
(11)
プロジェクト
13
23%
仲裁
6
0% / 83%
期限切れ
2
15%
3
開発者 3
評価
(451)
プロジェクト
563
26%
仲裁
24
42% / 38%
期限切れ
85
15%
仕事中
パブリッシュした人: 6 codes
4
開発者 4
評価
(294)
プロジェクト
469
39%
仲裁
102
40% / 24%
期限切れ
77
16%
取り込み中
パブリッシュした人: 2 codes
類似した注文
Need a HFT scalping EA 30 - 100 USD
Require the development of a high-speed HFT, fully automated trading Expert Advisor (EA) for MetaTrader 5 , optimized for live trading on both Deriv and Exness . The EA must be designed for fast execution, low latency, and reliability on real-money accounts , with full compatibility across broker-specific contract specifications, tick sizes, tick values, pricing formats, and volume rules. It should automatically
Here's the TradeStation ELD files that i want to convert to tradingview pine script (unprotected so you can see codes for indicators and systems/strategies) - let me know what you think it would cost? thanks i will be looking for great developer that will bid it for it and get started
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
Project Overview We are seeking an experienced MetaTrader 5 (MT5) / MQL5 developer to design and build a production-ready Expert Advisor intended for live trading with capital at risk . This is not a hobby, experimental, or retail-grade EA. We are only interested in developers with proven experience delivering robust, well-tested MT5 systems . Project Objective Design and implement a high-quality MT5 Expert Advisor
I want developer who know how to create bot which immediately transfer specific crypto coin deposit to one crypto address to another specific address in just a second,, if you know about this then only comment on this post
Hey bro, can you help with NT8. On a vps, multiple algos and prop account but the strategies keep getting out of sync, going from true to false for no reason….. mid trade it pops errors.The algo codes are locked… other than that it’s open VPs, NT8 and strategy is open You will notice in the strategies xml that there are standard, then 100k and 50k versions…… Also I did version that are in strategy labeled "Apex"
Hello Developers, I need ready made MT5 HFT Gold Scalper. Must pass in backtesting lower DD work with minimum $50 if you have ready made scalper than send file for Demo test and than we Final the deal. Thanks

プロジェクト情報

予算
30 - 100 USD
締め切り
最低 1 最高 10 日