Functions for Trendlines / MAs within an EA

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 2 giorni
Feedback del cliente
well done!
Feedback del dipendente
Thanks

Specifiche

Greeting Experts-Developer! I need some functions for an existing EA based on TrendLine indicator (below).

Please provide following functions for TL-indicator:

double calc_angle(){...} //calculates the "angle" of a TL by dividing (yE-yA)/bars


bool crossed(){...}//calculates, if two TLs are crossed within their length (for example the Question, if a 100 bars long TL and a 20 bars TL are crossing or not)

int crosses(int perio){...}//calculates how often a TL crosses a specific MA (for exemple a 100 bar long TL and eMA with perio 100 with Question: How often TL is crossing the eMA within the 100 bars.)

bool first_crossing_direction(int perio){...}//check, if the first crossing of an EA with the TL is positive or negative

bool last_crossing_direction(int perio){...}//check, if the last crossing of an EA with the TL is positive or negative

You can assume, that you can save the important results/ values within a global structure, which will be calculated for each new bar. Create a strucute, which contents all needed variables. Please remember, the TL-indicator depends from perio, shift,tf, ..., hence your functions also have to depend from these variables.




File:

Con risposta

1
Sviluppatore 1
Valutazioni
(800)
Progetti
1371
72%
Arbitraggio
112
29% / 48%
In ritardo
341
25%
In elaborazione
2
Sviluppatore 2
Valutazioni
(26)
Progetti
45
29%
Arbitraggio
2
0% / 50%
In ritardo
21
47%
Gratuito
3
Sviluppatore 3
Valutazioni
(30)
Progetti
93
49%
Arbitraggio
18
56% / 17%
In ritardo
38
41%
Gratuito
4
Sviluppatore 4
Valutazioni
(264)
Progetti
538
50%
Arbitraggio
55
40% / 36%
In ritardo
224
42%
In elaborazione
5
Sviluppatore 5
Valutazioni
(647)
Progetti
1295
67%
Arbitraggio
84
26% / 49%
In ritardo
338
26%
Gratuito
6
Sviluppatore 6
Valutazioni
(2422)
Progetti
3042
66%
Arbitraggio
77
48% / 14%
In ritardo
340
11%
In elaborazione
7
Sviluppatore 7
Valutazioni
(90)
Progetti
159
61%
Arbitraggio
40
18% / 63%
In ritardo
70
44%
Gratuito
8
Sviluppatore 8
Valutazioni
(13)
Progetti
18
22%
Arbitraggio
4
0% / 25%
In ritardo
5
28%
Gratuito
9
Sviluppatore 9
Valutazioni
(128)
Progetti
206
49%
Arbitraggio
29
28% / 48%
In ritardo
33
16%
Gratuito
10
Sviluppatore 10
Valutazioni
Progetti
0
0%
Arbitraggio
2
0% / 100%
In ritardo
0
Gratuito
11
Sviluppatore 11
Valutazioni
(1)
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(62)
Progetti
140
46%
Arbitraggio
19
42% / 16%
In ritardo
32
23%
Gratuito
13
Sviluppatore 13
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
14
Sviluppatore 14
Valutazioni
(8)
Progetti
9
0%
Arbitraggio
6
0% / 100%
In ritardo
4
44%
Gratuito
Ordini simili
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. Function: To
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5

Informazioni sul progetto

Budget
40 - 100 USD
IVA (19%): 7.6 - 19 USD
Totale: 47.6 - 119 USD
Per lo sviluppatore
36 - 90 USD