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
195
58%
Arbitration
10
80%
/
0%
Overdue
0
Working
Published: 1 code
2
Rating
Projects
486
24%
Arbitration
59
54%
/
25%
Overdue
55
11%
Busy
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
312
70%
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
262
30%
Arbitration
0
Overdue
3
1%
Free
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
Mk
30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
Tradingview indicator
30+ USD
Hi, Before ordering, I want to verify the quality of your ICT/SMC logic. Do you have an existing indicator or strategy (your own work) that I can test on TradingView? If yes, please provide: 1. A demo (invite-only script or video) 2. Proof it is NON-repainting (explained clearly) 3. Live or replay demonstration (not static screenshots) Specifically I want to see: * Clean swing structure (no consecutive highs/lows) *
Project Overview I am looking for a high-level Algorithmic Trader / Developer to build a sophisticated, fully automated scalping system for the Nasdaq-100 Future (NQ) . The system must integrate institutional order flow logic with market structure analysis. The core logic must be written in Python , acting as a central hub that bridges ATAS (as the primary data source for Order Flow) and MetaTrader 5 (as the
NinjaTrader code fixing
30+ USD
Good morning, I have a Gap Fill strategy and a 10 min opening range break strategy that trade on RTH ES Futures data I have been working on that seem to have some bugs while live trading. They have both been coded by ChatGPT so I would like someone that know how to properly code a strategy to go over each to proof and debug them. Would you be able to do this and could you possibly add some context or features that
Project information
Budget
50+ USD