Specifiche
// === INPUT PARAMETERS ===
input int FastMA = 9; // Fast moving average for trend
input int SlowMA = 21; // Slow moving average for trend
input double Risk = 1.0; // Risk percentage per trade
input int ATRPeriod = 14; // ATR period for dynamic SL/TP
input double ATRMultiplier = 1.5; // Multiplier for ATR-based SL/TP
input int RSI_Period = 14; // RSI period
input int RSI_Overbought = 70;
input int RSI_Oversold = 30;
input int MACD_Fast = 12, MACD_Slow = 26, MACD_Signal = 9; // MACD settings
// === STRUCTURE DETECTION ===
double HighPrev, LowPrev, HighCurrent, LowCurrent;
bool BreakOfStructure;
// === FAIR VALUE GAP DETECTION ===
bool FairValueGapFound(double high1, double low1, double high2, double low2) {
return (low2 > high1); // FVG occurs when the second candle's low is above the first candle's high
}
// === ORDER BLOCK DETECTION ===
bool IsOrderBlock(double open1, double close1, double open2, double close2) {
return (close1 < open1 && close2 > open2); // Bullish order block: Strong rejection from a bearish candle
}
// === MAIN FUNCTION ===
void OnTick() {
// Get latest candle data
HighPrev = iHigh(Symbol(), PERIOD_M15, 1);
LowPrev = iLow(Symbol(), PERIOD_M15, 1);
HighCurrent = iHigh(Symbol(), PERIOD_M15, 0);
LowCurrent = iLow(Symbol(), PERIOD_M15, 0);
// === CHECK FOR BREAK OF STRUCTURE (BOS) ===
BreakOfStructure = (HighCurrent > HighPrev || LowCurrent < LowPrev);
// === CHECK FOR FAIR VALUE GAP (FVG) ===
bool FVG = FairValueGapFound(HighPrev, LowPrev, HighCurrent, LowCurrent);
// === CHECK FOR ORDER BLOCKS ===
bool OrderBlock = IsOrderBlock(iOpen(Symbol(), PERIOD_M15, 1), iClose(Symbol(), PERIOD_M15, 1),
iOpen(Symbol(), PERIOD_M15, 0), iClose(Symbol(), PERIOD_M15, 0));
// === TREND FILTER USING MOVING AVERAGES ===
double maFast = iMA(Symbol(), PERIOD_M15, FastMA, 0, MODE_SMA, PRICE_CLOSE, 0);
double maSlow = iMA(Symbol(), PERIOD_M15, SlowMA, 0, MODE_SMA, PRICE_CLOSE, 0);
bool Uptrend = (maFast > maSlow);
bool Downtrend = (maFast < maSlow);
// === RSI FILTER ===
double RSI_Value = iRSI(Symbol(), PERIOD_M15, RSI_Period, PRICE_CLOSE, 0);
bool RSI_Buy = (RSI_Value < RSI_Oversold);
bool RSI_Sell = (RSI_Value > RSI_Overbought);
// === MACD FILTER ===
double macdMain, macdSignal, macdHist;
iMACD(Symbol(), PERIOD_M15, MACD_Fast, MACD_Slow, MACD_Signal, PRICE_CLOSE, macdMain, macdSignal, macdHist);
bool MACD_Buy = (macdMain > macdSignal);
bool MACD_Sell = (macdMain < macdSignal);
// === ATR for DYNAMIC SL/TP ===
double ATR_Value = iATR(Symbol(), PERIOD_M15, ATRPeriod, 0);
double DynamicSL = ATRMultiplier * ATR_Value;
double DynamicTP = 4 * DynamicSL; // 1:4 Risk-Reward
// === TRADE CONDITIONS ===
if (BreakOfStructure && FVG && OrderBlock && Uptrend && RSI_Buy && MACD_Buy && OrdersTotal() == 0) {
// Buy Setup
double lotSize = 0.1;
double entryPrice = Ask;
double stopLoss = entryPrice - DynamicSL;
double takeProfit1 = entryPrice + (DynamicTP * 0.5); // 50% TP
double takeProfit2 = entryPrice + (DynamicTP); // 100% TP
// Place Buy Order
int orderTicket = OrderSend(Symbol(), OP_BUY, lotSize, entryPrice, 10, stopLoss, takeProfit2, "BUY Order", 0, 0, clrBlue);
// Set Partial TP
if (orderTicket > 0) {
Sleep(5000); // Wait before modifying order
OrderModify(orderTicket, entryPrice, stopLoss, takeProfit1, 0, clrBlue);
}
}
if (BreakOfStructure && FVG && OrderBlock && Downtrend && RSI_Sell && MACD_Sell && OrdersTotal() == 0) {
// Sell Setup
double lotSize = 0.1;
double entryPrice = Bid;
double stopLoss = entryPrice + DynamicSL;
double takeProfit1 = entryPrice - (DynamicTP * 0.5); // 50% TP
double takeProfit2 = entryPrice - (DynamicTP); // 100% TP
// Place Sell Order
int orderTicket = OrderSend(Symbol(), OP_SELL, lotSize, entryPrice, 10, stopLoss, takeProfit2, "SELL Order", 0, 0, clrRed);
// Set Partial TP
if (orderTicket > 0) {
Sleep(5000);
OrderModify(orderTicket, entryPrice, stopLoss, takeProfit1, 0, clrRed);
}
}
}
Con risposta
1
Valutazioni
Progetti
324
30%
Arbitraggio
34
26%
/
65%
In ritardo
10
3%
In elaborazione
2
Valutazioni
Progetti
38
21%
Arbitraggio
5
0%
/
60%
In ritardo
0
Gratuito
3
Valutazioni
Progetti
34
53%
Arbitraggio
1
100%
/
0%
In ritardo
1
3%
Gratuito
4
Valutazioni
Progetti
21
14%
Arbitraggio
8
38%
/
38%
In ritardo
3
14%
Caricato
5
Valutazioni
Progetti
513
19%
Arbitraggio
34
44%
/
32%
In ritardo
34
7%
Caricato
6
Valutazioni
Progetti
20
40%
Arbitraggio
1
0%
/
100%
In ritardo
1
5%
Gratuito
7
Valutazioni
Progetti
90
29%
Arbitraggio
24
13%
/
58%
In ritardo
7
8%
In elaborazione
8
Valutazioni
Progetti
26
73%
Arbitraggio
1
0%
/
100%
In ritardo
0
Gratuito
9
Valutazioni
Progetti
35
20%
Arbitraggio
5
40%
/
40%
In ritardo
0
Gratuito
Pubblicati: 1 codice
10
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
11
Valutazioni
Progetti
3
0%
Arbitraggio
8
13%
/
88%
In ritardo
1
33%
Gratuito
12
Valutazioni
Progetti
691
33%
Arbitraggio
43
44%
/
44%
In ritardo
12
2%
Caricato
13
Valutazioni
Progetti
5
0%
Arbitraggio
4
25%
/
75%
In ritardo
2
40%
Gratuito
14
Valutazioni
Progetti
259
21%
Arbitraggio
22
50%
/
18%
In ritardo
0
In elaborazione
15
Valutazioni
Progetti
1
0%
Arbitraggio
5
0%
/
100%
In ritardo
0
Gratuito
16
Valutazioni
Progetti
289
35%
Arbitraggio
18
22%
/
61%
In ritardo
43
15%
Gratuito
17
Valutazioni
Progetti
244
74%
Arbitraggio
7
100%
/
0%
In ritardo
1
0%
Gratuito
Pubblicati: 1 articolo
18
Valutazioni
Progetti
91
13%
Arbitraggio
34
26%
/
59%
In ritardo
37
41%
Gratuito
19
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
20
Valutazioni
Progetti
8
0%
Arbitraggio
4
0%
/
100%
In ritardo
3
38%
Gratuito
21
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
22
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
23
Valutazioni
Progetti
945
47%
Arbitraggio
309
58%
/
27%
In ritardo
125
13%
Gratuito
Ordini simili
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
Simple bot for opening range
30+ USD
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
Professional AI Automation Trading Bot for Forex & Crypto
500 - 1500 USD
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
Risk Reward Ratio Indicator
30 - 200 USD
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
Robots in C++ (cAlgo trading platform)
5000+ USD
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🏆
30 - 200 USD
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
Informazioni sul progetto
Budget
30 - 200 USD