Specification
//+------------------------------------------------------------------+
//| 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);
}
}
//+------------------------------------------------------------------+
Responded
1
Rating
Projects
207
61%
Arbitration
10
80%
/
0%
Overdue
0
Free
Published: 1 code
2
Rating
Projects
510
23%
Arbitration
60
57%
/
25%
Overdue
60
12%
Loaded
3
Rating
Projects
5
0%
Arbitration
3
0%
/
100%
Overdue
1
20%
Working
4
Rating
Projects
19
16%
Arbitration
3
67%
/
0%
Overdue
0
Free
5
Rating
Projects
2
0%
Arbitration
4
0%
/
100%
Overdue
0
Free
6
Rating
Projects
326
71%
Arbitration
2
100%
/
0%
Overdue
0
Free
Published: 1 code
7
Rating
Projects
186
41%
Arbitration
24
58%
/
21%
Overdue
13
7%
Free
8
Rating
Projects
38
21%
Arbitration
5
0%
/
60%
Overdue
0
Free
9
Rating
Projects
269
29%
Arbitration
1
100%
/
0%
Overdue
3
1%
Working
Published: 2 codes
10
Rating
Projects
46
24%
Arbitration
34
9%
/
85%
Overdue
10
22%
Free
11
Rating
Projects
80
10%
Arbitration
38
8%
/
58%
Overdue
6
8%
Free
12
Rating
Projects
2
100%
Arbitration
1
0%
/
0%
Overdue
0
Free
13
Rating
Projects
2
50%
Arbitration
2
0%
/
100%
Overdue
0
Free
14
Rating
Projects
4
0%
Arbitration
1
0%
/
0%
Overdue
0
Free
Similar orders
דרוש כלי ויזואליזציה נקי ופשוט ל-RR (Risk/Reward); ללא לוחות בקרה או עיצוב מורכבים – נדרש עיצוב נקי ומינימליסטי. נא לשלוח דמו (קובץ ex5) הכולל מנגנון נעילת זמן (timelock); המפתח שייבחר ישלים את העבודה וישלח את הקובץ המלא (mq5). תודה ושלום
(Serious offer) Buying profitable EA Budget up to 1.5k
200 - 1500 USD
Buying profitable EA Budget up to 1.5k (Serious offer) Specification EN I will pay 1.5k (negotiable) for an EA for existing MT4 that generates a minimum of 5% or higher a month consistently no monthly DD more than 5% on ,5k account Please send demo version with optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it in a demo account. Developer should be willing
1- The EA must h ave a unique strategy specialized on make trades with very very low RRR, so basicaly risking 1475$ to make 100$, with an ammount adjustable of trades per day. (This is very important that i wish in 100 trades, it makes a maximum of 10 trades of mistake, maybe less...) 2- The EA must have the strategy specialized on INDEX CFD. 3- The EA must make each trade with more than 3 minutes, and less than 12h
I need an MT4 Expert Advisor (MQL4). 1. Open one Buy and one Sell trade simultaneously. 2. Adjustable lot size (default 0.01). 3. Stop Loss on both trades. 4. If one trade hits Stop Loss: - Do not open a replacement trade. - Leave the remaining trade open. 5. Optional trailing stop: - On/Off switch. - Adjustable distance. 6. When the remaining trade closes: - Open a new Buy and Sell pair. - Repeat continuously
Hi, I Wanne have a trading robot that give me signals for short buy and sell. And only for all currency in forex trading and also can use it on mt5
2500k to 10k for one MT5 Expert Advisor, done properly
5000 - 10000 USD
I will pay 2500 to 10000 USD (negotiable) for one MT5 Expert Advisor, built properly. One robot done right, not a batch of cheap jobs. I have a strategy I believe in and a rough draft robot I built myself. The logic is there. The execution is not. That last part is outside my expertise, which is why I am hiring instead of continuing on my own. I am open to feedback on the strategy itself. If you see something in it
Modification of an existing MQL5 EA TH-05
30 - 300 USD
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
EA LOTS SIZE MODIFICATION !!!
30 - 300 USD
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
Hi, can you define entry conditions based on 100 or 200 trades? If you need more history, i can give you more trades. It is EURUSD with great results! If you can do it, contact me
Wise Legend
30 - 500 USD
I want this robot to alert me on a good entry point on the trading flat form ether to buy or to sell. And also alert me when to close the market. And alert me on market continuations
Project information
Budget
50+ USD