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
instead for mt5 there is this function right? ObjectGetDouble
No
ObjectGetDouble() is a simple ObjectGet() in metatrader 4. You have to use ObjectGetValueByTime() function to get what ObjectGetValueByShit() is used for in metatrader 4 (except that you don't use the number of the bar but the time of the bar that you wish to test)
Mladen,
according to you, is it very difficult to create an include file with an indicator calculation? Is there a good explanation on how do it?
Mladen, according to you, is it very difficult to create an include file with an indicator calculation? Is there a good explanation on how do it?
Doc
There is no short explanation for that.
Doc There is no short explanation for that.
indeed I cannot find a real guide, but there are many example
like this one very interesting:
Implementation of Indicators as Classes by Examples of Zigzag and ATR - MQL5 Articles
what's your idea on zigzag professional indy?
indeed I cannot find a real guide, but there are many example
like this one very interesting:
Implementation of Indicators as Classes by Examples of Zigzag and ATR - MQL5 Articles
what's your idea on zigzag professional indy?Doc
Making classes is doing object orientated coding. Much better to make functions that are independent (have their own variables all at one place and they do not depend from the rest of the code - we did that a couple of times in the "whats interesting" thread). Making clases will just slow down your code execution (test some stuff make as classes and you will see what do I mean - it will not work faster even with real binary executable code and with a pcode that metatrader uses it is a simple waste of time)
Doc Making classes is doing object orientated coding. Much better to make functions that are independent (have their own variables all at one place and they do not depend from the rest of the code - we did that a couple of times in the "whats interesting" thread). Making clases will just slow down your code execution (test some stuff make as classes and you will see what do I mean - it will not work faster even with real binary executable code and with a pcode that metatrader uses it is a simple waste of time)
could you please show me this with an indicator here or in the advanced forum? Something like macd of zz
could you please show me this with an indicator here or in the advanced forum? Something like macd of zz
Doc
Sorry, but what would be a macd of zz (since zigzag has only "control points" and macd is entirely based on averages)?
Doc Sorry, but what would be a macd of zz (since zigzag has only "control points" and macd is entirely based on averages)?
I choose the wrong name...essentially I'm talking about the histo of crossing ma with trendlines
I never see something like that, just because probably is not possible
I never see something like that, just because probably is not possible
Doc
It is not impossible. It is simply too specific and, due to usage of trendlines (which are objects) it is sort of "too specific". You already have a solution in metatrader 4 - conversion of that to metatrader 5 using ObjectGetValueByTime() function is not that difficult