Pip distance from moving average indicator

MQL4 Indicadores

Termos de Referência

Hello,


I need an indicator that draws two lines (or dots) on the chart, one above and one under the last price and moving average crossing.

Parameters:

- usual Moving average parameters(Period, Method, Apply to)

- numbers of candles we analize backwards (PARAM1)

- numbers of maximum distances to average (PARAM2)

- color for 2 lines


The distance of the lines from the last closed calndle will be calculated as follows:

1.) go back PARAM1 candles and calculate all maximal price distances for long and short (closing price above and under the moving average) from the moving average. A distance is defined as the maximal candle closing distance between the price and moving average between two price and moving average crosses. Please take a look at the attached prictures. The blue triangles show the price and moving average crossings. The white lines are the maximal distances between those crossings.

2.) Calcualte the average of the highest distances given by PARAM2

3.) draw a line above and one under the last price and moving average crossing for each following candle until the price and moving average crosses

4.) calculate and draw again, if the price crosses the moving average


Example:

Step 1.) we go back 1000(PARAM1) candles and analize the maximul distances and we get this distances:

- 10 pips

- 20 pips

- 30 pips

- 40 pips

- 50 pips

2.) if PARAM2 = 3, we take the 3 highest distance and build the simple average : (30 + 40 + 50) / 3 = 40


3.) Draw the two lines ( can be also dots like Parabolic SAR)



Arquivos anexados:

JPG
Distance.JPG
125.7 Kb

Respondido

1
Desenvolvedor 1
Classificação
(5)
Projetos
9
0%
Arbitragem
5
20% / 20%
Expirado
1
11%
Livre
2
Desenvolvedor 2
Classificação
(117)
Projetos
138
41%
Arbitragem
30
7% / 77%
Expirado
17
12%
Livre
3
Desenvolvedor 3
Classificação
(6)
Projetos
8
13%
Arbitragem
1
0% / 100%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(45)
Projetos
59
14%
Arbitragem
31
26% / 52%
Expirado
35
59%
Livre
5
Desenvolvedor 5
Classificação
(23)
Projetos
45
20%
Arbitragem
24
29% / 42%
Expirado
12
27%
Trabalhando
6
Desenvolvedor 6
Classificação
(36)
Projetos
45
47%
Arbitragem
5
40% / 60%
Expirado
9
20%
Livre
7
Desenvolvedor 7
Classificação
(546)
Projetos
823
73%
Arbitragem
15
53% / 13%
Expirado
193
23%
Trabalhando
8
Desenvolvedor 8
Classificação
(135)
Projetos
192
42%
Arbitragem
17
29% / 59%
Expirado
28
15%
Livre
9
Desenvolvedor 9
Classificação
(555)
Projetos
922
48%
Arbitragem
300
59% / 25%
Expirado
123
13%
Carregado
Pedidos semelhantes
I have pinescript indicator i want to convert to metatrader indicator, if you are with the knowledge of the platform programming language and can made the conversion possible kindly bid for the job
Hello, I am a trader and I have a certain strategy I want to code to an automated EA , so I am seeking for an experienced developer to code a custom trading strategy into an Expert Advisor (EA) for MetaTrader 4 (MT4). The strategy is based on a meticulously backtested algorithm and requires precise execution in live market conditions. If you have the skills and experience to undertake this project, please reach out
I need my mq4 script to be modified and made for mql5, i need statistics added and a protection in the form of licence to be added. ALSO i need the licence to work with metatrade id number
I have an EA that is based on an indicator and I need to fix and upgrade the EA a bit, The EA is based on a technical indicator of the mql5 store and the original indicator has been updated, therefore the EA is stuck
Hello, i am looking for developer who can create custom price alert indicator or EA for MT5. Basically either or is fine, prefered indicator if possible. The function of alerts in MT5 is fine but it does not allow setting custom sounds for specific charts with ease. For example, one can attach custom sound to new price alert, but if you use a lot of alerts daily (which i do) and want to have each ticker/pair to have
I need a indicator that will be based on RSI combined with MACD and algorithm, when I plug the indicator it must be able to give me signal of buy or sell and entry point and take profit 1 2 3 and stop loss if is a buy it must be blue arrow if is a sellthe arrow must be red
Hello i need a Pinescript indicator for Tradingview, please read in attached the requirements apply only if you can work with my budget and you have knowledge of pinescript (ex. you have already work with pinescript) the indicator to be able to predict D point Based on XABC Points, some times it will fails and it will be cancelled
If auto trading disabled and trades closed (like to avoid news), then when auto trading enabled, EA needs to start trading again right away, but it doesn't. If the terminal is restarted with active EA, the EA should pick up where it left off, not make new trades because terminal restart. EA has terminal GVs. If EA is re initialized with same set file it overwrites the GVs, it should not overwrite the GV values, but
I need assistance setting up both manual and automated trading strategies. I want the flexibility to add multiple strategies in the same order as needed. Additionally, I need any profits made to automatically convert to USDT (Tether) rather than remaining in the same coin. The setup should be compatible for both PC and mobile use, and across platforms including Binance, Bybit, Bitget, Gate.io, and TradingView. If you
I want to convert my tradingview indicator to MT4. I need a developer who can get it completed under the course of 24-48hrs. And I need some who is more experience at this level and possibly if you have experience with NinjaTrader too, we can collaborate and work on it as well

Informações sobre o projeto

Orçamento
30+ USD
IVA (19%): 5.7 USD
Total: 35.7 USD
Desenvolvedor
27 USD