I tried Converting Nonlag to MTF, it verified but failed to work. I left my Programming , use the term loosely, in as text.
Can you show me the error of my ways?
It is simpler to show the whole process of making a single file MTF from a "normal" indicator on a simple code.
So, here is a simplified code of non lag moving average and a mtf version of it with comments and explanations what and why is done at some part of the code. Using this indicator simply because it is much, much simpler to see in it exactly what is done (just take a look at the start procedure of the "non mtf" version)
limit = MathMin(Bars-counted_bars,Bars-1);
for (i=limit; i>=0; i--) NonLagMaBuffer = iNoLagMa(iMA(NULL,0,1,0,MODE_SMA,Price,i),Length,alphas,0,i);
Also, the code of it is suitable to calculate values of anything. All you have to change is the first parameter in calling the iNoLagMa()function ( theiMA(NULL,0,1,0,MODE_SMA,Price,i) part which is used for fast price extraction in the above code)
Good stuff mladen. Thanks.
Would an alert on current timeframe (say 15m) only when two or more other timeframes (say 30m,1h, and 4h) are also trending - sloping - in same direction be doable?
...it would filter and cut down on weaker signals coming from basically any of the great indicators you most recently provided.
PS: nonlagma nrp's below;
If this were a car, I asked for help to fix a dent in the door and you refinisihed and repainted the entire car.
Some how "Thank You" seems so insignificant. I wish you a good weekend.
...And the alerts that would have ideally been filtered out:
Histo version would be appreciated...( Nonlagma Nrp)
non lag TTM bars
Thanks Mladen for the simple non lag ma, simple is understatement Another one in the non lag theme!