Questions from Beginners MQL5 MT5 MetaTrader 5 - page 609
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I also took the code of the button from the examples, .... How to make button's pressing not fixed, i.e. after its function is executed it returns to its initial state.
As far as buttons are concerned, here is an example from the help:
Please note: Button1 and Button2 are non-lockable, while Button3 is lockable.
Carried over:
George:Please advise such a point:
1. EA + indicator is running
2. The connection to the server is disconnected and all indicator rendering is lost, the data it provides remains.
Can you suggest where to read about it and/or what happens when the connection is lost, why the drawing is lost, but the data remains. Is it possible to redraw it again?
Thanks in advance!
Carried over:
George:Please advise such a point:
1. EA + indicator is running
2. The connection to the server is broken and all the rendering of the indicator disappears, the data it provides remains.
Can you suggest where to read about it and/or what happens when the connection is lost, why the drawing is lost, but the data remains. Is it possible to redraw it again?
Thanks in advance!
Start with the indicator - namely, what happens in OnCalculate() when the "rates_total" parameter is "0":
The first rates_total parameter contains the number of bars available to the indicator for calculation and corresponds to the number of bars available in the chart.
Note the connection between the value returned by OnCalculate() and the second input parameter prev_calculated. The prev_calculated parameter in the function call contains a valuereturned by OnCalculate() onprevious call. This allows for economical algorithms for calculating the custom indicator in order to avoid repeated calculations for those bars that haven't changed since the previous call of this function.
For this, it is usually enough to return the value of the rates_total parameter, which contains the number of bars in the current function call. If since the last call of OnCalculate() price data have changed (a deeper history was pumped or history blanks were filled), then the value of the input parameter prev_calculated will be set to zero by the terminal.
If it's about buttons, here's an example from the help:
Note: Button1 and Button2 are non-lockable, but Button3 is lockable.
This is not a good example:
1 because libraries
2 because it is made by a panel
3 because you don't understand it.
I have sketched two buttons, one is fixed and the other needs to be unlocked - "Add" which needs to be unlocked
how to join a manager?
mmm, have a manager, see the effectiveness of his work, want to "invest".
ps - sorry, I'm a dummy.
mmm, have a manager, see the effectiveness of his work, want to "invest".
I'm sorry, I'm a complete beginner.
Forum on trading, automated trading systems & strategy testing
Questions from Beginners
Karputov Vladimir, 2016.08.25 11:43
Here is the instruction:How tosubscribe to signalsThanks, I'll look into it.
Really, at first approximation....... you have to be in the field to figure it out apparently.
But I'd like to....
Any options? Do I make an application to join, fill out the paperwork, deposit the $ and that's it?
Thanks, I'll look into it.
Really, at first approximation....... you have to be in the field to figure it out apparently.
But I'd like to....
Any options? Make an application to join, fill out the paperwork, deposit the $ and that's it?
Watch tutorial video:Seetutorial video on signals on YouTube
You need to deposit money to your MQL5.account to start a paid subscription. Read more about the Signalsservice FAQ