This script uses cheatcountryscript to calculate Ehlers Instantenous Trendline .
Backtest offers 3 capital management tools. One that will always calculate order size as initial capital/close, one that uses the same calculation but adds or substracts profit. The last one allows you to enter manually the size you want to trade.
Green and red horizontal lines are profit/stop values.