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

MQL4 Indicadores

Trabajo finalizado

Plazo de ejecución 2 días
Comentario del Cliente
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.

Tarea técnica

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

Han respondido

1
Desarrollador 1
Evaluación
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(71)
Proyectos
254
53%
Arbitraje
16
50% / 38%
Caducado
83
33%
Libre
3
Desarrollador 3
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
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
Crpyto Indicators 75 - 100 USD
2 Indicators: One for BTC/USD and one for ETH/USD Create indicators which plot the MVRV of Bitcoin and Ethereum as a line, standardized by a Z Score Essentially Zscore = ( MC - MCRealized ) / STD ( MC(number of bars ) Indicators should work on the daily timeframe at a minimum, and smaller ones if possible. Indicators should be able to work with future data as well, meaning it can download what's necessary to then
Hi there Here is a video of the logic: its based on market structure and swings using validated highs and lows based on candle closure. Just in case you would like to take a look at the code/indicator here is the link: https://youtu.be/igj0OaQoM7o?si=7nigL8OU2Nt1Zxkx Let me know if you can help
I am looking for a professional developer to help me with creating a hedge grid bot. The concept is in the picture. The bot is quite simple. The bot basically opens buy and sell positions on each grid and self terminates when the upper limit (manually set is reached) 1. Set timer for new's releases (manual entry) 2. Slippage in pip's (manual entry) 3. Maximum drawdown in USD with self termination when entry
I need alerts for 2 kinds of triangles (contracting & expanding) and 2 kinds of channels (up & dn) before that you should be able to put trendlines to any buffered (usually 0 & 1) zigzag indicators the method of drawing trendline is different i can show them with the pictures
Nt8 30+ USD
I trade in NT8 and would like to code an Elliott wave measurment tool, which is very easy because I have the major Script for that.We need only to add some aspects into it. If you are interested,if you can do this do well to bid on it
Hi I am looking for converting an indicator from MT4 to Mt5 It is Tom De Mark sequential This code is based off of the Tom DeMark TD Sequential Indicator. Basic criteria is as follows: | | TD Setup | TD Countdown | |------------------ |---------------------------------------------------- |---------------------------------------------------|

Información sobre el proyecto

Presupuesto
30 - 60 USD
IVA (21%): 6.3 - 12.6 USD
Total: 36.3 - 72.6 USD
Para el ejecutor
27 - 54 USD
Plazo límite de ejecución
de 1 a 5 día(s)