Skip to content
All library documents

Opening a Long Trade with Adjustable Risk and Reward Inputs

Article MQL5 code base

Summary

This document describes a chart-based script for opening a long position at the current price. Before execution, the user can set a risk percentage and a reward ratio through the script’s input prompt. The stated workflow is to apply the script to a chart, adjust those inputs if needed, and submit the order. The description says the script limits the risk percentage to 20% and advises checking the platform’s expert log if an order fails.

The material is a brief operating note rather than a complete trading strategy. It does not explain how position size is calculated, how stop-loss or profit-taking prices are chosen, or what market, order type, or account constraints apply. It provides no backtest or evidence of profitability. Traders would need to inspect the underlying script and verify how its risk and reward settings translate into actual orders before relying on it.

Key ideas

  • The script opens a long trade using the current chart price.
  • Users can adjust a risk percentage and reward ratio before execution.
  • The described risk-percentage setting has a 20% ceiling.
  • The document does not explain the sizing formula, exit mechanics, or performance evidence.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.