Expert advisor based on bollinger bands needed

工作已完成

执行时间11 分钟
员工反馈
Thank you for your order! Great customer!

指定

Having trouble with coding


// Inicialização do robô void OnStart() { // Define as configurações do indicador de Bollinger int periodo = 20; // Período da média móvel double desvios = 2.0; // Número de desvios padrão int ma_tipo = MODE_SMA; // Tipo de média móvel (SMA = média móvel simples) SetIndexStyle(0, DRAW_ARROW); // Define o estilo da seta do indicador } // Loop principal do robô void OnTick() { // Calcula as bandas de Bollinger double upper, lower; double ma = iMA(NULL, 0, periodo, 0, ma_tipo, PRICE_CLOSE, 1); double dev = iBands(NULL, 0, periodo, desvios, desvios, ma_tipo, PRICE_CLOSE, 0, 1); upper = ma + dev; // Banda superior lower = ma - dev; // Banda inferior // Verifica se o preço atual está acima da banda superior de dois desvios if (Close[0] > upper) { // Verifica se já existe uma posição aberta if (PositionSelect(_Symbol)) { // Encerra a posição se o próximo fechamento estiver abaixo da banda superior de dois desvios if (Close[1] < upper) PositionClose(); } else { // Abre uma nova posição de compra se não houver posição aberta int ticket = PositionOpen(_Symbol, OP_BUY); // Define o stop loss para a posição if (ticket > 0) PositionSetDouble(ticket, POSITION_SL, lower); } } // Verifica se o preço atual está abaixo da banda inferior de um desvio if (Close[0] < lower) { // Encerra qualquer posição aberta if (PositionSelect(_Symbol)) PositionClose(); }


反馈

1
开发者 1
等级
(8)
项目
11
0%
仲裁
11
18% / 73%
逾期
2
18%
空闲
2
开发者 2
等级
(279)
项目
341
37%
仲裁
6
50% / 17%
逾期
7
2%
空闲
发布者: 5 代码
3
开发者 3
等级
(75)
项目
124
44%
仲裁
14
29% / 50%
逾期
17
14%
空闲
相似订单
1. EA OVERVIEW I need an Expert Advisor for METATRADER 4/5 that executes a directional trend- following + scaling strategy with multiple modes : Swing, Intraday, and Aggressive ( Martingale - style scaling) 2. ENTRY LOGIC Explain clearly: - EA opens first trade based on a defined signal ( let developer add indicator – based entry) - Direction: BUY or SELL allowed ( no restriction)
PROJECT: Automatic Gold and Forex Trading Robot for MetaTrader 5 (MQL5) I want a fully automated Expert Advisor (EA) for MetaTrader 5 that can analyze the market and automatically open, manage and close trades on Gold and selected Forex currency pairs. 1. TRADING INSTRUMENTS - Gold: XAUUSD - Forex: EURUSD, GBPUSD and USDJPY, subject to broker availability. - Allow the user to enable or disable each trading symbol. -
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell

项目信息

预算
30+ USD
截止日期
从 1 到 10 天