Quick-tip 57 | Find price where TradeStation chart clicked

3 years ago
11

_Quick-tip 57 is a TradeStation EasyLanguage tutorial for TradeStation 10 that demonstrates how to see the price level of a click on a chart. This information could, potentially be used by another algorithm (for example, creating an order ticket.) The tutorial uses the ChartElementClick event which is associated with a drawing object. The program also uses the charting host object to detect when the chart is clicked.

The program works by working out the price at the top and bottom of the chart window. It calculates click position in pixels relative to the top and bottom of the chart window and use this data to calculate what price level was clicked.

See https://markplex.com/free-tutorials/tradestation-easylanguage-quicktips/quick-tip-57-find-price-where-chart-clicked/

Loading comments...