simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
Yep:
This works – thanks for it!
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
Ok:
… and do you like this kind of work?
I for myself try to avoid it.s.
simplex posted an update 10 years, 4 months ago
My new and possibly temporary avatar picture was inspired by this exhibition: http://www.dhm.de/en/ausstellungen/art-from-the-holocaust.html
simplex changed their profile picture 10 years, 4 months ago
simplex replied to the topic Check the Quality of your Broker's MT Price Feed in the forum Development 10 years, 4 months ago
Quite a good explanation of CrapT4 crappy price feed can be found over here:
http://privatelink.de/?http://www.forexfactory.com%2Fshowthread.php%3Fp%3D5638648%23post5638648
simplex replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
Just a quick note about links to be studied and possibly used for coding later:
http://www.cutthespread.com/spread-betting/does-us-dollar-index-reflect-current-reality
http://www.cutthespread.com/spread-betting/proposal-rebalanced-us-dollar-index
http://www.cutthespread.com/spread-betting/proposal-euro-index
Thoughts about a rebalanced USD…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
Yep:
Since structures were introduced to MQL I can’t imagine how I ever got along without them!
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
I think that in one EA there should be only one function that manipulates the SL. And if there’s a good reason for two different functions doing so (one trailing stop function and one break even function) we’ve got two possibilities: either implement some sort of communication protocol between those functions so they can’t work against each…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
Great work:
I tested it, and after activating DLL import
it displayed a line, except for timeframe M1. When placed on an M1 chart, every second indicator buffer ImpactBufferis empty, so no line is displayed. I failed to find the reason in 5 minutes, so I’ll just report.One basic question: why do you exclude bar zero in your main loop in…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
Great work:
I tested it, and after activating DLL import
it displayed a line, except for timeframe M1. When placed on an M1 chart, every second indicator buffer ImpactBufferis empty, so no line is displayed. I failed to find the reason in 5 minutes, so I’ll just report.One basic question: why do you exclude bar zero in your main loop in…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
One more thing: for a more elaborate example of how to use structures in practice, just study the latest news calendar version fuzzy posted lately.
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
Great!
As I posted somewhere else in this forum, I made the first steps of my ‘coding career’ using IBM punchcards and a language named FORTRAN 77 (now it’s up to you to make a guess about my physical age
) Anyway, OOP was not yet invented in those times.Until now, I failed to get a good grip on the OOP approach. An experienced OOP tutor…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
One additional remark for those who are not familiar with the concept of complex data types: in my above example, I only used structure members of type double. Please note that this could be any data type:
struct trailingStopParameters {[Read more]
double trailingDistance; // trailing distance
double trailingStep; // tra…simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
@smallcat and everybody else interested:
Maybe try to change your view on our community project for a short while: consider we’re not only coding one EA, but a collection of flexible and exchangeable trading software modules instead. The overall goal of these modules should be to facilitate coding an EA, and the EAs which are the result of our…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 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, 5 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, 5 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, 5 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, 5 months ago
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 months ago
Yes:
The same link as mine – thanks for confirming!
s.
- Load More