Simple script not work!
-
Hello
I tried to made simple script that when press buy bottom it should do buy , but this is not work!
https://fxdreema.com/shared/BNgX7204b
Please help me
Thanks -
I have the same problem, can't get the button to do anything...
-
That "Draw Button" block may draw a button, but the next block 4 does not work with that button. Put "For each Object" before block 4 and point it to the button somehow. Now, note that objects have unique names and if you know the name you can select the object directly. But if you don't know the name, then you search for the object in the pool of objects. Here is more: https://fxdreema.com/examples#Chart-Objects
-
@fxDreema
not work!
I do this
https://fxdreema.com/shared/hFcVSRo9e
but yet not work !
Thanks -
Is there any solution , please

-
-
@Owenb
Thanks so much it seem work properly
-
@Owenb
Do you know how can i get value ? for example get lot size then click on buy bottom and use that value ?
Thanks again -
@Owenb
And do you know how can i use it in script ? i tried many things but i can't do that !
Thanks -
@mohammad2232
A script only works one time from what I know. I just work with what happens when it opens, on init, when there is a tick on tick and what happens when it closes, on deinit -
@Owenb
in many script in mql5 market or base of mt4 one click buy and sell script work properly but i don't know how can i do this with fxdreema!
do you know answer of other question ?
Thanks -
I imagine Scripts like additional functionalities for MetaTrader, something like the icons (buttons) in the menu - you double click on a Script and something happens, but only once. In general, a Script runs for milliseconds (or seconds, if there are trades to be created or deleted) and then automatically exists.