I did something like you describe with the Fibonacci object tool.
Using The Fibonacci Retracement option. draw a fib on chart.
from its configuration box, click on + sign to add new template and name and ok it.
Then check color box and change fib line values, see image.
Close box , delete fib and use that template when you draw new fib.
When set up, point1 is the R1 target and point2 is the entry point.
Once on chart you can manipulate point 1 and 2 for ideal place.
The equal division show the other R targets in multiples of 100%.
You can draw before your possible trade to see if everything checks ok then
use the config box to enter more accurate value for points 1 and 2 or modify when your in trade.
All you need to do is calculate R1 target after entry for Point1.
If you need to go down coding route this may give ideas on what you want.
3 users thanked author for this post.