Support and Resistance Based on Fractals

MQL5 インディケータ

仕事が完了した

実行時間58 日

指定

Inputs

  1. Number of bars to the left of fractal
  2. Number of bars to the right of fractal
  3. Number of bars we look back from the current bar (e.g., 30)
  4. Number of most recent up (or down) fractals we consider (e.g., 3) within the look-back period (from input 3) to form a valid level
  5. Option to either consider last consecutive fractals OR simply all fractals meeting criteria (within the look-back period for both)
  6. Fractals' distance from each other in order to form a valid level; it can be set as a fixed percentage, value, pips or dynamically calculated based on another indicator being a coefficient times current ATR or StdDev (e.g., within 1/3*ATR from each other)
  7. Draw level at either last fractal’s value or candle’s high (or low) associated with last fractal
  8. Terminate level after x bars
  9. Too far criteria for termination of drawn level (fixed distance, percentage, pips or coefficient*ATR or StdDev) with an option to turn it ON/OFF
  10. Indicators’ settings (different settings can be used for input 6 and 9)
  11. Anything else that is useful (suggestions are welcome)

Criteria for Finite Support or Resistance

A support or resistance level should be finite when any of the following conditions are met:

  • A new support or resistance level forms, meeting the updated criteria
  • Finite/terminate level after x bar
  • Price moved significantly far away from the level. Far being either a fixed value, pips, percentage difference or a coefficient*(ATR or StdDev) from the level, indicators value associated when price was last time at the level’s value. Example: price is currently at 78, valid level is at 74, we look at the indicators’ value when price was last time at 74 and not current levels because in fast-moving markets, indicators' values increase.

This is mainly implemented to keep the levels relevant.

Example Inputs

Assume we have the following settings:

  • Bars to the left of fractal: 2
  • Bars to the right of fractal: 2
  • Look-back period (bars): 30
  • Recent fractals count: 3
  • Consecutive mode
  • Distance between fractals: Fixed at 0.05%
  • Draw from last fractal value
  • Terminate level after 20 bars
  • Terminate if prices are 4*ATR or more far from drawn level
  • Default settings
  • ...

With these settings, in the last 30 bars, if the last 3 (so consecutive) or more down fractals (using 2 bars left, 2 bars right) have no more than a 0.05% difference from each other, a resistance line is drawn at the last fractal value. If either a new resistance is formed OR 20 bars passed OR price moved 4ATR from the level, we stop drawing the resistance for the future while letting the level visible for the whole period it was valid.

Purpose

This will be used in various Expert Advisors to detect potential turning points in the market (trade breakouts, failed breakout, etc.).

Quality

The indicator needs to be reliable, robust and non-repainting.


Note

The x-bar fractals indicator is provided to you for ease of programming.

I'm open to any suggestions or ideas to improve the indicator.

応答済み

1
開発者 1
評価
(45)
プロジェクト
62
23%
仲裁
10
20% / 30%
期限切れ
6
10%
仕事中
2
開発者 2
評価
(42)
プロジェクト
55
33%
仲裁
0
期限切れ
0
仕事中
3
開発者 3
評価
(382)
プロジェクト
540
53%
仲裁
26
54% / 23%
期限切れ
6
1%
取り込み中
4
開発者 4
評価
(12)
プロジェクト
14
21%
仲裁
1
100% / 0%
期限切れ
1
7%
5
開発者 5
評価
(528)
プロジェクト
603
33%
仲裁
33
39% / 45%
期限切れ
9
1%
多忙
6
開発者 6
評価
(69)
プロジェクト
214
71%
仲裁
6
83% / 0%
期限切れ
1
0%
仕事中
7
開発者 7
評価
(42)
プロジェクト
88
14%
仲裁
34
26% / 56%
期限切れ
36
41%
取り込み中
8
開発者 8
評価
(431)
プロジェクト
545
38%
仲裁
93
41% / 29%
期限切れ
14
3%
仕事中
9
開発者 9
評価
(19)
プロジェクト
20
25%
仲裁
10
20% / 10%
期限切れ
3
15%
多忙
10
開発者 10
評価
(69)
プロジェクト
146
34%
仲裁
11
9% / 55%
期限切れ
26
18%
類似した注文
Seeking an experienced Python developer with expertise in MetaTrader 5 (MT5) to work on financial trading projects. Scope of work - Develop and optimize financial trading algorithms using Python. - Integrate and tailor solutions specifically for MetaTrader 5 platform. Additional information you can read over this API for more documentation. I will provide you the actual credentials later
Hello, The days of hiring people to trade on my prop firm accounts are gone for good, fail after fail, nobody can really manage it.. and between, it's also against the terms. So, I think that hiring somone instead to build an ea that can pass/trade on my prop firms account are a much better solution. So that is what this job is about. I need you to give me or build a super-duper safe ea (bot) that can pass and/or
Hello Great Developer i need to modify my existing tradingview Add it to your TradingView and look at the DIA 1W chart. You should get a yellow down arrow (imperfect3x) on 11/4/2024 but it should actually be on 10/28/2024. Also, the 3D should have a white down arrow on 12/10/2024 (perfect3x) Ignore: Also, the 3D should have a white down arrow on 12/10/2024 (perfect3x) This is the problem I'm seeing: Add 3x.txt to
I have a pine script that I am running on TradingView. I have used the crosstrade software to automatically take the trades on my ninjatrader. The execution delay is making things super difficult. Also, the strategy is taking multiple positions when it hits the entry price twice on the same bar. I’d like to have only one position open each time it hits the entry price on one bar. Can anyone convert my pinescript into
Hello, I would like the source code for this indicator, BW MACD signal, or to program one like it. I searched for the source code but couldn't find it. Thank you
Hi all, I would like to have tradingview(pinescript) MACD converted to MT4(MQL4). The main purpose is to have 2 colours for each direction of the bar like in TradingView. 1 light green, 1 dark green and 1 light red, 1 dark red kind regards
I have an MQL5 EA of about 2.5k lines, consisting of about 10 filters (e.g. price above / below RSI on a higher time frame), some simple trade management / trailing rules and an entry logic. There are about 10 issues in the script where different parts of the EA aren't working, I am looking for an experienced developer to help. More details via PM
I am interested in purchasing a passed prop firm account that is fully verified and ready for investment. If you have an account available and are looking for a serious buyer, please feel free to reach out with the details. Only genuine and serious inquiries will be considered. Thank you
Overview Looking for a Skilled and Proved Developer to create a Custom Indicator and an Expert Advisor (EA), The Code for the Custom Indicator should be inside the Code EA. Symbols traded are Forex, Commodities, Indices, Crypto and Stock CFD’s. My strategy is centered around MACD Histogram creating Support and Resistance Levels + Candlestick Patterns + Price Action + Risk Management. EA will incorporate two
Seeking a skilled PineScript expert for long-term collaboration on TradingView projects. Please let me know your questions and budget. Collaborate on varied PineScript tasks for TradingView -Participate in continuous projects as part of a long-term collaboration. I will send a video link to what my request based on

プロジェクト情報

予算
30 - 115 USD
開発者用
27 - 103.5 USD
締め切り
最低 7 最高 14 日