Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1824
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 can do it in principle, the hardest thing for me is to write the price to a file and calculate the time
Why write it to a file, you can do it like this?
It's not hard either, the moment you start counting
We will deal with issues as they arise...
First you have to make a table and define what should be there and where, and then write functions
I tried to fix the price by pressing the button through a variable, hoping that when the price reaches this variable, the order will be opened, but no miracle happened. Help.
Although the function is theoretically correct, if I put
if(Ask == pricefix)
then the order opens immediately, but I need it to be 4 points lower after rememberingI was sort of trying to do a price fix via a variable, hoping that when the price equals that variable, an order will open, but no miracle happened. Help.
Although the function is correct in theory, if I set
The order opens immediately but I need it to be 4 pips lower after remembering
Hi!
I have a question.
Is there any way to remember the maximum drawdown?
I.e. today's drawdown is 16% and 20 days ago it was 5%, so the maximum drawdown is 16% and if tomorrow it is 24% then the maximum drawdown is 24%.
Or it is difficult to remember.
Hi!
I have a question.
Is there any way to remember the maximum drawdown?
I.e. today's drawdown is 16% and 20 days ago it was 5%, so the maximum drawdown is 16% and if tomorrow it is 24% then the maximum drawdown is 24%.
Or it is complicated.
CodeBase has indicators that display the Balance, Equty history from the trading history. There is more than one such tool.
Take the data and calculate it like a normal indicator
CodeBase has indicators that display Balance, Equty history from the trading history. And there is more than one, such tools.
Take the data and calculate it as for a standard indicator
Well of course you can output to an indicator and do comparisons.
Thank you!!!
tried it, it starts opening orders non-stop
tried it, it starts opening orders non-stop
Right, no check for open orders.
No button release function :)
Right, no check for open orders.
I'll try to add it and report back.