An expert advisor based off of 2 custom MAs

Tarea técnica

I have two custom MA's, trying to get a code written so when the two MA's cross each other it enters in for a trade. then when it crosses back I would like to have it close the opened position and open a new one in the opposite direction. 

heres the moving averages on a chart, https://www .tradingview.com/chart/fImnYUvK/

you can also see the MA settings in the top left of that link. those settings are what make this strategy work for me.

i have no idea how to convert the trading view indicator settings to mql4 code. that's where you come in:)

if any more questions don't hesitate to ask I can explain way better on a call  

Han respondido

1
Desarrollador 1
Evaluación
(1304)
Proyectos
1732
49%
Arbitraje
54
69% / 15%
Caducado
38
2%
Trabaja
2
Desarrollador 2
Evaluación
(34)
Proyectos
60
23%
Arbitraje
11
73% / 9%
Caducado
3
5%
Libre
3
Desarrollador 3
Evaluación
(30)
Proyectos
35
26%
Arbitraje
0
Caducado
4
11%
Libre
4
Desarrollador 4
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(169)
Proyectos
204
30%
Arbitraje
25
40% / 44%
Caducado
12
6%
Libre
6
Desarrollador 6
Evaluación
(258)
Proyectos
265
29%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
7
Desarrollador 7
Evaluación
(454)
Proyectos
718
34%
Arbitraje
34
71% / 9%
Caducado
22
3%
Libre
8
Desarrollador 8
Evaluación
(23)
Proyectos
23
57%
Arbitraje
2
50% / 0%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(43)
Proyectos
49
29%
Arbitraje
4
25% / 25%
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(43)
Proyectos
66
12%
Arbitraje
12
58% / 42%
Caducado
1
2%
Libre
11
Desarrollador 11
Evaluación
(317)
Proyectos
564
35%
Arbitraje
81
31% / 44%
Caducado
204
36%
Libre
12
Desarrollador 12
Evaluación
(57)
Proyectos
72
22%
Arbitraje
13
46% / 15%
Caducado
5
7%
Libre
13
Desarrollador 13
Evaluación
(162)
Proyectos
289
35%
Arbitraje
18
22% / 61%
Caducado
43
15%
Libre
14
Desarrollador 14
Evaluación
(8)
Proyectos
16
0%
Arbitraje
8
13% / 75%
Caducado
3
19%
Libre
15
Desarrollador 15
Evaluación
(93)
Proyectos
133
35%
Arbitraje
13
38% / 31%
Caducado
32
24%
Libre
16
Desarrollador 16
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(589)
Proyectos
1069
50%
Arbitraje
39
28% / 41%
Caducado
49
5%
Libre
Ha publicado: 1 artículo, 8 ejemplos
18
Desarrollador 18
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(135)
Proyectos
163
40%
Arbitraje
11
27% / 73%
Caducado
24
15%
Libre
20
Desarrollador 20
Evaluación
(2325)
Proyectos
2928
63%
Arbitraje
124
44% / 26%
Caducado
429
15%
Trabaja
21
Desarrollador 21
Evaluación
(512)
Proyectos
551
53%
Arbitraje
13
69% / 15%
Caducado
3
1%
Libre
22
Desarrollador 22
Evaluación
(174)
Proyectos
199
12%
Arbitraje
39
36% / 33%
Caducado
5
3%
Trabaja
Ha publicado: 2 ejemplos
23
Desarrollador 23
Evaluación
(119)
Proyectos
169
38%
Arbitraje
9
78% / 22%
Caducado
15
9%
Libre
24
Desarrollador 24
Evaluación
(45)
Proyectos
91
13%
Arbitraje
34
26% / 59%
Caducado
37
41%
Libre
25
Desarrollador 25
Evaluación
(3)
Proyectos
4
0%
Arbitraje
1
100% / 0%
Caducado
0
Libre
26
Desarrollador 26
Evaluación
(87)
Proyectos
114
26%
Arbitraje
7
29% / 57%
Caducado
5
4%
Libre
27
Desarrollador 27
Evaluación
(564)
Proyectos
844
73%
Arbitraje
15
53% / 13%
Caducado
193
23%
Trabaja
28
Desarrollador 28
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
29
Desarrollador 29
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
Solicitudes similares
Noganda EA 30+ USD
*MQL5 Bot: “HH_HL_Simple.mq5”* Copy → Paste → Compile in MetaEditor. //+------------------------------------------------------------------+ //| HH_HL_Simple.mq5 | //| WARNING: FOR EDUCATION/DEMO ONLY. YOU CAN LOSE MONEY. | //| @kasii_trader_nela - Learn first, trade later | //+------------------------------------------------------------------+ #property copyright "Educational use only" #property strict #include
I need a simple bot for opening range. Simple Entry / Exit rules, to be able to customize the timeframe, time zone (entry candle) and other normal settings like size, etc
Nyctrad1 30+ USD
Free link free land free land free land free land free free land free land free things free land free land free land free land free land free land free land free Finch I will do it
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
BullyMax Pro 30+ USD
"Act as an expert MQL5 algorithmic trading developer. I want you to create a profitable and efficient Expert Advisor for MetaTrader 5. Do not write the code yet; read the following trading rules, analyze them, and ask me any clarifying questions if needed. Timeframe: [e.g.15 minutes Chart] Entry Logic: [e.g.MACD + RSI + REVERSAL PRICE ACTION. Enter buy when Macd line crosses above the signal line ,RSI above 30 and
I want an indicator that displays the risk reward ratio of each chart candle as a sub window histogram. If the candle closes above the open the histogram displays a green bar above zero the size of which is dependant on the size of the RRR. If the candle closes below the open the histogram displays a red bar below zero the size of which is dependant on the size of the RRR. My attempt that does not work is attached
Hi, I am looking for an experienced MQL5 developer to modify an existing, fully functional MetaTrader 5 Expert Advisor (Source code .mq5 Version 2.62 will be provided). Brief Overview of the EA: It executes trades based on 4 custom Supply/Demand levels (R1, R2, S1, S2) which are inputted manually . It uses two custom indicators for confirmation: SPA (Price Action filter) and AMG (Volume/Momentum filter). The code
I really like this platform. I am interested in trading and need funds for it. I enjoy both crypto and forex trading.I"really appreciate this platform. I am keen on trading and am looking for trading funds. I enjoy trading in both cryptocurrency and forex."
Titan Quantum Algo Engine V2 is an advanced MT5 Expert Advisor designed to identify high-probability market opportunities using trend analysis, breakout detection, and intelligent risk management. The EA automatically executes trades, manages stop-loss and take-profit levels, and helps traders maintain disciplined trading with optimized entry and exit strategies
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick

Información sobre el proyecto

Presupuesto
30 - 100 USD