Moving a Trendline Around A Chart
Cool. like paying a game.
How about ObjectDeleteAll in deinit() ?.
D'you have a mouse clicks ?
onewithzachy:
I really dislike it when people do that . . . . IMO an Indicator or Script should delete it's own Objects . . . but not all.
Cool. like paying a game.
How about ObjectDeleteAll in deinit() ?.
RaptorUK:
I really dislike it when people do that . . . . IMO an Indicator or Script should delete it's own Objects . . . but not all.
I really dislike it when people do that . . . . IMO an Indicator or Script should delete it's own Objects . . . but not all.
(: You're right :)
dabbler, I forgot to thank. Thank.
This script may or may not be of interest to anybody directly, but it does also show by example how to read the keyboard, which may increase its usefulness.
Be warned that reading keys like this will take key presses that "belong to anyone". In other words if the key is pressed for any reason the script will react. It doesn't matter if the window focus is on a Word document on another screen, this script will read the key and act on it. I do not recommend this method for live trading activities such as one key buy/sell for the reason just mentioned. I am just using it to test some ideas on charts.