Fix the trading logic on my EA and Make some small additions.

Trabajo finalizado

Plazo de ejecución 16 días

Tarea técnica

I have an MT5 EA that needs a few lines of code fixed in the ManageOpen and a few minor additions. Here is what needs fixed and added and the way it should trade.

Starc Bands EA (MT5)
Uses the custom STARC_BANDS indicator (MT5).
Will provide you with a copy of my Starc Bands EA and the the custom Starc_Bands Indicator.


Uses 3 Starc Bands Indicators.
Starc Bands 0 First Condition that must be met.
Starc Bands 1. Trade Opening Condition.
Starc Bands 2. Trade Closing Condition (If not closed by tp/sl)

Main emphasis is for EA to trade on Tick/Price.

ERRORS:
1. Opening Orders aren't placed in the correct direction/place. (NEEDS JUST A FEW LINES OF CODE CORRECTED/ADDED IN ManageOpen)
       Incorrect opening direction causes Close by Indicator to be incorrect. (VERIFY CLOSE BY INDICATOR IS CORRECT)

2. EA Currently has input option to trade by tick. But it trades by Open/Close. (FIX and VERIFY can trade by tick/price or open/close)

Options for Opening Trade:
1. Option for Trades to be made on Tick/Price, or Open/Close (NEEDS TO BE FIXED AND VERIFIED.)
2. ADD an Input option for trading by Fixed Lot, %Balance, % Margin,, etc. (NEEDS ADDED)
3. ADD an Input option for TP/SL to be in Points, $$, or % of open price (NEEDS ADDED Note: EA is used for Crypto)
4. ADD an Input option for Opening Trade to be either Market or Pending Limit Order. (NEEDS ADDED)
5. ADD an Input option for Time Limit for placed Pending Limit Order (OFF, ON, and X minutes) (NEEDS ADDED)
6. ADD an Input option for "X" Tick Delay (OFF, ON, X amount of ticks). When ON checks for price and existing orders and trades every “X” ticks Always Turns OFF after CONDITION 1 from Trading Rules is hit (See Below) If input option is ON, then turns back ON AFTER Trade is closed. (NEEDS ADDED.)



Trading Rules:

1. One Trade Opened by this EA at a Time and places orders on TIck/Price, or Open/Close


CONDITION for OPENING a BUY/LONG:

1. CONDITION 1: PRICE goes DOWN and Crosses BELOW (<) the Starc LOWER Band (Settings from Starc Indicator 0: (“ind0” —Trigger A--)
2. IF Condition 1 met then proceed to Condition 2 and do not repeat condition 1 until next trade cycle
3. TICK DELAY IS AUTOMATICALLY TURNED OFF AFTER CONDITION 1 IS MET
4. IF TRADE BY PENDING LIMIT ORDER: Place Pending Limit BUY/LONG Order at Starc LOWER Band (Settings from Starc Indicator 1: “ind1” --Trigger B--)
5. If Time Limit for Pending Limit order is ON, and Pending Limit Order exceeds Time Limit, cancel Pending Limit Order and initiate new trade cycle.
6. IF TRADE BY MARKET ORDER then CONDITION 2.
7. CONDITION 2: AFTER CONDITION 1 IS MET, PRICE then goes UP and HITS/CROSSES ABOVE (>=) the Starc LOWER Band (Settings from Starc Indicator 1: "ind1” --Trigger B—) = TRADE
8. TRADE: Places MARKET BUY/LONG at Condition 2 when PRICE moves UP and HITS/CROSSES (>=)the Starc LOWER Band (Settings from Starc Indicator 1: "ind1” --Trigger B--)


CONDITIONS for OPENING a SELL/SHORT:

1. CONDITION 1: PRICE goes UP and Crosses ABOVE (>) the Starc UPPER Band (Settings from Starc Indicator 0: “ind0” --Trigger A--)
2. IF Condition 1 met then proceed to Condition 2 and do not repeat condition 1 until next trade cycle
3. TICK DELAY IS AUTOMATICALLY TURNED OFF AFTER CONDITION 1 IS MET
4. IF TRADE BY PENDING LIMIT ORDER: Place Pending Limit SELL/SHORT Order at Starc UPPER Band (Settings from Starc Indicator 1: “ind1” —Trigger B--)
5. If Time Limit for Pending Limit order is ON, and Pending Limit Order exceeds Time Limit, cancel Pending Limit Order and initiate new trade cycle.
6. IF TRADE BY MARKET ORDER then Condition 2.
7. CONDITION 2: AFTER CONDITION 1 IS MET, PRICE then goes DOWN and HITS/CROSSES BELOW (<=) the Starc UPPER Band (Settings from Starc Indicator 1: "ind1” --Trigger B--) = TRADE
8. TRADE: Places MARKET SELL/SHORT at Condition 2 when PRICE moves DOWN and HITS/CROSSES (<=) the Starc UPPER Band (Starc Indicator 1: "ind1” --Trigger B--)

OPTIONS for CLOSING a TRADE:

Option 1. Take Profit/Stop Loss in Points (Note: EA is primarily used for Cryptocurrency)
Option 2. Take Profit/Stop Loss in $$ (NEEDS TO BE ADDED)
Option 3. Take Profit/Stop Loss by % of original order price (NEEDS TO BE ADDED)
Option 4. Closes by Starc Indicator 2 (“ind2 “— Close —) if reached before Take Profit/Stop Loss or if TP/SL = 0


CONDITIONS for CLOSING by Starc Indicator:

CONDITIONS for CLOSING a BUY/LONG
1. CONDITION 1: PRICE goes DOWN and Crosses BELOW (<=) the Starc LOWER Band (Settings from Starc Indicator 2: "ind2“—Close--) = CLOSE TRADE
2. CLOSE TRADE: Closes by MARKET ORDER at Condition 1 at Cross when PRICE moves DOWN and HITS/CROSSES (<=) the Starc LOWER Band (Starc Indicator 2: "ind2” —Close—)


CONDITIONS for CLOSING a SELL/SHORT
1. CONDITION 1: PRICE goes UP and Crosses ABOVE (>=) the Starc UPPER Band (Settings from Starc Indicator 2: “ind2“ —Close--)
2. CLOSE TRADE: Closes by MARKET ORDER at Condition 1 at Cross when PRICE moves UP and HITS/CROSSES (>=) the Starc UPPER Band (Starc Indicator 2: "ind2” —Close—)

Han respondido

1
Desarrollador 1
Evaluación
(14)
Proyectos
19
11%
Arbitraje
1
0% / 100%
Caducado
5
26%
Libre
2
Desarrollador 2
Evaluación
(5)
Proyectos
9
0%
Arbitraje
1
100% / 0%
Caducado
3
33%
Libre
3
Desarrollador 3
Evaluación
(70)
Proyectos
91
25%
Arbitraje
26
19% / 54%
Caducado
25
27%
Libre
4
Desarrollador 4
Evaluación
(221)
Proyectos
411
61%
Arbitraje
13
38% / 23%
Caducado
163
40%
Libre
Ha publicado: 43 artículos, 1 ejemplo
5
Desarrollador 5
Evaluación
(87)
Proyectos
114
26%
Arbitraje
7
29% / 57%
Caducado
5
4%
Libre
Solicitudes similares
Hi, I am experiencing several issues with the current bot system and would like to implement a fully automated and improved version with the following features: 1. Dynamic selection of best two timeframes: • Currently, sometimes M15 gives a sell signal while M5 gives a buy signal. • I want the bot to automatically select the best two timeframes that are aligned with the SMC H1 trend to generate the signal. • This
Zaki boot 30+ USD
//+------------------------------------------------------------------+ //| XAUUSD Safe Scalp - TP $2 / SL 60 points | //+------------------------------------------------------------------+ #include <Trade\Trade.mqh> CTrade trade; // ===== Inputs ===== input double LotSize = 0.01; input int StopLoss = 60; // points input double DollarTP = 2.0; // ربح بالدولار input int MAPeriod = 50; input
Looking for an experienced MQL5 developer to analyze and reverse-engineer the trading logic of an existing scalping Zone Recovery EA using Moving Averages and Bollinger Bands, and then rebuild it
EA Expert MTA 4 30+ USD
I have my own indicator and needs to create EA expert working smoothly with it to hit the targets as defined in indicator: Technical approach: - The EA will read the indicator signals using Copy Buffer on the selected timeframe - The EA should hit indicator variable targets factor -​Auto-Entry: Instant execution when the signal appears. ​-Alerts: Mobile Push Notifications + Pop-up alerts. -​Money Management Auto-lot
I am looking for an experienced MQL5 developer to build a very fast AI-assisted scalping Expert Advisor, with special focus on XAUUSD (Gold). Core Strategy Designed mainly for XAUUSD, but should also work on all forex pairs and metals Opens multiple trades in the same direction Closes trades immediately once they are in profit (very small, fast profits) Optimized for high-speed scalping No martingale and no risky
hello great developer I’m hiring a developer to build a local-only trade copier that sends trades from MT4 and MT5 to NinjaTrader 8 (NT8) in real-time. This copier must be reliable, fast, and fully executable without cloud dependence. I require a short test/demo period before full delivery to ensure quality and performance. here is the full project specs in the file check it please
I need a reliable, clean-coded Expert Advisor built for both MetaTrader 4 and MetaTrader 5 platforms. Main trading behavior: The EA follows buy and sell arrows produced by my custom indicator. Whenever a buy arrow shows up on the chart: if a sell position is currently open → close that sell immediately and enter a buy trade in its place. Whenever a sell arrow appears: if a buy position exists → close the buy and
Hello I'm looking for professional to create a robot to me that will enter us30 or nasdaq around 16H29-minute55-Second New York session opening Monday to Friday and put stop loss 3800 points away from entry hedging strategy
*I am looking for an experienced MQL5 developer to build a custom Expert Advisor (EA) for MetaTrader 5 based on my proprietary trading strategy. The full strategy details will be shared privately with the selected developer after agreement. The EA must be designed for automated trade execution with a strong focus on accuracy, speed, and stability. It should support flexible input settings and allow for future
📋 Project Description I am looking for an experienced MT5 (MQL5) developer to code a fully automated Expert Advisor for NASDAQ (US100) based on a fixed, rule-based opening range breakout strategy. The strategy is mechanical, uses no discretionary logic, and must be coded exactly as specified below. 🕒 Time & Session Rules Market: NASDAQ (US100) Trading days: Monday–Friday Session open: 9:30 EST EA must convert

Información sobre el proyecto

Presupuesto
30 - 50 USD
Plazo límite de ejecución
de 1 a 3 día(s)