Optuma Forums › Optuma Feature Requests › Price Target tool › Reply To: Price Target tool
November 25, 2021 at 11:28 am
#66738
- Topics: 5
- Replies: 602
- Posts: 607
Hi,
I’ll keep an eye on this post to see how much demand there is for a feature like this. In the meantime you maybe able to achieve a similar result using scripting. In the following example you would add the script as a custom toolbar button then apply it to the chart…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
V1 = Points().Point1.Price; #$a = 1.05; #$b = 1.10; V2 = v1 * VARTOLIST(VAL=$a); V3 = v1 * VARTOLIST(VAL=$b); plot1 = V1; plot1.Colour = Black; plot1.Linestyle = Dash; plot2 = V2; plot2.Colour = Green; plot3 = V3; plot3.Colour = Green; SHADE(plot3,plot2, DOWNCOLOUR=Green) |
This would plot a black dashed line at the selected price, then plot a shaded zone 5% (1.05) and 10% (1.10) above that price as your targets. In the tools properties you can adjust the % of both target levels (don’t need to edit the script each time).