MA/Price path projection custom indicator

MQL4 Indicadores

Termos de Referência

Description:

Custom indicator to project future path of MA and path of price either side of MA using average change in MA and average height of price above or below MA from previous crosses of price over MA.


Settings:

  • Candles to sample

  • Ma settings

  • Projected ma line colour

  • Projected price line colour

  • Turning point colour

  • Turning point range e.g 10th percentile to 90th percentile.


Data collections:

  • Upside range:

    • According to how many candles to sample, record the largest number of consecutive candle closes above MA. Take this number + 1. This is the upside range top

  • Downside range:

    • According to how many candles to sample, record the largest number of consecutive candle closes below MA. Take this number + 1. This is the downside range top


  • Average price:

    • Upside and downside sets are separate sets of data recording the difference in price above or below the MA.

    • All data recorded for each candle in each set is ordered from smallest to largest.

  • Upside Set - Price

  1. Candle opens below MA and closes above MA. This is candle 1 and its height above MA is recorded.

  2. Next candle closes above MA. This is candle 2 and it's height above MA is recorded. This repeats candle 3,4,5 etc.

  3. Candle opens above MA and closes below MA. This is the last candle in the upside set and is recorded as 0 above MA in the upside set. It is also the start of the downside set.

  4. If this upside set does not reach the same number of entries as the upside range top, all remaining candles from the last candle of this set to the upside range top are recorded as zero.

  • Downside Set - Price

  1. Candle opens above MA and closes below MA. This is candle 1 and its height below MA is recorded.

  2. Next candle closes below MA. This is candle 2 and it's height below MA is recorded. This repeats candle 3,4,5 etc.

  3. Candle opens below MA and closes above MA. This is the last candle in the downside set and is recorded as 0 below MA in the downside set. It is also the start of the upside set.

  4. If this downside set does not reach the same number of entries as the downside range top, all remaining candles from the last candle of this set to the downside range top are recorded as zero.


  • Average MA:

    • MA Upside and MA downside sets are separate sets of data recording the change in price of the MA from the point where price crosses it.

    • All data recorded for each candle in each set is ordered from smallest to largest.

  • Upside Set - MA

  1. Candle opens below MA and closes above MA. This is the starting point in the MA upside set.

  2. Next candle closes above MA. This is point 2 and the change in price from the starting point of the MA to its current price is recorded. This repeats candle 3,4,5 etc.

  3. Candle opens above MA and closes below MA. This is the last candle in the MA upside set and the change in price from the starting point to current price of the MA is recorded. It is also the start of the MA downside set.

  • Upside Set - MA

  1. Candle opens below MA and closes above MA. This is the starting point in the MA upside set.

  2. Next candle closes above MA. This is point 2 and the change in price from the starting point of the MA to its current price is recorded. This repeats candle 3,4,5 etc.

  3. Candle opens above MA and closes below MA. This is the last candle in the MA upside set and the change in price from the starting point to current price of the MA is recorded. It is also the start of the MA downside set.

  4. If this downside set does not reach the same number of entries as the downside range top, all remaining candles from the last candle of this set to the downside range top are recorded as zero.


Indicator:

  • Upside MA:

  1. Candle closes above MA

  2. Compare the change in price of the the MA from this point to the previous point. If current point is starting point, then wait until next.

  3. Compare change in price of MA for current candle number to corresponding previous candle's change in MA data. Find what percentile the current candle falls into in comparison to previous data for this number candle.

  4. Average this new percentile score with previous percentile scores for this upside MA. If this is the first score then no need to average.

  5. Take final averaged score and select the result with the same score for each future candle until the last candle recorded has a 0.

  6. Finally plot each of these selected points ahead of the current candle. Draw a line between each point to create curve.

  • Upside price:

  1. Candle closes above MA.

  2. Take price from MA to current candle close and compare with corresponding candle's data. Find what percentile it falls into in comparison to previous data for this number candle.

  3. Average this new percentile score with previous percentile scores for this upside price. If this is the first score then no need to average.

  4. Take final averaged score and select the result with the same score for each future candle until the last candle recorded has a 0.

  5. Finally, plot each of these selected points ahead of the current candle. The number describes the height above the MA and is where it should be plotted. It should be calculated from the projected MA.


  • Carry out same steps for both downside


Turning point:

  • Mark where the projected price curve changes from positive/negative incline to the opposite.

  • Draw line starting with 10th percentile turning point and through each percentile to 90th percentile turning point.


Display:

  • Show which MA percentile currently displayed

  • Show which price percentile currently displayed.


Respondido

1
Desenvolvedor 1
Classificação
(233)
Projetos
413
34%
Arbitragem
52
37% / 40%
Expirado
152
37%
Carregado
2
Desenvolvedor 2
Classificação
(204)
Projetos
280
34%
Arbitragem
34
32% / 29%
Expirado
75
27%
Trabalhando
Pedidos semelhantes
Hello, Looking for Multipair and Multi-timeframe scanner indicator based on Zigzag. It's going to be a simple indicator based on Higher high and Lower Low Formation. I want for both platform for MT4/5. It should have alert features as well have to scan from custom pairs, marketwatch also able to use custom timeframe. I'll share zigzag formation to the right candidate when it should gives an alert. And if you are not
Hello, I purchased a TradingView script that works very well, but it doesn’t have any alerts. All I need are alerts programmed so I don’t have to sit behind the chart watching it all the time
Hi! Are you able to code an exact copy of an indicator for trading view? It must be exactly the same. if you are expert in doing this I am expecting your message in the comment session to share you with the indicator I want to duplicate. Looking forward to your positive response and the opportunity to collaborate with you on this project
Hello developers I hope this message finds you well. I am currently seeking a highly skilled developer for an important project. I need an exact copy of a TradingView indicator to be coded for the MetaTrader 4/5 platform. The indicator must be replicated with absolute precision, maintaining all its functionalities and features. Would you be able to take on this project? If so, I would appreciate discussing the
Hello Developers, I am looking for a highly skilled and experienced developer to code an exact copy of a specific indicator for TradingView. The indicator must be replicated with precise accuracy, maintaining all functionalities and features of the original. Requirements: Proficiency in Pine Script and experience with TradingView indicators. Demonstrated ability to replicate complex indicators with exact
MODIFICATION OF AND EXISTING EXPERT BY ADDING INDICATORS TO FUNCTION AS FILTERS, TRADE CLOSURE BY THE REVERSAL OF THE adx INDICATOR, LOOKING FOR TRADE BASED ON THE COLOR OF THE PERCENTAGE CHANGE INDICATOR (DPC) SELLING THE COLR IS RED AND DECREASING IN PERCENTAGE AND BUYING WHEN THE COLOR IS GREEN AND INCREASING IN PERCENTAGE . There is an EA I have been using which I splitted into long trading and short trading. It
I'm looking for very simple scanner dashboard based on Zigzag and I'm going to share more details to the right candidate. I want show some kinds of Signal when pattern match and when click from Dashboard it's opened new tab with chart and show that pattern. It should be use custom timeframe, Scan custom pair as well scan from Market Watch. Dashboard must be Responsive or adjust with any screen. It's based on Very
Looking for someone who can convert 130 Lines of Pinescript code to MT4/5 And I want extra input for scanning from Marketwatch and Custom Pairs. More details for the right candidate. And if you are high demand freelancer, please don't apply to this project. We're looking for someone who are individual and keep working with us. Thank you
i am looking for experienced programmer to create indicator for me. i am willing to pay for the service. and if it works amazingly like i expected. i will tip more money
I recently bought an indicator, that sends out notifications for trades i need to place, on the notification these and SL and TP, so i want an EA that would automate that for me

Informações sobre o projeto

Orçamento
50+ USD
Desenvolvedor
45 USD
Prazo
para 3 dias