I have an existing EA that works fine except for the partial takeprofit element.
Currently, it has a five step level of partial takeprofit:
string _group_12_ = "+++";
bool partialtp = false; // partial close at takeprofit 2,3,4,5
double takeprofit2 = 10; // takeprofit 2 to close a certain percentage of
lot
double tp2percentage = 40; // percentage of lots to close at takeprofit 2
double takeprofit3 = 20; // takeprofit 3 to close a certain percentage of
lots
double tp3percentage = 20; // percentage of lots to close at takeprofit 3
double takeprofit4 = 30; // takeprofit 4 to close a certain percentage of
lots
double tp4percentage = 20; // percentage of lots to close at takeprofit 4
double takeprofit5 = 40; // takeprofit 5 to close a certain percentage of
lots
double tp5percentage = 10; // percentage of lots to close at takeprofit 5
Problem is, none of these partial take profits work, at least not in backtesting. I want them to work in backtesting and live. So you might need to
examine the code and see what needs to be tweeked.
Also, I would like three additional partial takeprofit levels to be worked out based on ATR.
I already have the formula for the ATR takeprofit (as it is used for my takeprofit), but I would like to add it to the partial takeprofit as an
option. Please show me that these partial take profits can work in backtesting and live.
Benzer siparişler
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
I am looking for an experienced developer to build a professional web-based trading performance dashboard connected to an MT5 trading account and/or FX Blue. The dashboard should automatically collect trading data and display: • Daily P&L calendar – profitable days green, losing days red and no-trade days grey • Equity/growth curve • Drawdown curve • Initial capital and current balance • Net profit and percentage
I need a trading system similar to the attached files. Check attachment for details on the indicator. i guess the indicator contains some of (Rainbow MA , MTF Dashboard , Symbol Switcher , and Trend Histogram), though may not be exactly as listed