Tarea técnica

The funtionality of the EA  
*************************************************

This EA  adds trades in positive direction. 
The EA starts with a set trade with set lot size in set direction which is defined in setting  by trader.
Each trade has a SL and the SL placed on set conditions .  
1. Each addition trade is taken when the set conditions are met with a regular lotsize.
2. The EA closes ALL trades in session when a SL of last trade is hit and place a new trade in the OPPOSITE direction of last trade with set lot size.

The SL of the previous trade trails to its entry Position (+) when the next trade is taken . + is a varible define in settings 

When the SL hit ( even with single trade only) , The EA reverse the direction and take a trade with regular lot size .

All trades are using a set lot size which is defined in setting . 

Adding trade conditions 

After taken the initial trade, the  EA monitors the candles and take a next trade only 
1- on the opening of following candle when the Z consecutive candles are closed in the same direction of the last trade ( Z being a numerical count of consecutive candles define in settings)  
&
2-  if  the distance between Ask and previous order open price is more then Y points.Y being a variable defined in settings .


Setting conditions for SL 

If it is a Buy order, the SL will be  X points below the recent low of the price .( X being a define variable in settings)
If it is a Sell order, the SL will be  X points above the recent High of the price ...

1-Limiting the number of trades in profit to 3 trades only . 

closing trades 
When the 3rd trade is taken in postive , close all trades in profit and open a new trade of regular lot size in same direction .

2- Increasing the lot size 
Every time an SL hit and we take new trade in opposite direction , count the number of lot sizes of previous trades which are closed and take a new single trade in opposite direction with increase lot size ( closed trades total lot sizes * lot factor)
i.e the previously closed  Buy trades total lot size was 0.04 , then the new single trade will be a short trade of  0.08 lotsize if lot factor is defined as 2 .( 0.04* 2= 0.08) 



3- When the session trades take loss on the SL hit 


A- EA add all losses together and  get a dollar amount, monitor for the profit trade. 
B- When the profit starts to build, compare the profit with amount of loss in the session .
C-Close all trades when the profit doubles the amount of loss at anytime ,take a new trade of regular lotsize in the same direction of last trade and continue on  with the EA. 

This is TP overall profit option which is set by trader in setting as an option and variable in $ amount  


Following are variables in setting 

1-Direction to open the First trade    Buy /sell
2- Stoploss X points from nearest high/low    (Numeric value) 
3-Next trade distance x consecutive candles in our direction   ( Numerical value) 
4-Number of consecutive candles to open new trade ( numerical value) 
5-Start Time 
6-End time 
7- Lot size ( from 0.01  to high numbers ) 
8- Distance between the entry point and  sl trail postion in profit ( Pips) 

Han respondido

1
Desarrollador 1
Evaluación
(72)
Proyectos
80
10%
Arbitraje
35
9% / 54%
Caducado
6
8%
Libre
2
Desarrollador 2
Evaluación
(150)
Proyectos
226
80%
Arbitraje
18
33% / 44%
Caducado
11
5%
Trabaja
Ha publicado: 24 artículos, 1882 ejemplos
3
Desarrollador 3
Evaluación
(295)
Proyectos
525
35%
Arbitraje
63
33% / 35%
Caducado
189
36%
Trabajando
4
Desarrollador 4
Evaluación
(439)
Proyectos
459
73%
Arbitraje
5
80% / 0%
Caducado
0
Trabaja
Solicitudes similares
Hello! I'm looking to hire a developer to create a custom trading bot for MetaTrader 5 (MT5) that automates hedged trading across two separate MT5 accounts (e.g., one for a prop firm and one for a broker). The bot should open opposite positions simultaneously on both accounts, with customizable parameters for lot sizes, stop-loss (SL), and take-profit (TP). It needs to support both market orders and pending orders
Francis frank 30 - 300 USD
I need a Forex trading robot (Expert Advisor) for MT4/MT5 with the following features: Strategy: Buy when fast MA crosses above slow MA, Sell when fast MA crosses below slow MA. Adjustable inputs: Lot size, Stop Loss, Take Profit, Trailing Stop. Works on EUR/USD (but adjustable to other pairs). Should allow me to choose the timeframe (M15, H1, H4). Sends alert/notification when trade is opened or closed. Code should
Mthizo trades 30 - 200 USD
- *Currency Pairs*: Major pairs such as EUR/USD, XAU/USD and GBP/USD - *Funding Currency*: South African Rand (ZAR) - *Initial Deposit*: R100 (may require additional deposit for live trading) - *Risk Management*: Basic risk management features, such as stop loss and take profit - *Strategy*: Pre-defined strategy based on Smart Money Concept principles - *Cost*: Approximately R100-R200 (one-time cost or
I need an Expert advisor based on AOX signal . it must have check and handing of trade operation..errors. The main criterin for opening and dosing a position : moving average direction the price is higher than the previous bar Trade lots is input parameter bar
Hello, I am looking for an experienced QuantConnect/Lean developer for a trading strategy project on futures (Micro Nasdaq – MNQ) with Interactive Brokers integration (paper + live). The strategy includes several key features: • Multi-timeframe analysis (signal validation across multiple horizons) • Integration of economic news/events into the trading logic • Advanced risk management (daily stop, position sizing
Bainanans 500+ USD
Bainanan good f المؤشر. ينبغي إضافة نقطة صفراء عند أعلى نقطة في الشموع في منطقة ذروة الشراء - وهي نقطة H. ينبغي إضافة نقطة خضراء عند النقطة المنخفضة للشموع في منطقة ذروة البيع - وهي نقطة L. إذا وُجدت نقطة L واحدة على الأقل بين نقطتي H، فابحث عن نقطة LL في الفترة الفاصلة بينهما. ستكون الشمعة ذات أدنى سعر قاع هي نقطة LL. بشكل عام، لا تُعتبر نقطة LL بالضرورة نقطة L. ابحث عن الشموع ذات أدنى سعر قاع. إذا كانت هناك نقطة H
Døsh forex 30 - 200 USD
I want a robot that will help me and trade the the robot will be very good I don’t want to loose money I repeat I don’t want to loose money

Información sobre el proyecto

Presupuesto
30 - 45 USD
Para el ejecutor
27 - 40.5 USD