Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 924
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
Now checking, the hai of the three bars before and after should be less than the hai of the bar found.
Probably like this:
Thank you, it works.
But after increasing the number of bars, like this:
arises.
arrayout of range in 'ta_v1_05.mq4' (174,11)line 174, this one:
please tell me how to fix it.
danik: are you sure that x is a natural number or 0? if high_i = e.g. 6, then x = -1 and high[-1] is already a problem. maybe add a check if (x < 0) continue to line 173;
For the other values you need to change them all over the place.
You could start with this, and then see if this solves the problem or if there is something else that needs to be fixed.
Hello, could you please advise me, there is a function to close orders, but the orders are not closed for some reason, I can't figure out what's wrong
The price cannot be int!
int ClosePrice;
The price cannot be int!
Please, help me to find a bug in the code, it seems that ZeroLag MACD should draw two lines for EUR\USD and GBPUSD, but nothing happens. Here is the code
Rumor has it that IndicatorCounted() does not work, also indicator recalculation is more correct to count from past to present, and there are some more errors in the code.
P.S. ZeroLag MACD itself should also be "adjusted" for the new virtual machine.
Thank you, it works.
But after increasing the number of bars, like this:
arises.
array out of range in 'ta_v1_05.mq4' (174,11)line 174, this one:
please tell me how to fix it.
Isn't that what you're looking for?