
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
Is there such a symbol?
Could you please tell me where the error is? Why are the results different?
Result:
2014.02.17 19:56:38.828 TestFr EURUSD,M15: z=3 FrUpz=1.37083
2014.02.17 19:56:38.828 TestFr EURUSD,M15: z=2 FrUpz=1.37083
2014.02.17 19:56:38.828 TestFr EURUSD,M15: z=1 FrUpz=1.37104
2014.02.17 19:56:38.828 TestFr EURUSD,M15: # FrUp3=1.37056
2014.02.17 19:56:38.812 TestFr EURUSD,M15: # FrUp2=1.37162
2014.02.17 19:56:38.812 TestFr EURUSD,M15: # FrUp1=1.37083
Could you please tell me where the error is? Why are the results different?
Result:
2014.02.17 19:56:38.828 TestFr EURUSD,M15: z=3 FrUpz=1.37083
2014.02.17 19:56:38.828 TestFr EURUSD,M15: z=2 FrUpz=1.37083
2014.02.17 19:56:38.828 TestFr EURUSD,M15: z=1 FrUpz=1.37104
2014.02.17 19:56:38.828 TestFr EURUSD,M15: # FrUp3=1.37056
2014.02.17 19:56:38.812 TestFr EURUSD,M15: # FrUp2=1.37162
2014.02.17 19:56:38.812 TestFr EURUSD,M15: # FrUp1=1.37083
For ease of control, the function is slightly modified to return the bar number
Result
2014.02.17 21:45:57.409 TestFr GBPUSD,H1: z=3 FrUpz=9.0
2014.02.17 21:45:57.409 TestFr GBPUSD,H1: z=2 FrUpz=9.0
2014.02.17 21:45:57.409 TestFr GBPUSD,H1: z=1 FrUpz=13.0
2014.02.17 21:45:57.409 TestFr GBPUSD,H1: # FrUp3=24.0
2014.02.17 21:45:57.409 TestFr GBPUSD,H1: # FrUp2=17.0
2014.02.17 21:45:57.409 TestFr GBPUSD,H1: # FrUp1=13.0
Added explicit initialisation of all variables
Result
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: z=3 FrUpz=24.0
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: z=2 FrUpz=17.0
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: z=1 FrUpz=13.0
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: # FrUp3=24.0
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: # FrUp2=17.0
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: # FrUp1=13.0
Need to show the developers. Something is not right in the functions
I noticed that the code
Print(ChartID()," ",ChartGetInteger(ChartID(),CHART_HEIGHT_IN_PIXELS,0))
placed in the indicator produces strange results. For example, if the chart tab is open, to which the indicator has been reset, the results of the main chart window height are correct.
However, as soon as I leave the "native" chart the result for some reason becomes equal to 75 (of course, in other cases the results may be different), but the Chart ID value remains the same.
When I return to the "native" graph, the height values become correct.
A big request to the developers and those "in the know" to explain what the peculiarity is here. Is it really the way it was intended?! I don't believe it!
If this is the case, please suggest the code that gives the correct height value for the native chart when any tab is open.Added explicit initialisation of all variables
Result
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: z=3 FrUpz=24.0
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: z=2 FrUpz=17.0
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: z=1 FrUpz=13.0
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: # FrUp3=24.0
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: # FrUp2=17.0
2014.02.17 21:50:09.462 TestFr GBPUSD,H1: # FrUp1=13.0
Need to show the developers. Something is not right in the functions
Good afternoon.
The EA code involves I.Kim's f-i. Which involves calling the "mounted" libraries. The code after the "external paremeters" is provided:
However, accidentally (after the same update of mt4 - EA does not work) I noticed a strange entry in the "EA properties" window, "dependencies" tab:
Can you please tell me what this error means and how to fix it (if both libraries are still present in the Include folder)? What does the Libraries folder have to do with it?
Good afternoon.
The EA code involves I.Kim's f-i. Which involves calling the "mounted" libraries. The code after the "external paremeters" is provided:
However, accidentally (after the same update of mt4 - EA does not work) I noticed a strange entry in the "EA properties" window, "dependencies" tab:
Can you please tell me what this error means and how to fix it (if both libraries are still present in the Include folder)? What does the Libraries folder have to do with it?
stderror.mqh imports ErrorDescription function from stdlib.ex4 library, which is located in the Libraries folder, together with the source. Check if you have this file there, if not, get it from any other terminal.
Both folders (Incloud and Libraries) contain stdlib sources. Just in case, I added-copied from the Incloud folder.
But the error described above is still displayed in the "dependencies" tab. Maybe somehow change the calling of these functions: Instead of:
Set the call in some other way?
Or will it be impossible to use I.Kim's functions in the latest version of mt4 now?
Both folders (Incloud and Libraries) contain stdlib sources. Just in case, I added-copied from the Incloud folder.
But the error described above is still displayed in the "dependencies" tab. Maybe somehow change the calling of these functions: Instead of:
Set the call in some other way?
Or will it be impossible to use I.Kim's functions in the latest version of mt4 now?
Make sure that there is stdlib.ex4 executable file in Libraries folder, although it seems to be not Kim's, it is a standard file from delivery.
Alternatively, see what the Kim function takes from it and work out what's wrong.