Button + Input Field [for Pending Buy and Sell]
-
hello, I have searched all over the forum and on the internet but I have not found anything about it! Could there be a way to create a field where you can enter the price of the pending order that is sent when you click on a specified button?
Re: Button open pending order at specific price [input field]
-
@duepips Here you have an example:
-
@l-andorrà thankssss
-
@duepips You're welcome.
-
@l-andorrà said in Button + Input Field [for Pending Buy and Sell]:
@duepips Here you have an example:
hi, I realized now that when the price field is changed the variable is not always changed, the numbers flash but the last price set remains, they flash as if they read the ticks, but I loaded them on on Chart! How can I solve? Thanks in advance
-
@duepips Not sure what you mean. Are you using my structure as I shared or did you modify it?
-
@l-andorrà said in Button + Input Field [for Pending Buy and Sell]:
Not sure what you mean. Are you using my structure as I shared or did you modify it?
I changed it but on the test with only one chart it was fine now that I have entered the EA on all charts from this problem
-
@duepips Can you please share the link to the new version?
-
@l-andorrà said in Button + Input Field [for Pending Buy and Sell]:
@duepips Can you please share the link to the new version?
i load on Chart this format:
https://fxdreema.com/shared/IZawdlHN -
@duepips All those orange blocks should be moved to the 'on init' tab. Then they will be plotted just once.
-
@l-andorrà said in Button + Input Field [for Pending Buy and Sell]:
All those orange blocks should be moved to the 'on init' tab. Then they will be plotted just once.
yes I had already tested on on Init and it works well, only that for example the buttons remain pressed, and if you have a command to deactivate the control panel then after reactivating the objects in on Init are not recreated, so they should be overwritten anyway also on on Chart, I need to find a way to optimize the code