I would like to get your inputs on how to design a simple price ruler for futures contracts.The user will input the tick value of futures contract.Eg $12.5 for ES Futures.I am looking to draw a trendline using this custom price ruler and it should measure the points between A and B.The user will draw the line using the custom tool icon or Shift+Ctrl+Mouse Click and Drag.
In the center of this line,it should display the number of Ticks and the Dollar amount(Number of ticks * user set Tick value) .An example i of the output picture is attached.It will be great if the Ruler tool will support multiple drawings and a delete function with font size and font color options.
@krisnara, I suggest searching the forum for "measure" to examine and study some examples that may serve as inspiration.
1 Like
I will follow your suggestion.Thanks a lot !