simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
@gg53 pointed out that my MTF Clear Method Candle Indicator behaves strange on timeframe and / or symbol change – thanks for that!
Indeed there was a bug in the timeframe management section ( OnInit() ).
Please find a bugfixed version attached.
Note to the coders: there was no change in the mqh library.
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Thanks, I’ll have a look inside.
s.
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Changing TF’s or currency pairs on your ClearMethod MTF version, causes the MTF to disappear, manual refreshing returns the indicator to correct state.
G.
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Changing TF’s or currency pairs on your ClearMethod MTF version, causes the MTF to disappear.
G.
simplex replied to the topic Rebuild a Indicator in the forum Indicator discussion 10 years, 6 months ago
You can easily identify decompiled code looking at the variable names: if the complete code contains no meaningful variable names, only seemingly generated ones like var_2, var_4, int_16, int_64, and so on then it is most probably decompiled. The reason is that during compilation function names are preserved, but variable names are lost. So while…[Read more]
simplex replied to the topic Rebuild a Indicator in the forum Indicator discussion 10 years, 6 months ago
You can easily identify decompiled code easily looking at the variable names: if the complete code contains no meaningful variable names, only seemingly generated ones like var_2, var_4, int_16, int_64, and so on then it is most probably decompiled. The reason is that during compilation function names are preserved, but variable names are lost. So…[Read more]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
ClearMethod Peaks & Troughs can be further enhanced by using ADX (some modifications of an “ADX Candles” indicator).
G.
simplex replied to the topic Rebuild a Indicator in the forum Indicator discussion 10 years, 6 months ago
One more thing, having a quick look at those decompiled things: if somebody declares loop indexes as global variables, he obviously does not know what he’s doing.
Do yourself a favour and dump these indicators. Might save you much trouble while trying to rebuild.
One additional note: as a coder, I do not like my own code to be decompiled. So I…[Read more]
simplex replied to the topic Rebuild a Indicator in the forum Indicator discussion 10 years, 6 months ago
Hi blueface,
Maybe contact the original author and ask for a bugfix?
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Ok, this is version 1.4 of our Community EA. It took me a little longer than announced to put it together, because I’m not so accustomed to implementing class based libraries. But fuzzy was a great support, and most of all he did a wonderful job coding that lib based on the old sources of Derk Wehler and others. Great job!
A brief list of changes…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Ok, this is version 1.4 of our Community EA. It took me a little longer than announced to put it together, because I’m not so accustomed to implementing class based libraries. But fuzzy was a great support, and most of all he did a wonderful job coding that lib based on the old sources of Derk Wehler and others. Great job!
A brief list of changes…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Ok, this is version 1.4 of our Community EA. It took me a little longer than announced to put it together, because I’m not so accustomed to implementing class based libraries. But fuzzy was a great support, and most of all he did a wonderful job coding that lib based on the old sources of Derk Wehler and others. Great job!
A brief list of changes…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Nice post, G. – thanks a lot for that!
Looks like additional homework for the coders, so it’s about time I post my EA v 1.4. Will do so later this evening.
s.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
About User Market Sentiment:
Sometimes a user have his own idea about market direction or some fundemental knowledge or preference.
In order to cater for that we need another User Parameter which can handle 3 states: Long only, Short Only, Both (LSB or 1,-1, 0).
The EA logic should take that parameter into consideration and trade only in the…[Read more]smallcat replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Thanks a lot G, will look at it again …

gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
This belongs in one of the Currency-Strength threads. I posted my “index” version as a suggestion to simplex CIX addition/option.
G.
smallcat replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Hi G,
About the market share, do i calculate it based on its pair “portion” ?
USD = ( EURUSDs1 + GBPUSDs2 + AUDUSDs3 … ) / 7.
So, the value of s1 = mEUR/mUSD , s2 = mGBP/mUSD … where mEUR is the share of EUR and mUSD is the share of USD.
Or we do it for each currency , after all other calculations like Vol, Momentum, etc are made :
[Read more]smallcat replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Hi G,
About the market share, do i calculate it based on its pair “portion” ?
USD = ( EURUSDs1 + GBPUSDs2 + AUDUSDs3 … ) / 7.
So, the value of s1 = mEUR/mUSD , s2 = mGBP/mUSD … where mEUR is the share of EUR and mUSD is the share of USD.
Or we do it for each currency , after all other calculations like Vol, Momentum, etc are made :
[Read more]simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Ok, news calendar is working now! Fuzzy did a wonderful job coding that lib as a class. Once I’ve learned to implement classes correctly I might be able to do the job a little faster next time

Some code cleaning now on my side of the implementation, green light from his side and we’re going public with v. 1.4.
Stay tuned!
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
OK, we’re getting closer! A little sleep helps, and fuzzy’s PMs also help

First of all the first line of code I posted above was complete nonsense:
datetime serverTime = Time[0];Replace it with
datetime serverTime = TimeCurrent();and things might work!
During backtest calendar XML files were not being created in the testerfiles f…[Read more]
- Load More