What it shows
- Visualises one measurable chart condition.
- Inputs can be changed for your own test.
- The full Pine Script code is visible.
Draws entry, stop and target levels from a chosen reward ratio.
//@version=6
indicator("Chartara — Risk / Reward Planner",overlay=true)
entry=input.float(1.1000,"Entry price",step=0.0001)
stop=input.float(1.0950,"Stop price",step=0.0001)
rr=input.float(2.0,"Reward / risk",minval=0.1,step=0.1)
target=entry+(entry-stop)*rr
pEntry=plot(entry,"Entry",color=color.new(color.white,0),linewidth=2)
pStop=plot(stop,"Stop",color=color.new(color.red,0),linewidth=2)
pTarget=plot(target,"Target",color=color.new(color.green,0),linewidth=2)
fill(pEntry,pStop,color=color.new(color.red,88))
fill(pEntry,pTarget,color=color.new(color.green,88))
Compare the environment this tool depends on before opening an account.