Spécifications
//+------------------------------------------------------------------+
//| SimpleEA.mq4 |
//| Generated by MetaEditor |
//+------------------------------------------------------------------+
#property strict
// Input parameters
input double LotSize = 0.1; // Lot size
input int MovingAveragePeriod = 50; // MA period
// Global variables
double maCurrent;
double maPrevious;
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
// Initialization of variables
maCurrent = 0;
maPrevious = 0;
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
// Cleanup code here
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
// Calculate current and previous MA
maCurrent = iMA(NULL, 0, MovingAveragePeriod, 0, MODE_SMA, PRICE_CLOSE, 0);
maPrevious = iMA(NULL, 0, MovingAveragePeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
// Check for buy signal
if (maPrevious < Close[1] && maCurrent > Close[0])
{
// Open buy order
OrderSend(Symbol(), OP_BUY, LotSize, Ask, 2, 0, 0, "Buy Order", 0, 0, Blue);
}
// Check for sell signal
if (maPrevious > Close[1] && maCurrent < Close[0])
{
// Open sell order
OrderSend(Symbol(), OP_SELL, LotSize, Bid, 2, 0, 0, "Sell Order", 0, 0, Red);
}
}
//+------------------------------------------------------------------+
Répondu
1
Évaluation
Projets
120
39%
Arbitrage
9
89%
/
0%
En retard
0
Travail
2
Évaluation
Projets
398
21%
Arbitrage
44
61%
/
23%
En retard
46
12%
Travail
3
Évaluation
Projets
5
0%
Arbitrage
1
0%
/
0%
En retard
1
20%
Travail
4
Évaluation
Projets
18
17%
Arbitrage
3
67%
/
0%
En retard
0
Gratuit
5
Évaluation
Projets
2
0%
Arbitrage
3
0%
/
67%
En retard
0
Travail
6
Évaluation
Projets
191
75%
Arbitrage
2
100%
/
0%
En retard
0
Gratuit
7
Évaluation
Projets
163
42%
Arbitrage
20
60%
/
20%
En retard
9
6%
Travail
8
Évaluation
Projets
19
11%
Arbitrage
1
0%
/
100%
En retard
0
Gratuit
9
Évaluation
Projets
209
28%
Arbitrage
0
En retard
3
1%
Gratuit
10
Évaluation
Projets
40
25%
Arbitrage
23
13%
/
74%
En retard
8
20%
Travail
11
Évaluation
Projets
80
10%
Arbitrage
36
8%
/
53%
En retard
6
8%
Travail
12
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
13
Évaluation
Projets
2
50%
Arbitrage
1
0%
/
100%
En retard
0
Gratuit
14
Évaluation
Projets
3
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Lucy spontenious trade
50+ USD
dreams good and have a great Cash out from your smart phone , tuyoywuiy glamorous flood see full idk idk slow so dolls stupid sis workouts who's spark koalas oral waits also doggo idk
Shanton's Smart Money Concept
30 - 200 USD
I have thee best concept period, hence i got less to say. Actions speaks louder then words. Sign up and lets get started as there is a big world that awaits all your your adventures
NRTR - indicator for MetaTrader 5 NRTR (Nick Rypock Trailing Reverse) - indicator for MetaTrader 4 NRTR WATR - indicator for MetaTrader 4 NRTR GATOR - indicator for MetaTrader 5 X2MA NRTR - indicator for MetaTrader 5 NRTR - indicator for MetaTrader 5 NRTR GATOR - indicator for MetaTrader 4 NRTR - indicator for MetaTrader 4 Stalin_NRTR - indicator for MetaTrader 5 NRTR Color Line - indicator for MetaTrader 5 NRTR Rosh
Martingale Strategy EA
50 - 300 USD
Dear , I hope this message finds you well. I would like to request the development of a trading robot (Expert Advisor) that incorporates the following strategies and features: Strategy Requirements: 1. Martingale Strategy: The robot should include a Martingale system to increase trade sizes after losses in order to recover losses and generate profit. 2. Trend-Following: It should also be able to detect and follow
COETZEE EA BOT
30 - 100 USD
Hello I am looking for an EA developer that can create for me a bot that trades prop firms accounts and makes at least $500 a day from a $50,000 account balance. This EA should have SL on every trade as mandatory. I do not have any EMAs strategies but I am willing to accept any strategy the developer has to deploy as long as it produces 0.5% a day and is not HFT
Convert mt4 indicator to EA for tradelocker
60 - 75 USD
I need a programmer for converting a MetaTrader indicator into ea for TradeLocker. Additionally, I would like to have a new EA built in TradeLocker that mirrors the logic of the original MetaTrader, including the specific rules and conditions I need. Please contact me only if you have prior experience converting scripts from MetaTrader to TradeLocker
Convert Pivot mq4 to Sierra Chart
50 - 100 USD
Requirement: 1. Convert Pivot source code .mq4 to Sierra Chart mq4 source code is provided .mq4 as attached .mq4 2. upon conversion to add a button code on Sierra chart .cpp to allow display/hide the pivot line in Sierra Chart ---- *no need alert, make it light without any alert, just a button to display/hide pivot line will do :) to continue, pivot font text also no need I"ve mark with red cross to remove see
Goodtrade Expert Advisor
30+ USD
A green point should be added at the Low point of candlesticks in the oversold zone—it is the L point. If there is at least one L point between two H points, search for a LL point in the interval between two H points. The candlestick with the lowest Low price will be the LL point. Generally, the LL point is not necessarily an L point. Search for candlesticks with the lowest Low price. If there is at least one H point
QuantumTrader
30 - 200 USD
Request for development of machine learning robots for MetaTrader 5 (MT5) **Description**: Willing to develop experience in programming trading robots using MQL5 language and can learn machine learning on MetaTrader 5 (MT5) platform. The robot should be able to implement a multidisciplinary strategy on a set of technical indicators and multiple rules. I need to develop the robots so that they can work in an
The goal is to develop a system that mirrors trade actions (Buy/Sell) from a CTrader demo account on Cronos Markets to multiple prop firm accounts on TradeLocker, ensuring accurate replication of trades while adjusting risk proportionally. I was wondering if you could help me with copy trading an EA’s action on Cronos markets (uses CTrader) into a prop firm account that I bought with TooOne Trader (uses TradeLocker
Informations sur le projet
Budget
50+ USD
Pour le développeur
45
USD