[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 2

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
Where do you check, in the demo or in the tester?
In the tester
and now in the demo...
It's not working.
in the tester
and now in the demo...
Doesn't work.
Wait, how do they both show 134, they should show values of the same order as the current price, i.e. 1.3075
wait, how can they both show 134, they should show values of the same order as the current price, i.e. 1.3075
that's what they show...I'm struggling with this...print the average values in different EAs....shows values like 134 (on the pound yen) and 1 on the yen. Multiplying by 1000... gives nothing but extra zeros....
in old experts - showing correctly....
in the new ones...mystique....
apparently because the old ones were written BEFORE 12:12:12
and the new ones after....:))
The comparison of real numbers should be done by comparing their difference to zero or to some minimum value:
if(NormalizeDouble(Value_1 - Value_2, Digits)>0.5*Point) {
MA_1 and MA_2 must be of type double.
What is your type?
The comparison of real numbers should be done by comparing their difference to zero or to some minimum value:
if (NormalizeDouble(Value_1 - Value_2, Digits)>0.5*Point) {
of course, it would be interesting, if not ...the fact that in OTHER Expert Advisors this stupid comparison (without normalization) of two averages works for me!!!!
that's what it shows...I'm struggling with this...print average values in different experts...and ALL show values like 134 (on the pound yen) and 1 on the yen. Multiplying by 1000... gives nothing but extra zeros....
Try to print the values in a separate script, if it's the same, try reinstalling the terminal, or copy the indicator files from another terminal where they work.
it would certainly be interesting, if not ...the fact that in OTHER EAs this same dumb comparison (without normalisation) of two averages works for me!!!!
that's what they show...i'm struggling with this...i'm printing average values in different experts....show values like 134 (on the pound yen) and 1 on the yen. Multiplying by 1000... gives nothing but extra zeros....
MA_1 and MA_2 should be of type double
Check.
Try printing the values in a separate script, if the same thing happens, try reinstalling the terminal, or copying the indicator files from another terminal where they work.