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.
This content is for general education and information only. It is not investment, financial, legal or tax advice, and it is not an offer or invitation to trade. Forex and CFDs are high risk and you may lose all funds committed. Verify applicable law, licences, product terms and suitability independently before making any decision. Information can change and Chartara does not guarantee accuracy, completeness or outcomes. Decisions and resulting gains or losses remain the user’s responsibility to the extent permitted by applicable law.