指定
#property copyright "Amanda V"
#property version "1.01"
#property indicator_chart_window
#property indicator_buffers 0
#property indicator_plots 0
input int InpSwingLookback = 30; // Swing Lookback Period
input double InpMinWickPct = 30.0; // Min Rejection Wick %
input color InpBullColor = clrAqua; // Bullish Sweep Color
input color InpBearColor = clrMagenta; // Bearish Sweep Color
string prefix = "SMC_LIQ_";
int OnInit() {
Print("SMC Liquidity Detector Optimized.");
return(INIT_SUCCEEDED);
}
void OnDeinit(const int reason) {
ObjectsDeleteAll(0, prefix);
}
int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[],
const double &open[], const double &high[], const double &low[],
const double &close[], const long &tick_volume[], const long &volume[],
const int &spread[])
{
if(rates_total < InpSwingLookback + 5) return(0);
// OPTIMIZATION: Calculate only the new closed bars to prevent CPU freezing
int limit = prev_calculated - 1;
if(prev_calculated == 0) limit = InpSwingLookback;
for(int i = limit; i < rates_total - 1; i++) {
int max_idx = ArrayMaximum(high, i - InpSwingLookback, InpSwingLookback);
int min_idx = ArrayMinimum(low, i - InpSwingLookback, InpSwingLookback);
if(max_idx < 0 || min_idx < 0) continue;
double prev_high = high[max_idx];
double prev_low = low[min_idx];
double total_size = high[i] - low[i];
if(total_size <= 0) continue;
// Bullish Sweep (Price went below prev low and closed above it)
if(low[i] < prev_low && close[i] > prev_low) {
double lower_wick = MathMin(open[i], close[i]) - low[i];
if((lower_wick / total_size) * 100.0 >= InpMinWickPct) {
DrawSweep(time[i], low[i], true);
}
}
// Bearish Sweep (Price went above prev high and closed below it)
if(high[i] > prev_high && close[i] < prev_high) {
double upper_wick = high[i] - MathMax(open[i], close[i]);
if((upper_wick / total_size) * 100.0 >= InpMinWickPct) {
DrawSweep(time[i], high[i], false);
}
}
}
return(rates_total);
}
void DrawSweep(datetime t, double p, bool bull) {
string name = prefix + (bull ? "B_" : "S_") + TimeToString(t);
if(ObjectFind(0, name) < 0) {
ObjectCreate(0, name, OBJ_ARROW, 0, t, p);
ObjectSetInteger(0, name, OBJPROP_ARROWCODE, bull ? 241 : 242);
ObjectSetInteger(0, name, OBJPROP_COLOR, bull ? InpBullColor : InpBearColor);
ObjectSetInteger(0, name, OBJPROP_WIDTH, 2);
// Anchor added for better visibility
ObjectSetInteger(0, name, OBJPROP_ANCHOR, bull ? ANCHOR_TOP : ANCHOR_BOTTOM);
}
}
//+------------------------------------------------------------------+
#property version "1.01"
#property indicator_chart_window
#property indicator_buffers 0
#property indicator_plots 0
input int InpSwingLookback = 30; // Swing Lookback Period
input double InpMinWickPct = 30.0; // Min Rejection Wick %
input color InpBullColor = clrAqua; // Bullish Sweep Color
input color InpBearColor = clrMagenta; // Bearish Sweep Color
string prefix = "SMC_LIQ_";
int OnInit() {
Print("SMC Liquidity Detector Optimized.");
return(INIT_SUCCEEDED);
}
void OnDeinit(const int reason) {
ObjectsDeleteAll(0, prefix);
}
int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[],
const double &open[], const double &high[], const double &low[],
const double &close[], const long &tick_volume[], const long &volume[],
const int &spread[])
{
if(rates_total < InpSwingLookback + 5) return(0);
// OPTIMIZATION: Calculate only the new closed bars to prevent CPU freezing
int limit = prev_calculated - 1;
if(prev_calculated == 0) limit = InpSwingLookback;
for(int i = limit; i < rates_total - 1; i++) {
int max_idx = ArrayMaximum(high, i - InpSwingLookback, InpSwingLookback);
int min_idx = ArrayMinimum(low, i - InpSwingLookback, InpSwingLookback);
if(max_idx < 0 || min_idx < 0) continue;
double prev_high = high[max_idx];
double prev_low = low[min_idx];
double total_size = high[i] - low[i];
if(total_size <= 0) continue;
// Bullish Sweep (Price went below prev low and closed above it)
if(low[i] < prev_low && close[i] > prev_low) {
double lower_wick = MathMin(open[i], close[i]) - low[i];
if((lower_wick / total_size) * 100.0 >= InpMinWickPct) {
DrawSweep(time[i], low[i], true);
}
}
// Bearish Sweep (Price went above prev high and closed below it)
if(high[i] > prev_high && close[i] < prev_high) {
double upper_wick = high[i] - MathMax(open[i], close[i]);
if((upper_wick / total_size) * 100.0 >= InpMinWickPct) {
DrawSweep(time[i], high[i], false);
}
}
}
return(rates_total);
}
void DrawSweep(datetime t, double p, bool bull) {
string name = prefix + (bull ? "B_" : "S_") + TimeToString(t);
if(ObjectFind(0, name) < 0) {
ObjectCreate(0, name, OBJ_ARROW, 0, t, p);
ObjectSetInteger(0, name, OBJPROP_ARROWCODE, bull ? 241 : 242);
ObjectSetInteger(0, name, OBJPROP_COLOR, bull ? InpBullColor : InpBearColor);
ObjectSetInteger(0, name, OBJPROP_WIDTH, 2);
// Anchor added for better visibility
ObjectSetInteger(0, name, OBJPROP_ANCHOR, bull ? ANCHOR_TOP : ANCHOR_BOTTOM);
}
}
//+------------------------------------------------------------------+
反馈
1
等级
项目
3
0%
仲裁
1
0%
/
100%
逾期
0
空闲
2
等级
项目
22
9%
仲裁
6
33%
/
50%
逾期
1
5%
已载入
3
等级
项目
0
0%
仲裁
0
逾期
0
空闲
4
等级
项目
0
0%
仲裁
0
逾期
0
空闲
5
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 1 代码
6
等级
项目
2
0%
仲裁
1
100%
/
0%
逾期
0
工作中
7
等级
项目
3
0%
仲裁
2
50%
/
0%
逾期
0
工作中
发布者: 13 代码
8
等级
项目
7
0%
仲裁
8
13%
/
75%
逾期
3
43%
空闲
9
等级
项目
8
0%
仲裁
8
13%
/
88%
逾期
0
空闲
10
等级
项目
0
0%
仲裁
0
逾期
0
空闲
11
等级
项目
430
54%
仲裁
20
55%
/
15%
逾期
29
7%
已载入
相似订单
I’m looking for an experienced developer to help build a trading bot for Polymarket , focused on short-term crypto prediction markets (e.g. 5–15 minute intervals). The strategy is fully rule-based and operates on binary outcome markets (YES/NO shares). The bot should be able to: monitor live market prices and probabilities, execute trades based on predefined conditions, manage positions dynamically before market
This project is to create or provide a back testable renko chart builder/EA for MT5 which must be: Back testable using strategy tester Optimisable using strategy tester Accurate in terms of price, including wicks Accurate in terms of time, with no future date issue. Able to produce both normal and median renko. The renko must have been developed by the developer OR have been used previously by the developer for off
Trading Assistant - modern UI
150+ USD
Hi developers, I want to create a Trading Assistant. The minimum developer experience is someone who has created a Trading Assistant before. The developer has worked on more than 100 job orders The Trading Assistant uses a Risk-Reward Ratio, a movable panel, an expandable panel with a hidden menu, and a modern UI. Thank you
Core Requirements: Platform: MetaTrader 5 (MT5). Symbol: XAUUSD (Gold). Timeframes: M1 and M5 (user selectable). Trading Style: Scalping with controlled risk (not aggressive or high-risk strategies) -> adjustable, even better. Execution: Fast execution, optimized for gold market conditions. Frequence = adjustable, but there should be 10-20 trades per day. Strategy Logic: Use a reliable and conservative strategy
MT4 TMA Reference
30+ USD
Eu preciso disso. A linha central do TMA (17,5,1.5) será a principal referência. Outra linha de média móvel (AVG) de 3 períodos decrescentes 2. As ordens serão as seguintes: abaixo, somente compra de TMA; acima, somente venda de TMA. O sinal de entrada será o seguinte: se o preço estiver acima da Média Móvel Tarifária (TMA), será apenas para venda; quando o preço se mantiver abaixo da Média Móvel Tarifária (AVG)
Hola, estoy buscando un desarrollador MQL5 con experiencia real en trading algorítmico. Necesito un EA para XAUUSD con: Control de Drawdown filtro de mercado (tendencia vs rango) gestión de riesgo dinámica optimización para sesiones específicas Antes de avanzar quisiera saber: ¿Qué experiencia tienes con EAs en MT5? ¿Has trabajado con estrategias de oro (XAUUSD)? ¿Cómo gestionas el drawdown en un bot? ¿Puedes mostrar
Double ma
30+ USD
Create an EA on moving averages. The EA will open a trade when the price is above the averages. It will open another when it is below the averages. Ability to work on any timeframe. Ability to use a news filter and a martingale...or to work on a grid
There is a programming god without EA here. I want to find someone to make an EA to operate gold and silver. There is a model, but it can't run. So I want to find someone to make professional improvements to make my EA run. If you are interested, you can WECHAT: 15113958263. Please note EA when adding friends
Robots in C++ (cAlgo trading platform)
30 - 80 USD
Iam seeking for a good trade robot/indicator debugging developer to finalize and close profits for me,in both my exneas blocker and MT5,for expert advisor for trading both gold xausd and sliver xagusd,l really want a perfect robot that can herence and risk management principles,not to leave out am a beginner
I have an arrow indicator that gives Buy and sell signals in different timeframes which is already linked to an Expert Advisor. So I want the following if I’m trading on M1 timeframe and it gives me a Sell signal, If on M5 the signal is BUY, it should not open the trader on M1. But if M1 is SELL and M5 also is Sell , then the position can be opened on M1. Let me know if that’s possible and I can place the order
项目信息
预算
30 - 200 USD
截止日期
到 30 天
客户
所下订单1
仲裁计数0