@javaai
Active 10 years, 3 months agosimplex replied to the topic Rebuild a Indicator in the forum Indicator discussion 10 years, 2 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]
simplex replied to the topic Rebuild a Indicator in the forum Indicator discussion 10 years, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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.
smallcat replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
Thanks a lot G, will look at it again …

smallcat replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 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, 2 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, 2 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.
moon joined the group
Node.js + MQL4 Development 10 years, 2 months agosimplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 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]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
Ok, something has changed with the new version: we’re having a constant output = 0 now when calling via iCustom().
When calling the lib directly it remains a constant -12.
I’ve had an idea regarding iCustom() use: the EA is executed using timeframe H4, but your news indicator requires lower timeframes to display correctly. So that version can’t…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
@fuzzy: just found your new PM with the new code you sent me minutes ago – thanks! Will give it a quick try and report back.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
I’m still working on the integration of the news calendar lib in our EA, having tried two versions: one function calling the calendar lib directly, and one calling the impact indicator via iCustom(). None of them are working by now.
Attaching the indicator to a chart manually works fine: news are updated and levels are displayed.…[Read more]
simplex replied to the topic Trading like Newton?! in the forum General Discussions 10 years, 2 months ago

simplex replied to the topic Trading like Newton?! in the forum General Discussions 10 years, 2 months ago
The probability depends on the input parameters chosen, see my post over here and the following posts. You can achieve 97 % under any market condition if you’re willing to wait long enough.
simplex replied to the topic Trading like Newton?! in the forum General Discussions 10 years, 3 months ago
I would consider that statement as rather trivial, at least when taken literally. What’s its value?
Why take the open price of a certain candle into account? We already discussed that somewhere. It’s just an arbitrary choice because we need some point in time to start an analytic interval. And if it’s arbitrary, it might be discussed to choose…[Read more]
simplex replied to the topic Trading like Newton?! in the forum General Discussions 10 years, 3 months ago
I fully agree to your doubts.
Using analogies between price dynamics and mechanical dynamics of physical bodies is always dangerous. It’s ok to use a certain word, e.g. ‘momentum’, to describe some effects in both worlds. But it’s dangerous nonsense to believe that if you use one word for two different things the math behind is the same in both…[Read more]
- Load More