Functions for Trendlines / MAs within an EA

MQL4 Experten

Auftrag beendet

Ausführungszeit 2 Tage
Bewertung des Kunden
well done!
Bewertung des Entwicklers
Thanks

Spezifikation

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.




Dateien:

Bewerbungen

1
Entwickler 1
Bewertung
(807)
Projekte
1382
72%
Schlichtung
113
29% / 48%
Frist nicht eingehalten
343
25%
Beschäftigt
2
Entwickler 2
Bewertung
(26)
Projekte
45
29%
Schlichtung
2
0% / 50%
Frist nicht eingehalten
21
47%
Frei
3
Entwickler 3
Bewertung
(30)
Projekte
93
49%
Schlichtung
18
56% / 17%
Frist nicht eingehalten
38
41%
Frei
4
Entwickler 4
Bewertung
(266)
Projekte
540
50%
Schlichtung
55
40% / 36%
Frist nicht eingehalten
224
41%
Arbeitet
5
Entwickler 5
Bewertung
(647)
Projekte
1295
67%
Schlichtung
84
26% / 49%
Frist nicht eingehalten
338
26%
Frei
6
Entwickler 6
Bewertung
(2441)
Projekte
3076
66%
Schlichtung
77
48% / 14%
Frist nicht eingehalten
340
11%
Frei
7
Entwickler 7
Bewertung
(90)
Projekte
159
61%
Schlichtung
40
18% / 63%
Frist nicht eingehalten
70
44%
Frei
8
Entwickler 8
Bewertung
(13)
Projekte
18
22%
Schlichtung
4
0% / 25%
Frist nicht eingehalten
5
28%
Frei
9
Entwickler 9
Bewertung
(128)
Projekte
206
49%
Schlichtung
29
28% / 48%
Frist nicht eingehalten
33
16%
Frei
10
Entwickler 10
Bewertung
Projekte
0
0%
Schlichtung
2
0% / 100%
Frist nicht eingehalten
0
Frei
11
Entwickler 11
Bewertung
(1)
Projekte
0
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
12
Entwickler 12
Bewertung
(62)
Projekte
140
46%
Schlichtung
19
42% / 16%
Frist nicht eingehalten
32
23%
Frei
13
Entwickler 13
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
14
Entwickler 14
Bewertung
(8)
Projekte
9
0%
Schlichtung
6
0% / 100%
Frist nicht eingehalten
4
44%
Frei
Ähnliche Aufträge
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money

Projektdetails

Budget
40 - 100 USD
MwSt (19%): 7.6 - 19 USD
Insgesamt: 47.6 - 119 USD
Für die Entwickler
36 - 90 USD