# Horizontal price offset

**URL:** https://community.tradovate.com/t/horizontal-price-offset/6889
**Category:** Custom Indicators
**Created:** [March 8, 2023, 3:38pm UTC](https://community.tradovate.com/t/horizontal-price-offset/6889 "2023-03-08T15:38:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Elias](https://avatars.discourse-cdn.com/v4/letter/e/41988e/32.png) [@Elias](https://community.tradovate.com/u/Elias)
#### Post date: [March 8, 2023, 3:38pm UTC](https://community.tradovate.com/t/horizontal-price-offset/6889/1 "2023-03-08T15:38:19Z")

</div>

Can someone help me with a custom indicator? Im sure its easy, I just want the last traded price horizontal line to be offset a certain number of ticks up and down, I use this to ball bark my entries and exits.  
@latter-day-trader

---

<div class="post-metadata">

### Author: ![latter-day-trader](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@latter-day-trader](https://community.tradovate.com/u/latter-day-trader)
#### Post date: [March 15, 2023, 12:05am UTC](https://community.tradovate.com/t/horizontal-price-offset/6889/2 "2023-03-15T00:05:17Z")

</div>

You would have to use the Graphics API to draw a line at a particular (price - ticks). You will need to make sure the global property is true and give it a key that is unique so that you only have one line drawn.

[Graphics | Tradovate Custom Indicators](https://tradovate.github.io/custom-indicators/pages/Tutorial/Graphics.html)

[Line | Tradovate Custom Indicators](https://tradovate.github.io/custom-indicators/interfaces/graphics_displayobject.line.html)

If you need more help than this, you can send me a DM and I can give you an estimate on how much time and cost this would be. Good luck.
