paidtofade / tradovate-indicators

GNU General Public License v3.0
14 stars 3 forks source link

Question on how to plot rectangle box around the price #2

Closed sdmiami closed 4 years ago

sdmiami commented 4 years ago

Hey p2f,

Thanks for all the great work with Tradovate indicator.

Creating UI/Drawing is tricky, I was trying to reuse your custom plotter code from Range Boxes to plot box around the price.

I would like to achieve below, I have price + tick size of contract

Since you have something working for Range Boxes, Can you suggest how can we plot as above ?

sdmiami commented 4 years ago

Thanks for creative drawing idea, I was able to fulfill my requirement

https://github.com/sdmiami/tradovate-custom-indicators/blob/de8f6357123d7cdb9aa133c56ba909612b84166b/script/barVPOC.js#L43