I think the problem is related to 'Objects'
If you'll comment out all Object creation and references, you should be able to call with iCustom()
I thought I saw a post by Mladen that addressed that, but I could not find it when I looked.
I posted a Goertzel5.mq4 that I was able to call from an EA.
Thanks for the effort.
In the indicator itself there is already a valid call to itself. When the indicator switches to mtf mode it calls itself to calculate values. The line (in version 5.3) goes like this :
goertzel = iCustom(NULL,timeFrame,indicatorFileName,"","calculateValue",Price,BarToCalculate,StartAtCycle,UseTopCycles,UseCosineForWaves,UseAdditionForSteps,UseSquaredAmp,
Thanks for breaking it down to a dummy like me.
G Browser Trader
Now that i figured out the indicator calling by the help of Mladen, I put together a little EA to visually test cycle stability and performance. DO NOT USE FOR REAL TRADING, only for testing. Please trade responsibly.
Hope it helps.
I have been following the discussion here around goertzel. V. Nice work guys.
Do you think it is possible to make the goerzel look more like the ehlers sine wave looks by adding a signal line that is 1/16 of a cycle ahead of the goertzel indicator?
ignore my request - the projected cycle out the right hand side of the chart is all you really need
Hello Mladen et. al.,
Is it possible to add the future object line drawing ability to the Spectrometr_Separate_Selective Cycle indicator (i.e. future cycle projections for each cycle while maintaining the cycle selection ability and summation)? I am trying to perform a side by side analysis between it and G browser. On initial observation I noticed that the Spectrometr indicator picks cycles quite well and adapts in real time to changing cycles. It seems to have the ability to also filter out which cycles that are not applicable to the observed period and select those that are. Nevertheless, I need to study comparative performance by both further in order to draw a conclusion, hence my request for the modification.
I tried to do it myself but at this stage it eludes me.
Also, while you are at it, as well as other participants, can you take a look at the use of Sine and Cosine functions in cycle extraction and determine if they are optimally used or not based on G Browser discussions in the past (just feedback no need to recode anything). I am asking for a dummied down version of the math involved (been a while since trig class ).
Note: You will need Spectr in the indicator folder for the main indicator to work.
Update: re-attached updated indicator with boolean for cycle meter
G Browser v5.4
Greetings fellow members,
Please find attached version 5.4 of G Browser. In this version i added the ability to color code cycle slope with two different colors in addition to the default color. This will help in determining the moment of slope change (i.e. cycle turn) more visually.
I find it useful for me, hope you find it useful for you as well.
Update: discovered that the coloring feature disables the MTF feature in the indicator and causes the platform to crash. You can still use version 5.4 but only on current timeframe. Still working on figuring out what is causing the bug. I have an idea what the cause may be but not sure how to fix it yet.
Dynamic Money Management
Does anyone have code to programmatically adjust lot sizing based on the number of wins and/or losses?
Reference the bottom of this page for something similar to this request...
EA Creator - create Forex Expert Advisor without programming
Trade execution monitoring
Does anyone have code to measure:
trade execution time (say, from order send to order filled)
trade open time
trade modify time
MTF cycle Kroufr
I think that there is a problem with the mtf Kroufr cycle? Is it possible to fix it? (crash of Metatrader....)
Can you post the "Cycle_KROUFR_version_" too (it is called from the mtf one)