Pip distance from moving average indicator

MQL4 Indikatoren

Spezifikation

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)



Dateien:

JPG
Distance.JPG
125.7 Kb

Bewerbungen

1
Entwickler 1
Bewertung
(5)
Projekte
9
0%
Schlichtung
5
20% / 20%
Frist nicht eingehalten
1
11%
Frei
2
Entwickler 2
Bewertung
(117)
Projekte
138
41%
Schlichtung
30
7% / 77%
Frist nicht eingehalten
17
12%
Frei
3
Entwickler 3
Bewertung
(6)
Projekte
8
13%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
4
Entwickler 4
Bewertung
(45)
Projekte
59
14%
Schlichtung
31
26% / 52%
Frist nicht eingehalten
35
59%
Frei
5
Entwickler 5
Bewertung
(23)
Projekte
45
20%
Schlichtung
24
29% / 42%
Frist nicht eingehalten
12
27%
Arbeitet
6
Entwickler 6
Bewertung
(36)
Projekte
45
47%
Schlichtung
5
40% / 60%
Frist nicht eingehalten
9
20%
Frei
7
Entwickler 7
Bewertung
(545)
Projekte
823
73%
Schlichtung
15
53% / 13%
Frist nicht eingehalten
193
23%
Frei
8
Entwickler 8
Bewertung
(135)
Projekte
192
42%
Schlichtung
17
29% / 59%
Frist nicht eingehalten
28
15%
Frei
9
Entwickler 9
Bewertung
(555)
Projekte
922
48%
Schlichtung
300
59% / 25%
Frist nicht eingehalten
123
13%
Frei
Ähnliche Aufträge
Desired Features: Simultaneous opening of buy and sell orders at market price Grid order placement with a user-defined distance in pips between orders Basic trailing stop loss to automatically close positions in loss Gain trailing stop loss to activate and trail stop loss as positions move into profit Customizable input parameters for configuring the strategy Advanced risk management features (optional) Technical
I need an expert to develop a Forex Expert Advisor (EA) for the MetaTrader 4 platform focusing on short-term scalping strategy. This EA should be able to open trades when a new candle opens and close trades when the same candle closes, taking into account the very smallest price variations. Key aspects of the project and requirements from the developer would include: They speak English. No exceptions They write in
Hi! I would like to get an indicator which is make zones for me in mql5, like in this picture from TradingView: It is define the Previous day High and Low on every day, and then, till the price doesn't reach the level and a new day start (it is sometimes not the broker server time), it is draw a "box" or something to the present till the break in time, from high or low to x percent or pip. (these would be the
Hi I need to change the existing indicator in an EA and to replace the same with a new one. Rest all remain the same. EA should work with all the same function, just to change the indicator for trade initialisation. Simple job
are you able to develop a alert system in NT8 based on 8 candlestick patterns? 1. hammer 2. shooting star 3. bullish engulfing 4. bearish engulfing ..if any body is available for this kind do well to bid and let talk more on it
duplicate this indicator in other words // https://www.mql5.com/en/market/product/81778?source=Site +Market+MT5+Search+Rating006%3arsi+divergence Iam having problems with this one, it alerts late, maybe it waits for the zigzag to form , i dont understand im not a developer inputs the same as that one, note for confirmation, use rsi cross 50 level and price reaches prev high hidden and regular divergence
Hello, I'm seeking to develop a custom trade copier for MT5 to MT5 tailored to my specific requirements. I'll share more details via private message. Please only reach out if you already have a ready-made trade copier solution available
Need you to build an lstm indicator that forecasts into the future and the forecast prices are added onto the current one telling me where the price will move next in addition add bayesian filtering in the lstm model making sure that more probable
Can you help me with EMA? for example check this picture pink arrows SO3 worked when reach deviation price I want safety orders not work if the price below ema line so this time buyings are will be more safe
Greetings everyone, Description: 1) The shared indicator, Semaphore, is subject to repainting. To address this issue, we wait for an opposite signal to confirm the trend. It comprises three periods with distinct settings, which I utilize to draw trendlines connecting points A and B. Requirements: 1) Create multiple trendlines as depicted in the provided images. 2) The indicator will align closely with my

Projektdetails

Budget
30+ USD
MwSt (19%): 5.7 USD
Insgesamt: 35.7 USD
Für die Entwickler
27 USD