Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 01:42:02 +0000



Post From: Drawing Tools: a few requests

[2015-01-14 20:54:48]
WarEagle - Posts: 70
Ok, thank you for checking for me.

I might go with #3 since it wouldn't be too difficult. However before I go that route I would like to see what I can do in ACSIL. Thanks for the link and I have looked over the sample code (MenuAndPointerExample) in studies.cpp. I created a custom indicator with that code to test it but it only seems to print out the last Y value of the mouse before I click the button on the tool bar. This value is simply the highest Y value on the chart as my mouse passed over it on the way to the button. None of the other things in the code seem to work but I could be doing something wrong since I have never used a tool bar button for a custom indicator.

Is there any sample code with something simple, like using the pointer events to record clicks on a high and low of a swing and then simply drawing a trendline between those points? Is that something that would be possible with the pointer events?