Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 228
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
Made a sketch ..................................
How do I set the averaging period in the custom indicator, for enumeration in the tester?
https://docs.mql4.com/ru/indicators/iCustom
Instead of a dotted line, enter your parameters in the exact same order as in the indicator code.
Good afternoon.
Help me out, I'm confused.
There is a custom indicator.
It has two buffers,
If it is trending up, the indicator puts value in buffer 1 and colours the curve part blue.
If it is going down, the indicator put value in buffer 0 and change the curve part in red.
I need to know which way the trend is going, should I check the buffer value for EMPTY_VALUE or what is the value greater than zero or null ?
because if the value is zero then it is not EMPTY_VALUE
is it correct ?
Hello.
I am facing this problem. I am setting variables for counting orders and making trade decisions on them. But MetaTrader is using them as global variables. As a result, when I run the Expert Advisor on two or more currency pairs. It makes decisions based on the total number of orders.
How to fix it? The task is to make decisions based on the number of orders only for its own pair.
code:
Good afternoon,
Question on strategy tester in mt4.
I download, install and update the terminal using my broker's links.
Tried to reinstall it several times. But the tester keeps freezing
after you hit start. Only sometimes all of a sudden it decides to work and
and runs the test as it should be. I've loaded the quotes. Nothing has changed.
Is it just me with Windows 7 or is the tester in the terminal not working?
How to fix it? The task is to make decisions based on the number of orders only on its own pair.
Hello.
I am facing this problem. I am setting variables for calculating orders and making trade decisions on them. But MetaTrader is using them as global variables. As a result, when I run the Expert Advisor on two or more currency pairs. It makes decisions based on the total number of orders.
How to fix it? The task is to make decisions based on the number of orders only for its own pair.
code:
The staples are missing....
I do not see problems in this area except to reset BuyCount to zero.
I am zeroing it just above. It is not indicated in the copied section.
But EAs from all pairs stack their orders there and work out their logic from the amount.
I cannot understand why my ***Count variables work as global.
The logics is working in the Strategy Tester.
It is working correctly on the demo. Two pairs and more and all together they all execute the same logic.