@simplex
Active 1 year, 7 months agosimplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
I absolutely agree:
That would also lead to a well-structured design based on exchangeable modules instead of a monolithic design that’s getting harder to manage with each additional feature.
To make single modules exchangeable, it’s also required to refrain from any use of global (input) variables inside those functions. Every function should…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
I absolutely agree:
That would also lead to a well-structured design based on exchangeable modules instead of a monolithic design that’s getting harder to manage with each additional feature.
To make single modules exchangeable, it’s also required to refrain from any use of global (input) variables inside those functions. Every function should…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
I absolutely agree:
That would also lead to a well-structured design based on exchangeable modules instead of a monolithic design that’s getting harder to manage with each additional feature.
To make single modules exchangeable, it’s also required to refrain from any use of global (input) variables inside those functions. Every function should…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
Hi @VlanFx
I think that I have a solution now regarding our Partial Closing vs. Moving SL to BE issue. My solution aims to address both functions independently from each other, with no logic interdependence. Also the triggers for both values are volatility based using ATR multiples. Partial close will only be performed once per original…[Read more]
simplex and
VlanFx are now friends 10 years, 3 months ago
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
Yes:
The same link as mine – thanks for confirming!
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
Yes:
The same link as mine – thanks for confirming!
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
Ok, first of all I tried to get a grip on your ‘never trade against it’ rule, and failed. Maybe it’s just my noob interpretation of what that rule really means.
Some USD based examples on H4, showing your plain and USDx version of ForexGT Dollar Index.
AUDUSD: nearly perfect, but the reversal at the right end seems to be better resolved by the…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
Ok, first of all I tried to get a grip on your ‘never trade against it’ rule, and failed. Maybe it’s just my noob interpretation of what that rule really means.
Some USD based examples on H4, showing your plain and USDx version of ForexGT Dollar Index.
AUDUSD: nearly perfect, but the reversal at the right end seems to be better resolved by the…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 3 months ago
That’s a good question, and the answer obviously is no. If price is trending strongly, counter-trend price action will hardly ever hit the boundary for an entry signal. If this happens, it might be more interesting to look for confirmation of a reversal.
That simple asymmetric feature only makes sense during very weak trends, or…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
Thanks, will give it a try!
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
@fuzzy:
Note that this only works with
#property strictset, otherwise the variable name will be displayed. I like that feature because it provides much more freedom to design a good user interface in the input dialog.Thanks for your new version. Your description sounds more than good and I will check it out during the weekend!
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
@fuzzy:
Note that this only works with #property strict set, otherwise the variable name will be displayed. I like that feature because it provides much more freedom to design a good user interface in the input dialog.
Thanks for your new version. Your description sounds more than good and I will check it out during the weekend!
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
Ok, thank you! That upscaling will obviously be trivial. I assume the numbers are from this report (p. 5).
But after that step I’m afraid we might get stuck at a similar point of discussion like weeks ago, when we failed to define a common view about the proper algorithm to implement those numbers.
At the moment I’m having no new idea regarding…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
Thank you for sharing your model! I tried to understand it and compiled your numbers into a spreadsheet – see attachment. I’m getting slighly different numbers, maybe I misunderstand some detail.
USD/EUR 24.1 vs. 27.2
USD/JPY 18.3 vs. 18.7
USD/GBP 8.8 vs. 9.6
and so forth …Could you give me some feedback regarding the…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
@fuzzy:
Looking at the way you’re addressing the ‘news problem’ makes me feel confident that everybody can relax now about this topic. It’s obviously in good hands!

Enjoy your weekend … looking forward to your further contributions!
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
Great one:
You announced tidy code … I found tidy code. I really appreciate that!

Just one little remark about your input dialog – see pics. Your internal remarks (30, 15) are not very informative on the user’s side. I would suggest to replace
sinput int minutesBeforeNews = 150;//30sinput int minutesAfterNews =…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago
At the moment only in my brain or on my hard disk. I will post my version later this morning. Stay tuned, please!
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 3 months ago
I continued tweaking the Clear Indicator. Embedding it in an asymmetric ATR based channel seems to provide some nice entry triggers.
What do you think?
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 3 months ago

I love tidy coding!
If the EventSetTimer method of an indicator called by iCustom affects the timer event handling of the calling EA … that would be what I consider a mega-bug. It should not happen.
But the original plan was (if I’m not wrong) to have not only a news indicator, but to compile it to a callable stand alone function…[Read more]
- Load More