AFL project to find out qty to compensate for the loss of previous trades

MQL4 Esperti C++ PHP Forex Product Design

Specifiche

Objective : to level the quantity required to compensate for the loss of previous trades evenly

initialqty=iqty=10;
profittarget=pt=.1;
stoploss==sl.1;
brokerage=.01;
profitmargin=pt-brokerage;
lossmargin=sl+brokerage;
lotsize=1000;

if trade hits stoploss
loss count should be incremented
loss should be calcualted and added to previous total loss to get the new total loss
find out the total qty required to compensate for loss.
then devide this by loss count.

totalloss=last value(loss)+(last value(qty)*lot size * loss margin)

newqty = iqty+(total loss/(profit margin*10000*loss count))

qty=newqty; this qty should be same until the loss count value becomes zero

if trade is open till 14:45
consider selling or covering the trade with the close value of last candle or open value the running candle
loss should be calcualted and added to previous total loss to get the new total loss
find out the total qty required to compensate for loss.
then devide this by loss count.
(here we are not changing the loss or profit count)

if trade hits profit while loss count >0
loss count should be decremented by 1 until loss count is equal to zero
profit count should be incremented by 1
total loss = lastvalue(total loss) - profit of the last trade

if loss count increases before reaching zero, recalculate the total loss and the new qty to compnesate.
total loss = lastvalue(total loss) - loss of the last trade

new qty = iqty+(total loss/(profit margin*10000*loss count))

when loss count reaches zero
reset below variables
total loss = 0
profit count =0
qty = iqty

profit count should be zero even if a trade hits profit unless loss count > 0

Con risposta

1
Sviluppatore 1
Valutazioni
(248)
Progetti
443
34%
Arbitraggio
56
36% / 38%
In ritardo
162
37%
Caricato
2
Sviluppatore 2
Valutazioni
(65)
Progetti
71
30%
Arbitraggio
8
0% / 88%
In ritardo
5
7%
Gratuito
Ordini simili
dreams good and have a great Cash out from your smart phone , tuyoywuiy glamorous flood see full idk idk slow so dolls stupid sis workouts who's spark koalas oral waits also doggo idk
NRTR - indicator for MetaTrader 5 NRTR (Nick Rypock Trailing Reverse) - indicator for MetaTrader 4 NRTR WATR - indicator for MetaTrader 4 NRTR GATOR - indicator for MetaTrader 5 X2MA NRTR - indicator for MetaTrader 5 NRTR - indicator for MetaTrader 5 NRTR GATOR - indicator for MetaTrader 4 NRTR - indicator for MetaTrader 4 Stalin_NRTR - indicator for MetaTrader 5 NRTR Color Line - indicator for MetaTrader 5 NRTR Rosh
Robot para Retos de Fondeo en Índices Sintéticos Estoy buscando un robot de trading capaz de superar retos de fondeo en índices sintéticos para plataformas como TopTen y empresas similares. El robot debe cumplir con los siguientes requisitos: Límite de Drawdown : El drawdown máximo permitido debe ser del 5%, asegurando una gestión de riesgo estricta. No Alta Frecuencia : El robot no debe operar con demasiada
Martingale Strategy EA 50 - 300 USD
Dear , I hope this message finds you well. I would like to request the development of a trading robot (Expert Advisor) that incorporates the following strategies and features: Strategy Requirements: 1. Martingale Strategy: The robot should include a Martingale system to increase trade sizes after losses in order to recover losses and generate profit. 2. Trend-Following: It should also be able to detect and follow
I want to deal in triangular forex arbitrage trading. I want an automated trading robot for the same. It is also expected that the developer advises me about the setting up the operations. I live in India, so he/she must know the ethical way to do it, be it international broker account or whatever. I just need to start this sooner but in the efficient way. The developer is expected to have some experience and should
A green point should be added at the Low point of candlesticks in the oversold zone—it is the L point. If there is at least one L point between two H points, search for a LL point in the interval between two H points. The candlestick with the lowest Low price will be the LL point. Generally, the LL point is not necessarily an L point. Search for candlesticks with the lowest Low price. If there is at least one H point
algo trading application want to developed Prerequisites for ordering a trading robot Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event . When the event occurs, the robot checks the emergence of trading
Please I Need A Programmer Who Can Create A Requirement Specification Document For My Trading System THE IDEA OF THE INDICATOR Create A Standard ZigZag Auto Fibo Indicator Combined With A ZigZag Fibonacci Time Zone Indicator Which Has The Specified Levels Written In The Indicator Strategy TEXT FILE/DOCUMENT HOW DOES THE INDICATOR KNOW AN UPTREND MOVEMENT? If Price Hasn't Touched The 123.6% Level Of The Recent Static
Project Overview: I would like you to develop a Moving Average Crossover Trading Bot for MetaTrader 5 (MT5), compatible with all trading instruments (Forex, Stocks, Indices, Commodities, etc.), that incorporates machine learning algorithms to improve the strategy’s performance. The bot should be customizable, allowing users to adjust various parameters such as risk percentage, moving average periods, stop loss, take
QuantumTrader 30 - 200 USD
Request for development of machine learning robots for MetaTrader 5 (MT5) **Description**: Willing to develop experience in programming trading robots using MQL5 language and can learn machine learning on MetaTrader 5 (MT5) platform. The robot should be able to implement a multidisciplinary strategy on a set of technical indicators and multiple rules. I need to develop the robots so that they can work in an

Informazioni sul progetto

Budget
40+ USD
IVA (21%): 8.4 USD
Totale: 48.4 USD
Per lo sviluppatore
36 USD
Scadenze
da 1 a 5 giorno(i)