명시
//+------------------------------------------------------------------+
//| 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
무료
비슷한 주문
I am looking to develop a custom Expert Advisor (EA) for MetaTrader (MT4/MT5) based on a defined technical analysis strategy and flexible risk management rules. The EA should operate on a chart and timeframe that I manually specify, with the ability to adapt its behavior dynamically when the timeframe is changed. Core Strategy Logic The EA will execute trades based on predefined technical analysis zones
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
프로젝트 정보
예산
35+ USD
VAT (20%):
7
USD
총:
42
USD
개발자에게
31.5
USD
고객
넣은 주문1
중재 수0