Job finished
Execution time 1 hour
Feedback from employee
Good Customer
Feedback from customer
You are the best thanks :)
Specification
Hello, the problem is the function " My_Money_Equity_Target" the value changes itself when I win a trade
Example I enter the value 10 in my EA, if my Account Equity is at 1000 then it will cut all my orders to 1010 and 1020 and 1030 ect but the problem is that when I have a winning position my takeprofit is hit well my My_Money_Equity_Target goes down to 995 because I have other open order loser, what I would like is that my My_Money_Equity_Target only go up to the value not requested but does not go down. Complete Code//+------------------------------------------------------------------+ //| TakeProfit 1 | //+------------------------------------------------------------------+ #property copyright "" #property link "" extern double My_Money_Equity_Target=10; int Slippage=4; int i; double EquityTarget; //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ int init() { //---- EquityTarget = AccountEquity()+My_Money_Equity_Target; //---- return(0); } //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ int start() { if (AccountEquity()>= EquityTarget) { for(i=OrdersTotal()-1;i>=0;i--) { if(OrderSelect(i,SELECT_BY_POS)) { bool Res=false; if(OrderType()==OP_BUY) { Res = OrderClose(OrderTicket(),OrderLots(),MarketInfo(OrderSymbol(),MODE_BID),Slippage,clrNONE); }else if(OrderType()==OP_SELL) { Res = OrderClose(OrderTicket(),OrderLots(),MarketInfo(OrderSymbol(),MODE_ASK),Slippage,clrNONE); }else { Res = OrderDelete(OrderTicket()); } } } Print ("Equity reached to ",DoubleToStr(AccountEquity(),2)); if(!Res) return(0); EquityTarget = AccountEquity()+My_Money_Equity_Target; } Comment("Balance: ",AccountBalance(),", Account Equity: ",AccountEquity(),", Account Profit: ",AccountProfit(), "\nMy Account Equity Target: ",DoubleToStr(EquityTarget,2)); return(0); }
Responded
1
Rating
Projects
680
57%
Arbitration
25
16%
/
60%
Overdue
228
34%
Free
2
Rating
Projects
789
71%
Arbitration
9
33%
/
33%
Overdue
22
3%
Free
Published: 8 codes
3
Rating
Projects
42
26%
Arbitration
10
20%
/
50%
Overdue
8
19%
Free
Similar orders
Siraj Durrani
30 - 50 USD
Title: Need MT4 Expert Advisor for XAUUSD (SMC/ICT Strategy) Requirements: I need a professional MT4 Expert Advisor (EA) for XAUUSD based on Smart Money Concepts (SMC) / ICT strategy. Features: - Platform: MetaTrader 4 (MT4) - Symbol: XAUUSD - Automatic Buy and Sell trades. - Detect market trend automatically. - Use Break of Structure (BOS) and Change of Character (CHoCH) for trend confirmation. - Enter trades only
Xauusd to gold
35+ USD
The EA must be fully automated , backtest-friendly , prop-firm-safe , and built with a clean modular architecture . Core Strategy Requirements 1. Higher Timeframe Bias Use D1 and H4 . Use 200 EMA as trend filter: If price is above 200 EMA on both D1 and H4 -> allow BUY only If price is below 200 EMA on both D1 and H4 -> allow SELL only If D1 and H4 are not aligned -> no trade 2. Market Structure Module Detect and
Pine Script Integration Request (Experienced Coders Only) I am looking for a highly experienced Pine Script developer to integrate a Demand & Supply Zone module into my existing indicator. Requirements Keep my current indicator (Rudy) exactly as it is. Do NOT modify, remove, or alter any existing logic, calculations, signals, alerts, or visual elements. Add only the Demand & Supply Zone boxes from a second Pine
🔍 Strategy Logic 📌 Indicators Used 21 EMA RSI (Upper Level: 61, Lower Level: 39 – Customizable) 📈 Buy Side Setup (Long Entry) Step 1 – Trend Confirmation A Green candle must close above 21 EMA. Step 2 – Pattern Formation After the green candle, observe next 4 candles. At least one Red candle must form (opposite candle). That Red candle must also close above EMA. Step 3 – Key Level Marking Mark the High of the Red
Professional AI Automation Trading Bot for Forex & Crypto
500 - 1500 USD
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
Binance Ai Trading Bot $US700 budget negotiable
700 - 3000 USD
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Project information
Budget
30+ USD
Deadline
to 10 day(s)