simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
G.:
I spotted the time interval and checked with my version. The indicator looks pretty similar, but it’s hard to believe that there are SO many deviations in our price data.
I’ll post my indicator in the main thread for you to check.
s.
simplex replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 6 months ago
Hi Guys!
Some of you will possibly remember that I don’t get tired to emphasize how important it is to include
#property stricton top of practically every MQL code.This afternoon I downloaded an indicator that shows a nice example of why this is so important. Experienced coders see it at a glance, but newbies please take some minutes to think…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
I don’t want to clutter this thread, but please be cautious with this ‘Teacher Volume’ Indy. Messages displayed will probably be buggy. Details can be discussed elsewhere if somebody’s interested.
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Thanks, G.
I interpreted smallcat’s interval of 5 bars as an example and followed his pic in my reply.
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Ahh, the server again: obviously there’s only one directory for all attachments. I’ve had that also.
Thanks, s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Hi @VlanFx!
Thanks for this!
The mqh name does not match the include directive in the EA file. Misspelled in the code or wrong library posted?
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
highest low: watch all 5 lows in your interval, choose the highest one (the highest among the lows)
lowest high: watch all 5 highs in your interval, choose the lowest one (the lowest among the highs)This is the common interpretation. I don’t think that G. follows a different one.
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
If both indicator and EA are referring to the same MQH lib, there shouldn’t be any problem: recompile both, and you’re done.
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
@gg53: You wrote Please don’t post EA versions here. Read thread instructions.
I must admit that I failed to find ‘thread instructions’, all I remember at the moment is this post.
Last night I opened the Trading made REALLY Simple: Coder’s Chat to keep information together in one point and remove the clutter from your main thread, keeping it c…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
You posted an EA fork here. You said you didn’t know why it does not compile. My compiler gives a clear message (see pic). Did you miss to include a library file in your post?
BTW: besides the error, there are 38 compiler warnings. Would be good to get rid of the, imo.
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
You posted an EA fork here. You said you didn’t know why it does not compile. My compiler gives a clear message (see pic). Did you miss to include a library file in your post?
s.
simplex started the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Hi Guys!
Since @gg53 started to conduct our joint efforts to get a Community EA up and running, there were several calls from him to contributors (me included) to discuss certain topics outside the Trading made REALLY Simple thread until they are mature enough to be proposed ‘officially’ and maybe included in our EA.
From a coder’s point of…[Read more]
simplex started the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Hi Guys!
Since @gg53 started to conduct our joint efforts to get a Community EA up and running, there were several calls from him to contributors (me included) to discuss certain topics outside the Trading made REALLY Simple thread until they are mature enough to be proposed ‘officially’ and maybe included in our EA.
From a coder’s point of…[Read more]
simplex replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 6 months ago
Remember what I wrote about my opinion re. commenting your code over here? Just found a nice example (from a well-known coder) how the function of an absolutely simple indicator init sequence can be shaded by nonsense commenting.
All I did in the second version was delete all inline comments, add a simple function comment block on top, and rename…[Read more]
simplex replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 6 months ago
No, two simple steps:
declare global arrays of type double for your buffers
make them a buffer with SetIndexBuffer(). For all visible buffers, you set an index style and label. For the invisible ones, you do not set style and label.That’s all.See pics from my CIX (I posted it).
Please note that buffer bDiff can be switched between visible…[Read more]
simplex replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 6 months ago
No, two simple steps:
declare global arrays of type double for your buffers
make them a buffer with SetIndexBuffer(). For all visible buffers, you set an index style and label. For the invisible ones, you do not set style and label.That’s all.See pics from my CIX (I posted it).
s.
simplex replied to the topic Coders Supporting Coders in the forum Development 10 years, 6 months ago
Hi guys!
Can anyone provide John F. Ehlers SuperSmoother Filter as an MQ4 class instead of a function?
Or if not a class, then a multi-instance version of that filter coded in non-recursive style?
Best, s.
EDIT: cancel this request! After getting to bed a bit earler last night I did it myself this morning!

simplex replied to the topic Coders Supporting Coders in the forum Development 10 years, 6 months ago
Hi guys!
Can anyone provide John F. Ehlers SuperSmoother Filter as an MQ4 class instead of a function?
Or if not a class, then a multi-instance version of that filter coded in non-recursive style?
Best, s.
simplex replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 6 months ago
@smallcat: since build 600 we can have up to 256 buffers in an mt4 indicator. Early this year I coded an indicator that used about 50 buffers for internal precalculations. The memory and cpu consumption was horrible at first. Then I reconsidered: do I really need all those bars on my charts? I limited it to 20000 maximum bars per chart, loaded the…[Read more]
- Load More