• Get access

Requests & Ideas - page 67

odysseus11
118
odysseus11  

ah I see - thanks!

Odysseus

SIMBA
2078
SIMBA  

Using spline(s)

Mladen,

Please take a look at the pictures.

What I want is for a modified trendline that works nonlinearly...a curve.

User fixes starting point and a minimum of 2 additional points,or a maximum of 3 additional points then the nonlinear trendline curve is drawn,projecting into the future(like radius mode in normal tl).

Thanks for your consideration.

Regards

S

Files:
nltl1.gif 67 kb
nltl2.gif 72 kb
Mladen Rakic
163390
Mladen Rakic  

simba

Just an update : I am doing something regarding the last request (the Nonlinear trend line) and it is currently at this state (these are just 2 quick working examples with 5 control points, but points are going to be freely definable and one will be able to move them around at wish) :

There are still some things to do (things that need to be checked and rechecked) and some things how the indicator should "remember" its states when closing metatrader (that probably will be the most tricky thing to do - metatrader does not make a difference of indicator removing and closing the metatrader itself)

__________________________________

Anyway, am tired a bit now (must grab some sleep) and will continue tomorrow, but the real test will be only on Monday (no way to test some things in back test - this one is really a specific one)

So, I hope it will be finished soon and then we shall have one more tool that is at least very rare at metatrader (and it seems on any other platform too - frankly I have been looking around and I haven't found anything usable on tradestation, ninja trader, metatrader (one interpolation that is posted for metatrader (this one : https://www.mql5.com/ru/code/8566 ) is anything but usable for this purpose, and frankly, I fail to see its usability at all in the form it is)) not just because of this way of using splines (since this is a spline ) but I am eager of testing spline interpolation in some sort of multi time frame or with some peak finding stuff (who knows what can we get )

Good night to all now

Files:
spline.gif 28 kb
spline_1.gif 29 kb
mcmalach
121
mcmalach  

where may i find the WYFX NITRO+Lo eMACD v1.0 indicator posted in the image below?

Files:
odysseus11
118
odysseus11  

Mladen, that looks like a great project with much potential (nonlinear trendline).

When you finalize and release it perhaps you could include bands at standard deviation sigmas (might be good for entries) and of course arrows/alerts/mtf...

kinda funny to already be asking for features on something u havent finished yet, but thats how high the bar is that you set for yourself with all the amazing things u do - much appreciated, rest well!

Odysseus

cukecvn
11
cukecvn  

Hi Mladen

I'm looking for the bottom idicator in that pic which named: AllcurentStochastic used by newdigital. Could you help me to find it.

Thanks

Files:
Sergey Golubev
Moderator
114870
Sergey Golubev  

Hi cukecvn,

It is public indicator from this post:

https://www.mql5.com/en/forum/177239/page7

Files:
allstoch_1.jpg 196 kb
Sergey Golubev
Moderator
114870
Sergey Golubev  
msquared:
where may i find the WYFX NITRO+Lo eMACD v1.0 indicator posted in the image below?

Hi msquared,

search goggle - I think - it is commercial indicators (there is some thread on FF forum in commercial evaluation section). They call it as Probability Meter. But it is not "our probability meter". It is some kind of different one.

By the way - I remember very similar indicator posted in public or elite ... because this WYFX NITRO is just small box on the right on your image (it is what I understood about this meter).

cukecvn
11
cukecvn  

Thanks newdigital it's really helpfull

madcedar
24
madcedar  

Help needed with Hull Moving Average routine for an EA

Hello

I'm trying to code an MTF Hull Moving Average Trend routine for an EA. What I've coded is copied from Mladens work but it doesn't give the exact same result as Mladen's indicators. It's a case of "close but no cigar". My trend slightly lags that of Mladen's indicators.

Here is the code I've used:

//+------------------------------------------------------------------+

//

//

double workHMA[]; // working array for HMA values

//

//

//+------------------------------------------------------------------+

// Calculate the current Hull Moving Average trend direction

//

int /*double*/ HullMovingAverageTrend(int timeFrame, /*int HMAPeriod,*/ int shift=0)

{

int HMAPrice = PRICE_CLOSE;

int HMAMethod = MODE_LWMA;

HMAPeriod = MathMax(2,HMAPeriod);

if (timeFrame==0) timeFrame=Period();

int HalfPeriod = MathFloor(HMAPeriod/2);

int HullPeriod = MathFloor(MathSqrt(HMAPeriod));

int limit = (HullPeriod*2)+2; //want to last two bars to be accurate to determine trend

if(Bars-1 < limit*timeFrame/Period()) return(0.0); //not enough bars to calculate HMA

if (ArraySize(workHMA)!=limit) { ArrayResize(workHMA,limit); ArrayInitialize(workHMA,0); }

ArraySetAsSeries(workHMA, true);

int yold = -1;

for(int i=limit*timeFrame/Period(); i>=0; i--) {

int y = iBarShift(NULL,timeFrame,Time,true);

if (y!=yold){ // fill the array only if y has changed (avoid repeated values in mtf mode)

workHMA[y] = iMA(NULL,timeFrame,HalfPeriod,0,HMAMethod,HMAPrice,y)*2.0-iMA(NULL,timeFrame,HMAPeriod ,0,HMAMethod,HMAPrice,y);

yold = y;

}

}

// workHMA array has values in the selected mtf timframe and increments with respect to that timeframe

for(i=limit/2+1; i>=0; i--) {

workHMA = iMAOnArray(workHMA,0,HullPeriod,0,HMAMethod,i);

}

if (workHMA[shift] > workHMA[shift+1]) return(1); //up

if (workHMA[shift] < workHMA[shift+1]) return(-1); //down

//return(NormalizeDouble(workHMA[shift],Digits));

return(0);

}

//+------------------------------------------------------------------+

Can someone please advise me if I have the array limits correct or where the problem is in the above code?

Cheers

Rod