Functions for Trendlines / MAs within an EA

MQL4 エキスパート

仕事が完了した

実行時間2 日
依頼者からのフィードバック
well done!
開発者からのフィードバック
Thanks

指定

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.




ファイル:

応答済み

1
開発者 1
評価
(800)
プロジェクト
1371
72%
仲裁
112
29% / 48%
期限切れ
341
25%
仕事中
2
開発者 2
評価
(26)
プロジェクト
45
29%
仲裁
2
0% / 50%
期限切れ
21
47%
3
開発者 3
評価
(30)
プロジェクト
93
49%
仲裁
18
56% / 17%
期限切れ
38
41%
4
開発者 4
評価
(264)
プロジェクト
538
50%
仲裁
55
40% / 36%
期限切れ
224
42%
仕事中
5
開発者 5
評価
(647)
プロジェクト
1295
67%
仲裁
84
26% / 49%
期限切れ
338
26%
6
開発者 6
評価
(2422)
プロジェクト
3042
66%
仲裁
77
48% / 14%
期限切れ
340
11%
仕事中
7
開発者 7
評価
(90)
プロジェクト
159
61%
仲裁
40
18% / 63%
期限切れ
70
44%
8
開発者 8
評価
(13)
プロジェクト
18
22%
仲裁
4
0% / 25%
期限切れ
5
28%
9
開発者 9
評価
(128)
プロジェクト
206
49%
仲裁
29
28% / 48%
期限切れ
33
16%
10
開発者 10
評価
プロジェクト
0
0%
仲裁
2
0% / 100%
期限切れ
0
11
開発者 11
評価
(1)
プロジェクト
0
0%
仲裁
1
0% / 100%
期限切れ
0
12
開発者 12
評価
(62)
プロジェクト
140
46%
仲裁
19
42% / 16%
期限切れ
32
23%
13
開発者 13
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
14
開発者 14
評価
(8)
プロジェクト
9
0%
仲裁
6
0% / 100%
期限切れ
4
44%
類似した注文
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

プロジェクト情報

予算
40 - 100 USD
VAT(付加価値税) (19%): 7.6 - 19 USD
合計: 47.6 - 119 USD
開発者用
36 - 90 USD