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

MQL4 专家 C++ PHP 外汇 产品设计

指定

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

反馈

1
开发者 1
等级
(295)
项目
525
35%
仲裁
63
33% / 35%
逾期
189
36%
已载入
2
开发者 2
等级
(65)
项目
71
30%
仲裁
8
0% / 88%
逾期
5
7%
空闲
相似订单
PLEASE READ: IF YOU ARE NOT GOING TO ACCEPT THE BELOW THEN PLEASE MOVE ON TO THE NEXT CLIENT. I NEED SOMEONE WHO WILL DO THE WORK FIRST AND THEN CREATE A BUILT-IN DEMO INDI AS PER SPECIFICATIONS BELOW WHICH HAS AN EXPIRY (A DAY OR 2) SO THAT I TEST THE INDI BEFORE WE CREATE THE ORDER. I HAVE HAD PEOPLE WHO PRESSURE ME TO CREATE THE ORDER AND THEN THEY END UP DEVELOPING A FAULTY INDICATOR. AND I HAVE GIVEN THEM THE
PLEASE READ: IF YOU ARE NOT GOING TO ACCEPT THE BELOW THEN PLEASE MOVE ON TO THE NEXT CLIENT. I NEED SOMEONE WHO WILL DO THE WORK FIRST AND THEN CREATE A BUILT-IN DEMO INDI AS PER SPECIFICATIONS BELOW WHICH HAS AN EXPIRY (A DAY OR 2) SO THAT I TEST THE INDI BEFORE WE CREATE THE ORDER. I HAVE HAD PEOPLE WHO PRESSURE ME TO CREATE THE ORDER AND THEN THEY END UP DEVELOPING A FAULTY INDICATOR. AND I HAVE GIVEN THEM THE
📌 DOGE/USDT Trading Bot – Full Strategy Current DOGE/USDT price: ≈ 0.2714 USDT (for reference only). Exchange: Binance Futures Margin type: Isolated Margin Leverage: x2 Pair: DOGE/USDT Language: Python (Binance API) ⸻ 🔹 Strategy Logic 1. Initial Entry • Open a Market Order with 2000 USDT as the base trade. • Base remains fixed for each cycle. 2. Reinforcement (During Downtrend) • Every 5 minutes during a price
PLEASE ONLY GENUINE APPLICATIONS! I am looking for a MT5 EA that I can successfully use to pass Prop Firm challenges in reasonable time and successfully trade funded account whilst staying within 4% daily drawdown and 8% max drawdown and profiting ideally 10% or more a month. The EA must: 1) Be suitable for prop firms 2) Stay within daily drawdown of 4% 3) Stay within max drawdown of 8% 4) Consistently profit 10%
I need developer to modify a simple mql4 indicator with non-repainting Buy/Sell arrows, selectable timeframe (current or higher), and alerts, push notifications.The indicator mq4 file will be provided as this is a simple change. I will need quick turnover of this work.Please apply if interested
PLEASE READ: IF YOU ARE NOT GOING TO ACCEPT THE BELOW THEN PLEASE MOVE ON TO THE NEXT CLIENT. I NEED SOMEONE WHO WILL DO THE WORK FIRST AND THEN CREATE A BUILT-IN DEMO INDI AS PER SPECIFICATIONS BELOW WHICH HAS AN EXPIRY (A DAY OR 2) SO THAT I TEST THE INDI BEFORE WE CREATE THE ORDER. I HAVE HAD PEOPLE WHO PRESSURE ME TO CREATE THE ORDER AND THEN THEY END UP DEVELOPING A FAULTY INDICATOR. AND I HAVE GIVEN THEM THE
I need an Expert Advisor (EA) that can trade on Forex pairs, Metals (like XAUUSD), and Crypto coins . Key points: Fixed lot size (configurable). EA should work on multiple asset classes. A simple on-chart control panel to manage EA: Start/Stop trading Enable/Disable strategies Change lot size (buttons +/–) Payout button → closes all profitable trades and adds profit to balance ATR-based option for stop loss /
Convert Advanced SMC Pine Script Strategy to MQL5 EA / Autotrade option Job Description: We are seeking an experienced MQL5 developer to accurately convert a sophisticated Smart Money Concepts (SMC) strategy from TradingView Pine Script into a robust, professional-grade MetaTrader 5 Expert Advisor (EA). The original code is complex and includes advanced logic for pivot detection, dynamic position sizing, and visual
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

项目信息

预算
40+ USD
VAT (21%): 8.4 USD
总计: 48.4 USD
开发人员
36 USD
截止日期
 1  5 天