Pips distance and % Retracement indicator

Job finished

Execution time 11 hours
Feedback from customer
Fabio is an AMAZING developer! Plus he was able to completely SATISFY my needs and in TIME! Higly RECOMMENDED!!!
Feedback from employee
Understandable, smart and very collaborative! Thanks for the interesting project, I hope to work again together!

Specification

Indicator representing the number of pips per each bar that indicates the range amplitude in pips against the last maximum or minimum

The idea of ​​the indicator


First identify max and min values in the bars (eg. You can do that using a zig zag indicator).
The indicator is aimed to understand what is the maximum distance in terms of pips from the last maximum without a sensible retracement.
When the indicator reaches a certain threshold of retracement given as input parameter than it is reset.


From the last maximum point
Per each subsequent bar the indicator represents two graphs (only positive bars):

  • Graph 1: the highest distance in pips of the bar from the previous identified maximum
  • Graph 2: the % of the distance reached by the current bar compared to the total pips of the distance from the maximum and the last minimum

Example:
If the last maximum is 1.23100, subsequent last minimum is 1.20000, current bar maximum point reaches 1.22000 then the indicator represents 2 graphs:

  • A positive bar of length 1.100 (pips) = 1.23100 – 1.22000
  • A percentage of 35,5% = 1.100 / (1.23100 – 1.20000)


Please consider that the Zig Zag indicator should be visibile on the main graph

Reset of the indicator
There is a threshold to be introduced as an input parameter for the indicator that represents the % of reset (to be compared with the graph 2): let’s call it “K”
If (current bar maximum - last minimum) (last maximum – last minumum) = K then the indicator is reset.
In the previous example:
K = 35%
If the last maximum is 1.23100, subsequent last minimum is 1.20000, current bar maximum point reaches 1.22000 then the indicator represents 2 graphs:
A positive bar of length 1.100 (pips) = 1.23100 – 1.22000
A percentage of 35,5% = 1.100 / (1.23100 – 1.20000)
Then the indicator is reset since it reached the threshold of 35%.

If K = 100% then the current bar maximum should reach the last maximum point (1.23100) in order for the indicator to reset.

From the last minimum point
The indicator behaves the same behavior of the maximum but at the opposite (painting only negative bars)


  • Point 1 red is identified as maximum
  • Point 1 green is identified as subsequent minimum
  • From point 1 green and point 2 red: the indicator shows 2 graphs
    • One graph represents bars each one showing the minimum distance from the point 1 red (ie. The current bar maximum – the last maximum)
    • One graph represents the % of minimum distance of the current bar (ie. Max of current bar versus the last macimum) compared to the total range identified from the distance between point 1 green and point 1 red


If the K threshold is set to 40% then the indicator is reset


Configuration panel
The panel should include:
The configuration parameters of the underlying zig zag indicator
The threshold K level to reset the indicator (ranging from 0% - 100%)




Responded

1
Developer 1
Rating
(208)
Projects
297
54%
Arbitration
0
Overdue
1
0%
Free
Published: 6 codes
2
Developer 2
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
3
Developer 3
Rating
(82)
Projects
86
57%
Arbitration
25
0% / 84%
Overdue
19
22%
Free
4
Developer 4
Rating
(549)
Projects
635
33%
Arbitration
41
39% / 46%
Overdue
11
2%
Loaded
5
Developer 5
Rating
(804)
Projects
1124
43%
Arbitration
47
49% / 23%
Overdue
84
7%
Free
6
Developer 6
Rating
(129)
Projects
203
86%
Arbitration
2
0% / 50%
Overdue
8
4%
Working
Similar orders
I need an mql5 EA which can be used with 100$ capital very low drawdown The EA should be high frequency trading special for XAUUSD and btcusd or binary options but also the EA should be testable via strategy tester and demo test for five days is needed NO SELECTION CAN BE DONE WITHOUT TESTING when applying make sure you send the backtester results with demo EA testable via strategy tester
I currently have a powerful and well-structured Expert Advisor available on the MT5 platform. This EA is designed with: ✅ Advanced entry and exit logic ✅ Smart risk management system ✅ Automatic lot sizing option ✅ Break-even and trailing stop protection ✅ Spread and session filters ✅ Drawdown control features ✅ Optimized for XAUUSD and scalping strategies ✅ Suitable for prop firm challenges like FTMO It is built for
Do you need a profitable and well-structured trading strategy converted into a fully automated Expert Advisor on the MT5 platform? I specialize in developing advanced, high-performance EAs with: ✅ Smart entry & exit logic ✅ Risk-based lot size calculation ✅ Break-even & trailing stop system ✅ Spread & session filters ✅ Daily drawdown protection ✅ Prop firm (FTMO-style) risk compliance ✅ Fully automated trade
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I am looking for a highly experienced Pine Script v5 developer to build a professional, non repaint price action indicator for TradingView. or a ready made one so i can purchase. This is a structured two phase project. The goal is to create a clean, intelligent price action tool that works for both fast intraday trading and swing trading. Only apply if you have strong Pine experience and understand liquidity
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for

Project information

Budget
50+ USD
Deadline
to 14 day(s)