![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
bbjurek
Here you go![](https://c.mql5.com/forextsd/smiles/smile.png)
Made 3 "flavors" : 1st is on chart indicator that shows the 2 zero lag Hull moving averages, their slopes and their crosses. 2nd is a histo version that shows relative position of 2 zero lag hull moving averages (it shows trend) as well as on chart arrows. These 2 are multi time frame and have alerts too. And the 3rd one is the one made for EA. It has only the basic (since from the EA you can specify a time frame in the iCustom() parameters and it should be as fast as it it possible) Using it from EA would then go something like this :
regards
Mladen
Dear Mladen
can You make histogram indicator: cross 2 zero lag HMA, EA ready version?
If are possible arrows on chart window and alerts on corss, add they too.
thakns bbjurekupdated version posted here: https://www.mql5.com/en/forum/general
Updated nema crosses (multi time frame version with alerts) : nema_crosses_-_mtf_amp_alerts_nmc.mq4
Originally it was posted here : https://www.mql5.com/en/forum/general
bigdogus4
Here you go
Added multi time framing (just in case, so it covers more options now)
regards
Mladen
mladan, I am new to this and trying to learn to do this, I have search for MA indicator that not only has a visual alert but a audio alert. I have seen this one from BB and like it but i cannot get it to do the audio can you assist please.
Updated version posted here : https://www.mql5.com/en/forum/general
CCI squeeze : cci_squeeze_nmc.mq4
Originally posted here : https://www.mql5.com/en/forum/general
CrustallumKvs
Found this description that is easier to understand what does the indicator do (the description can be found here - FXCodeBase.COM: Forex Chart Indicators and Development • View topic - CCI Squeeze indicator ) : I used the price chosen by MaPrice instead (so it is not fixed to be just close) in comparison, but, by default, it is set to close, so it is the same as their coderegards
Mladen
Hi Mladen
CCI Squeeze Indicator FXCM Trading Station Version
to Metatrader 4 version
Thanks
Code:
function Init()
indicator:name("CCI Squeeze Indicator");
indicator:description("");
indicator:requiredSource(core.Bar);
indicator:type(core.Oscillator);
indicator.parameters:addInteger("MA_Period", "Period of MA", "Period of MA", 200);
indicator.parameters:addString("MA_Method", "Method of MA", "", "MVA");
indicator.parameters:addStringAlternative("MA_Method", "EMA", "", "EMA");
indicator.parameters:addStringAlternative("MA_Method", "KAMA", "", "KAMA");
indicator.parameters:addStringAlternative("MA_Method", "LWMA", "", "LWMA");
indicator.parameters:addStringAlternative("MA_Method", "MVA", "", "MVA");
indicator.parameters:addStringAlternative("MA_Method", "TMA", "", "TMA");
indicator.parameters:addInteger("CCI_Period", "Period of CCI", "Period of CCI", 50);
indicator.parameters:addColor("upB_color", "Color of upB", "Color of upB", core.rgb(0, 255, 0));
indicator.parameters:addColor("loB_color", "Color of loB", "Color of loB", core.rgb(255, 128, 64));
indicator.parameters:addColor("upB2_color", "Color of upB2", "Color of upB2", core.rgb(0, 64, 0));
indicator.parameters:addColor("loB2_color", "Color of loB2", "Color of loB2", core.rgb(255, 0, 0));
indicator.parameters:addColor("line_color", "Color of line", "Color of line", core.rgb(128, 128, 128));
end
local first;
local source = nil;
local MA;
local CCI;
function Prepare()
source = instance.source;
MA_Period=instance.parameters.MA_Period;
MA_Method=instance.parameters.MA_Method;
CCI_Period=instance.parameters.CCI_Period;
MA = core.indicators:create(MA_Method, source.close, MA_Period);
CCI = core.indicators:create("CCI", source, CCI_Period);
first = math.max(MA.DATA:first(),CCI.DATA:first())+2;
local name = profile:id() .. "(" .. source:name() .. ", " .. MA_Period .. ", " .. MA_Method .. ", " .. CCI_Period .. ")";
instance:name(name);
upB = instance:addStream("upB", core.Bar, name .. ".upB", "upB", instance.parameters.upB_color, first);
loB = instance:addStream("loB", core.Bar, name .. ".loB", "loB", instance.parameters.loB_color, first);
upB2 = instance:addStream("upB2", core.Bar, name .. ".upB2", "upB2", instance.parameters.upB2_color, first);
loB2 = instance:addStream("loB2", core.Bar, name .. ".loB2", "loB2", instance.parameters.loB2_color, first);
cciline = instance:addStream("cciline", core.Line, name .. ".cciline", "cciline", instance.parameters.line_color, first);
end
function Update(period, mode)
MA:update(mode);
CCI:update(mode);
if (period>first) then
cciline[period]=CCI.DATA[period];
if source.close[period]<MA.DATA[period] then
if CCI.DATA[period]>0. then
upB[period]=CCI.DATA[period];
loB[period]=nil;
upB2[period]=nil;
loB2[period]=nil;
else
upB[period]=nil;
loB[period]=CCI.DATA[period];
upB2[period]=nil;
loB2[period]=nil;
end
else
if CCI.DATA[period]>0. then
upB[period]=nil;
loB[period]=nil;
upB2[period]=CCI.DATA[period];
loB2[period]=nil;
else
upB[period]=nil;
loB[period]=nil;
upB2[period]=nil;
loB2[period]=CCI.DATA[period];
end
end
end
endUpdated version posted here : https://www.mql5.com/en/forum/general
iVar browser : ivar_browser_nmc.mq4
Original (with detailed description) posted here : https://www.mql5.com/en/forum/general
Well, I hope that this is what you were looking for. I call it a browser rather than a dashboard (since it shows data from all time frames)
_____________________________
It takes all the time frames and calculates nBarsvalues of iVar, and then : Sorting can be done (with SortByparameter) :Level is adjustable (unlike the original) so you are not limited to 0.5 level
regards
Mladen
Hi Mladen, Is it possibble to code a new indicator or dashboard with i-var in order to find out the highest percent of i-var above of 0.5 level in that particular time or the longest duration of i-var above of 0.5 level in that particular time(M5,M15,M30 etc..) So we can find the ideal time frame.For example in my opinion(birdeye view with i-var) M60 is the ideal time to trade in EURO/USD.I hope it is clear and concise, many thanks.
Updated version posted here : https://www.mql5.com/en/forum/general
Rsx_SigMa+histo_mtf+alerts 1.01 from here: https://www.mql5.com/en/forum/general made to be compatible with new mt4 builds.
Hi mrtools / mladen,
would you please be so kind and add interpolations to this Rsx, please ?
thanks in advance
derfelderfel
Here you go![](https://c.mql5.com/forextsd/smiles/smile.png)
Interpolation added to all values
have a nice weekend
updated version posted here: https://www.mql5.com/en/forum/general
RSX of super smoother 2.01 from here: https://www.mql5.com/en/forum/general updated to be compatible with new mt4 builds.