Buttons don´t work
-
Hi,
I need some buttons for my new market scanner, but it doesn´t work and I don´t know why??? I´ am go crazy.
I search the forum about buttons and can´t find a problem in my "programming". Here are all my attempts. Maybe someone find any mistake??https://fxdreema.com/shared/6faA22rme
Greetings
Mike
-
try this: blocks 8 and 5 place into on Init section and delete it from on Tick section
-
Why do I think that I answered to this somewhere...

-
Thanks for sloving this problem. Now it works verry well.
I´ve tried an example that you´ve posted at the forum: https://fxdreema.com/shared/Pfjo9efid
There is the button not on "Init" but on "Tick" so I thought I do right.Maybe to avoid from useless questions you should put an example under "example".
To search the whole forum is nearly impossible particularly if english is not your native language.Greetings Mike
-
All "Draw..." blocks can make multiple objects, or work with only one. Depends on the first 2 parameters. But if you need only 1 object, there is no good reason to have the block inside "on Tick", it's more than enough to run the block once in "on Init" and forget.