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
Hello Igor!
I'm trying to learn MQL4 and due to lack of description of the language operators one problem has left me stumped. I have an indicator with 8 buffers of accumulated data. I need it to be displayed on a timeframe that I have chosen and with the period of the next timeframe. For this purpose, it uses iCustom() operator. But it returns a double value and I don't know how and whether iCustom can and should be used in this case.
I really hope for your help.
Hello Igor! And good afternoon to all!
I am interested in the code which should be entered so that the Expert Advisor does not make any more trades on that day when it closes a trade...
I've found it but it does not work in the strategy tester, I want to test it, what code should I use instead?
Then you should put in the entry conditions
Hello Igor!
Do you have a script that modifies all open positions by volume (lots) for all instruments by a certain percentage? Both upwards and downwards with saving Magic Number for each position?
Hello Leonid!
I did not... I wrote... ChangeLots
Hello, Leonid!
Didn't... wrote... ChangeLots
Hello Igor!
When using your Expert Advisor "e-SampleCase",when I set a stop
less than 100 (10 pips), my tester generates error 130.
I do not know why it does not work correctly.
Please answer!
When using your "e-SampleCase" Expert Advisor, when setting a stop
less than 100 (10 pips), my tester gives error 130.
Stop works fine. Why?
Extended the DC min. corridor for setting stops and takeaways
Expanded the DC min. corridor to set stops and takeovers
>>Thank you! Got it.
Hello Igor!
When using your Expert Advisor "e-SampleCase",when I set a stop
less than 100 (10 pips), my tester generates error 130.
I do not know why it does not work correctly.
>> Please give me an answer.
It's probably because of the introduction of the fifth digit, at Alpari by the way they said you have to increase your stops by 10 times because your 100 pips becomes 10 pips, hence the errors on most pairs...
If you don't mind, tell me how to use your function
Determine the presence and volume of an open position, as well as the presence and volume of pending orders set
Eugene, I find your question a bit redundant because a non-zero volume will automatically mean presence.
Look at the functions:
Perhaps, you can make something useful for yourself.