Reversing Open Forex Positions with Fixed Stop and Target Levels
Summary
This script is designed to reverse an existing position in a currency pair. It opens a position in the opposite direction, places a stop loss and take profit at fixed distances from the current price, and sets the new volume in relation to the position being reversed. The reversal size is capped at half the maximum permitted deal volume for that pair.
Inputs control the volume relationship, allowable price deviation, stop and target distances in points, and the number and spacing of retries after unsuccessful transactions. The document explains the intended mechanics and configurable parameters, but provides no trading rationale, tested examples, or performance evidence. Its scope is execution behavior: it does not describe how to decide when a position should be reversed, how the fixed distances should be calibrated across instruments or market conditions, or how the volume cap affects account-level risk.
Key ideas
- The script reverses an open currency-pair position by placing a trade in the opposite direction.\nStop loss and take profit are set at fixed point distances from the current price.\nFinal trade volume is related to the initial position and capped at half the pair’s maximum deal volume.\nInputs also set price deviation and retries after failed transactions.\nThe document provides no signal rules or evidence that the reversal approach is profitable.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.