TradeDeck Risk Trade Panel
- Utilità
-
Keisho Yoshida
MQL4 / MQL5 developer from Japan | Expert Advisors, indicators, MT4-to-MT5 conversion
I build trading tools for MetaTrader 4 and 5, with a focus on clean code and verified behaviour.
What I do - Versione: 1.0
- Attivazioni: 5
TradeDeck is a compact trading panel for MetaTrader 5 that sizes every trade from your risk. Enter the risk %, set the stop, press BUY or SELL: the lot is calculated so that a stop-out loses exactly the amount you chose. The loss at the stop and the profit at the target are shown on the panel before you click.
PLACE TRADES
- Risk % of balance or equity
- Stop in pips (points for gold, indices and other non-forex symbols), take profit by R:R
- Line mode: drag the SL and TP lines on the chart; TP follows your R:R until you drag it
- Pending mode: drag the entry line; buy/sell limit or stop is chosen automatically
- The valid side is highlighted in line mode (SL below entry = BUY, above = SELL)
- Checks the broker's stop level and your free margin before sending
- Warns when even the minimum lot is larger than your risk
MANAGE TRADES
- Close all / close only winning / close only losing positions
- Break-even: move stops to the entry price
- Partial close: close 50% (adjustable) of each position
- Delete pending orders
- Buttons act on this chart's symbol or on all symbols (input)
- Optional for panel trades: automatic break-even at N R and trailing stop
INSTALLATION
Attach TradeDeck to the chart of the symbol you want to trade. Enable Algo Trading. Defaults (risk %, SL, R:R, magic number, comment) are inputs; the values on the panel can be changed at any time.
STRATEGY TESTER / DEMO
Buttons cannot be clicked in a non-visual test, so in the Strategy Tester TradeDeck opens risk-sized demonstration trades with the same functions the panel uses, then moves them to break-even, closes half and closes the rest. This mode never runs on a live or demo account.
NOTES
- The lot is rounded down to the broker's volume step, so the actual risk is equal to or slightly below the amount you set.
- Slippage and gaps can make a loss larger than planned.
