RobotFX curates the best open-source MetaTrader code to inspire your trading automation.

When you drag this script onto the chart, it will calculate the price where you drop the script and use this price to figure out if a Sell Stop or Sell Limit pending order should be placed.
The stop loss is calculated from the Risk Percentage input. The take profit is then calculated using the stop loss and Reward Ratio.
It is a pretty simple script, so enjoy!
Trade Renko charts automatically using the advanced Renko Expert Advisors. Clean trends, better entries. Discover them here.
Complement community code with advanced automation from RobotFX.
1858