指定
//+------------------------------------------------------------------+
//| Estrategia_Pedro_Final.mq5 |
//| Setas + Alertas + Filtro Tendência|
//+------------------------------------------------------------------+
#property copyright "Pedro_Trader"
#property version "4.00"
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_plots 2
// Configuração Visual das Setas
#property indicator_label1 "Seta_Compra"
#property indicator_type1 DRAW_ARROW
#property indicator_color1 clrLime
#property indicator_width1 3
#property indicator_label2 "Seta_Venda"
#property indicator_type2 DRAW_ARROW
#property indicator_color2 clrRed
#property indicator_width2 3
double BuyBuffer[];
double SellBuffer[];
int handleEMA_Curta; // Média 20 (Gatilho)
int handleEMA_Longa; // Média 50 (Filtro de Segurança)
//+------------------------------------------------------------------+
int OnInit() {
SetIndexBuffer(0, BuyBuffer, INDICATOR_DATA);
SetIndexBuffer(1, SellBuffer, INDICATOR_DATA);
PlotIndexSetInteger(0, PLOT_ARROW, 233); // Seta para cima
PlotIndexSetInteger(1, PLOT_ARROW, 234); // Seta para baixo
handleEMA_Curta = iMA(_Symbol, _Period, 20, 0, MODE_EMA, PRICE_CLOSE);
handleEMA_Longa = iMA(_Symbol, _Period, 50, 0, MODE_EMA, PRICE_CLOSE);
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
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 &spread[], const real_volume[]) {
int start = (prev_calculated > 0) ? prev_calculated - 1 : 1;
double ema20[], ema50[];
ArraySetAsSeries(ema20, true); ArraySetAsSeries(ema50, true);
ArraySetAsSeries(low, true); ArraySetAsSeries(high, true);
ArraySetAsSeries(close, true); ArraySetAsSeries(open, true);
ArraySetAsSeries(BuyBuffer, true); ArraySetAsSeries(SellBuffer, true);
CopyBuffer(handleEMA_Curta, 0, 0, rates_total, ema20);
CopyBuffer(handleEMA_Longa, 0, 0, rates_total, ema50);
for(int i = start; i < rates_total - 1; i++) {
BuyBuffer[i] = 0; SellBuffer[i] = 0;
// --- LÓGICA DE ENTRADA (SETAS) ---
// COMPRA: Tendência Forte (20 acima de 50) + Toque na média + Rejeição
if(ema20[i] > ema50[i] && low[i] <= ema20[i] + (5 * _Point) && close[i] > open[i]) {
BuyBuffer[i] = low[i] - (15 * _Point);
if(i == 1) Alert("PEDRO: COMPRAR AGORA! Seta Lima no ", _Symbol);[cite: 2]
}
// VENDA: Tendência Forte (20 abaixo de 50) + Toque na média + Rejeição
if(ema20[i] < ema50[i] && high[i] >= ema20[i] - (5 * _Point) && close[i] < open[i]) {
SellBuffer[i] = high[i] + (15 * _Point);
if(i == 1) Alert("PEDRO: VENDER AGORA! Seta Vermelha no ", _Symbol);[cite: 2]
}
}
return(rates_total);
}
反馈
1
等级
项目
173
25%
仲裁
23
9%
/
78%
逾期
16
9%
工作中
2
等级
项目
125
24%
仲裁
23
26%
/
52%
逾期
8
6%
工作中
3
等级
项目
821
62%
仲裁
33
27%
/
45%
逾期
23
3%
空闲
发布者: 1 代码
4
等级
项目
26
27%
仲裁
0
逾期
2
8%
工作中
5
等级
项目
9
0%
仲裁
2
0%
/
50%
逾期
1
11%
工作中
6
等级
项目
0
0%
仲裁
0
逾期
0
空闲
7
等级
项目
3
100%
仲裁
0
逾期
0
空闲
8
等级
项目
2
0%
仲裁
0
逾期
0
空闲
9
等级
项目
0
0%
仲裁
0
逾期
0
空闲
10
等级
项目
0
0%
仲裁
0
逾期
0
空闲
11
等级
项目
477
40%
仲裁
105
40%
/
24%
逾期
81
17%
已载入
发布者: 2 代码
12
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
I need a simple MT5 custom alert indicator/scanner. It must scan a list of FX pairs and alert me when my MACD continuation setup appears. Symbols The tool must allow me to enter a custom list of symbols, for example: EURUSD, GBPUSD, USDJPY, USDCHF, AUDUSD, USDCAD, NZDUSD, EURJPY, GBPJPY, AUDJPY, CADJPY, CHFJPY, NZDJPY, EURGBP, EURAUD, EURNZD, EURCAD, EURCHF, GBPAUD, GBPNZD, GBPCAD, GBPCHF, AUDNZD, AUDCAD, AUDCHF
Modify an existing EA
30 - 50 USD
This is to modify my Semi Auto EA -Looking for developer modify my existing EA to Pending Order EA (BS/BL/SL/SS). Relevent with Heiken Ashi Smooth ,Moving Average , Acceleration. Concept MAster and Slave. Ready to give previous soucre code as guide. Work to do - 1)To modify this EA to Pending Order. 2) to add new feature - Risk Management/moneymanagement 3) To modify 4 slave to 7 slave will give the previous to
Neew arrow indiactor fix
30+ USD
I have a indicator working good but have some bug for arrow placement . budget is fixed 30 used . only experience developer apply. i want to arrow get put on just above the candle high and candle low
I am looking to get this Indicator but i don't know which indicator is it , if anyone know about it let me know , images are attached , this is used for Binary Pairs
Pip Scalper Bot
60+ USD
i want a trading bot that is aleast 98% sure,and cam also do scalping 99% correct using smart money concept, ICT, ALL technical analysis on it and also put risk management on it
Greetings I need MT5 developer that has expertise in developing a custom indicator for mt5 boom and crash based on my exact details and requirements which would be discuss later. Kindly bid for this project if it is something you can handle for me
Hello, I have a Ctrader indicator with the source code, I was wondering if this possible to convert it to Quantower. Hello, I have a Ctrader indicator with the source code, I was wondering if tis possible to convert it to Quantower., i need an expert who can convert it perfectly
Expert NinjaTrader Programmer Needed
60 - 100 USD
I’m looking for an experienced NinjaTrader developer to complete an existing custom indicator. The project is already partially built and is well organized, completely functional, and well documented. The former developer experienced some personal difficulties and unfortunately cannot continue. Key Requirement (Read Carefully): You MUST have direct, hands-on experience with NinjaTrader and NinjaScript (C#) . This is
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
Hello, I’m looking for an experienced developer who can help convert an existing cTrader indicator into a fully functional Quantower indicator . I already have the complete source code for the cTrader indicator (written in C#) , and I would like the same logic, behavior, and visual output to be accurately replicated in Quantower
项目信息
预算
35+ USD
VAT (20%):
7
USD
总计:
42
USD
开发人员
31.5
USD
客户
所下订单1
仲裁计数0