Support Board
Date/Time: Wed, 27 Nov 2024 00:25:19 +0000
Post From: Custom Drawing Tool not Chart Study
[2016-07-01 16:35:31] |
JohnR - User831573 - Posts: 306 |
Hey Jason, I am just a little ahead of you in the beginning process, so take what I say with a grain of salt. You can create custom drawing tools using the existing drawing tools, lines, circles, pitchforks, etc. You can create an study/indicator and have it not update on every bar, but only be called by associating it with a button, which there are, I think, 50 or you can add a line to the popup chart menu, but not the main menu. Also, you can have combine multiple things (lines, dots, tools) into one, so when it is referenced or moved, it acts as one. I have not completed my tool, which is a dynamic gann fan, which Don Fisher started many years ago, but hope to make a lot of progress over this long weekend. There is a lot of great sample code, and all answers are in the docs, but to me, I had to look around to piece the parts together. What I did is create a word file and cut/pasted into it every time I found either an API or snippet of a function I needed to complete the process. Ex. Your tool needs to have a function to catch when it is being unloaded, to release resources. Is that what you are looking for? John |