Zig zag close nrp: fix & count # of bars since last change

MQL4 Indicators

Job finished

Execution time 2 days
Feedback from customer
Coder WWer worked fast and wrote good code. He listened to my requests for some final small changes perfectly. Thank you for a job well done.

Specification

I have an indicator called "zig zag close nrp" in mql4.

2 things need to be done:

1) fix it: sometimes it happens that a rising segment is followed by another rising segment (with different slope). This is not correct: if you look at the zig zag indicator you will see that a rising segment can only be followed by a declining segment and vice versa: so no 2 segments with equal sign of slope can follow each other. If you place my current indicator on the chart and let it sit there for a while (i.e. 1 minute chart) does that sometimes: it doesn't do that right after you drop it on the chart, but only if placed on a live chart and left on there for some time. So this needs to be fixed.

2) This indicator is called zig zag close nrp: this means it's similar to the standard zig zag indicator, but with 2 differences: it is only calculated on close prices and it does not repaint (nrp): this means that it does not draw the last leg in real time, but it also means that once the last leg is actually drawn, it does not change values any more. So it is a causal indicator with a bit of delay.

Now this new indicator needs to count the number of bars since the last update of this indicator: since the last time it had a value: if you look in the data window you see that it only gets a value when 2 segments come together: all other bars this indicator has no value. That should make it easy to count.

 

So first do 1) and then do 2)


Please, don't multuple jobs!   Rosh

Responded

1
Developer 1
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
2
Developer 2
Rating
(71)
Projects
254
53%
Arbitration
16
50% / 38%
Overdue
83
33%
Free
3
Developer 3
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
Similar orders
Hi. This is indicator which is using simple zigzag and a display to entry sl target . tradingview - ABC Finder by Melodicfish indicator. I need it to be turned converted into MT4 . Budget is $40 fixed in two days. There is also a future scope for this project. If everything goes well, I'm going to make it for MT5 And for that price should be $60
Adjust MY Hedging EA 30 - 40 USD
1. Need averaging TP for my hedging EA. (Close both Buy and Sell position with TP) 2. Add function auto/manual entry. (EA will entry based on manual position(placed by trader) or auto trade based on existing setting)
Create an EA zigzag 40 - 80 USD
Zigzag EA sends notify on MT4 mobile app indicator have 2 Conditions all are explained in the pictures accurately and clearly https://drive.google.com/file/d/10Y6SrvC2A7RTT_baAJ7vOKytTDaUvRRQ/view?usp=sharing Warning: Do not send me a notification if your offer is higher than $ 100 because I did the project twice for less than $60 And I want to do the project now because there are mistakes on my part that I want to
Hello developers, Thanks in advance for checking my order. I have been creating and trying to mastering this strategies for a long time and finally it's time to automate it. I’m not sure if everything I imagined can be done. I tried my best to explain whats needed for the ea and how it should performance but due my lack of knowledge in programming probably you will have some questions soo feel free to ask.. Only
I need a trading indicator that will give 1 minute and 5 minute accurate signals for only EURUSD pair. the indicator is to be used for Binary options so it has to perform exceptionally
the idea of the bot is to trade based on trend. we are going to use 5 different sma( smoothed moving average). they are sma7,sma20, sma50, sma100 and sma200. the bot will look for only buy trades when all the smas are facing up. the bot will look for only sell trades when all the smas are facing down. when we are in a up trend, the bot will look to enter trades on bullish candles that create fvg. if there is an fvg
Hello there, all i need is to make an RSI indicator to give alerts when it reaches a certain levels, Level 99.9,98, 4 and 0.1. Kindly bid to this post now if this what you can complete
I need Spike DETECTOR EA for Boom and Crash.. which will send me notification or alerts when spike is near. The EA should also be able be buy on crash Index and sell on Boom Index depending on the market..Demo may be provided for faster execution of my order
Hello , I want Machine Learning: Lorentzian Classification (TradingView) indicator to MQL5 indicator.Which is machine learning indicator . Same To Same. And same inputs in it. I want it As soon As possible
ODSMART EA 30 USD
I want an EA developed from this strategy that will buy and sell based on the appearance of these colours. Blue-buy (Enter when the signal indicator is at zero on the blue background) Red -sell( Enter when the signal indicator is at 100) White and brown, exit trade

Project information

Budget
30 - 60 USD
VAT (21%): 6.3 - 12.6 USD
Total: 36.3 - 72.6 USD
For the developer
27 - 54 USD
Deadline
from 1 to 5 day(s)