Here you go What is done : added a shift for finding maximum and minimum (the high and low band of the channel) In the one you posted it is default 1 so now in this one it is set to default 1 too. Added the price to use for breakout - it is simply the price you want to check and compare to the upper and lower band for a breakout (default is set to close)
So now you can have 2 kinds of alert (controllable with alertsOnDirectionChangeand alertsOnBreakOutparameters) : when the "direction" changes or when the price breaks the upper or lower band for the first time
You are just plainly too good a person to be true.., and i now feel ur own original version is very good ( the one in post #503) and i thank god for giving me the idea of asking you to create one out of nothing.
sweet spot mod
should be possible for somebody of you guys, to code a variation of the classical "sweet spot" indicator to mark the 00 and 50 levels on the chart using colored rectangles instead of lines?
So to have a sort of background on the chart without lines that can clutter the view.
Looks at the picture to have an idea how it should looks like...
The indi should have the following options (aka external input...):
to write or not value labels with optional colors and the possibility to set their position;
to plot on the chart 500/600pips above and below current price;
audio and pop up alert (up/down) when price break trough the levels, but only at candle close otherwise when the price is struggling around the levels it will "rings the bell" continuously.
Thanks in advance!!!
These are what Odysseus and me were cooking
According to Dennis Meyers description (Posted by Odysseus at this post : https://www.mql5.com/en/forum/179807/page34 ) of Repeated median calculation made 2 new indicators : Repeated median slope (which would correspond to Meyers' velocity indicator, but I preferred the slope n the name since it tells more exactly what it actually is), and a Repeated median line
Will describe them in reverse order (the slope is the basis for both, but I think better to describe the line first
What is still pending (will be finished very soon) : right now I am making a dll for the slope version. If you use large Length in slope calculation you will find out that it is a rather slow calculation for large values and that will be corrected by dll, but did not want to make some "secrets" so the mql code shows exactly what is done and how the calculation is done
Hi Mladen/ MrTools,
please don't forget this, I'm really interested in how you code it:
Here you go Depending on what you want to do you have to change 1 or 2 lines. If you want it on a main chart, you have to change only the line that receives the value to smooth from Ima(...) to whatever you want. If you want to smooth an indicator that goes into separate window you have to change the line where it is saying #property indicator_chart_window to #property indicator_separate_window
Commented out in those lines what is to be done.That is all
I know what you think of JMA but thanks anyway
update: now I see why: it jumps and updates a whole bunch of values in the past. (reminds me of that eptf HMA Hodrick-Prescott version you made: that also updated more values than it logically speaking should: further back than FiltPer/2). I can assure you that the original Tradestation version does not do this!
WOW - JUST WOW!
Thanks Mladen, awaiting the DLL slope version...
customizable FIR on iCustom pls
Instead of the JMA, maybe it's better to try it with this one: it's a customizable FIR filter. With some DSP-software I'll be able to tune the MA's better to each specific oscillator. I'm being lazy now but could you do the same for the filter: enable it to be put on any iCustom that you fill in in the code? Thank you.
This is an update of the Repeated median line indicator
I really was unsatisfied with the way how the line starting point (or ending point, depends on how you look on it - coding wise or user wise) was determined in the previous version and, after some digging, found a formula how an intercept for Repeated median is calculated. So this one is using that correct intercept calculation and now it is really highly comparable to Linear regression line (and channel) with the ability of repeated median calculation to resist to "bad points" still intact
This one does not depend so much on the power of the CPU and it does not need the dll (calculation is done only for one point actually and it makes it a light weight compared to the slope indicator) so posting it in mql form since it really is usable now. Left the anchor possibility but you can freely use 0-th bar now since it will not jump around like a goat