指定
//+------------------------------------------------------------------+
//| 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);
}
}
//+------------------------------------------------------------------+
応答済み
1
評価
プロジェクト
207
61%
仲裁
10
80%
/
0%
期限切れ
0
暇
パブリッシュした人: 1 code
2
評価
プロジェクト
510
23%
仲裁
60
57%
/
25%
期限切れ
60
12%
取り込み中
3
評価
プロジェクト
5
0%
仲裁
3
0%
/
100%
期限切れ
1
20%
仕事中
4
評価
プロジェクト
19
16%
仲裁
3
67%
/
0%
期限切れ
0
暇
5
評価
プロジェクト
2
0%
仲裁
4
0%
/
100%
期限切れ
0
暇
6
評価
プロジェクト
326
71%
仲裁
2
100%
/
0%
期限切れ
0
暇
パブリッシュした人: 1 code
7
評価
プロジェクト
186
41%
仲裁
24
58%
/
21%
期限切れ
13
7%
暇
8
評価
プロジェクト
38
21%
仲裁
5
0%
/
60%
期限切れ
0
暇
9
評価
プロジェクト
269
29%
仲裁
1
100%
/
0%
期限切れ
3
1%
仕事中
パブリッシュした人: 2 codes
10
評価
プロジェクト
46
24%
仲裁
34
9%
/
85%
期限切れ
10
22%
暇
11
評価
プロジェクト
80
10%
仲裁
38
8%
/
58%
期限切れ
6
8%
暇
12
評価
プロジェクト
2
100%
仲裁
1
0%
/
0%
期限切れ
0
暇
13
評価
プロジェクト
2
50%
仲裁
2
0%
/
100%
期限切れ
0
暇
14
評価
プロジェクト
4
0%
仲裁
1
0%
/
0%
期限切れ
0
暇
類似した注文
Looking for a developer in NinjaTrader For coding Inst - ES,NQ Chart type - Tick, range, volume & time Brief- Fib levels mapped on chart which act as entries, tgts and stops all based on candle close. (Maybe) use MACD for filtering direction. Daily manual input of the TWO fib Anchor levels is part of the strategy. I need a well experienced developer to bid and before biding check the attached file well. the PDF and
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
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
The Ultimate Trading Bot
30+ USD
take your time better make it for days and have good bot than never benefits both of us. Make the bot have zero errors and backtest it for a 2 year period
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
I have an existing MT5 Expert Advisor with the original MQ5 source code. I need an experienced MQL5 developer to review, debug and professionally improve the existing EA, not build an unrelated EA from scratch. The EA is mainly for XAUUSD and already contains entry signals, EMA filters, automatic lot sizing, basket profit management, spread/margin protection, news filtering and recovery logic. The main problem is the
I buy EA for USDEUR or XAUUSD for FTMO with proven backtest. Send me images with backtest reports where daily max dd is 1% on 200k account. I can buy several eas if you have them with proofs. Need images of backtesting for 5 years
Cerco uno sviluppatore MQL5 esperto per lavorare su un Expert Advisor (EA) XAUUSD per MetaTrader 5 già esistente , versione attuale XAU_V59.mq5 . L'obiettivo è modificare, correggere e sviluppare il codice esistente senza stravolgere la logica già presente , mantenendo le regole ei parametri già definiti, salvo le modifiche espressamente richieste. REQUISITI FONDAMENTALI Il codice deve essere scritto in MQL5 nativo e
プロジェクト情報
予算
50+ USD