fxcodebase-backup

Timed Moving Averages

Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=63125
Forum: 17 · Topic 63125 · 43 post(s)


Timed Moving Averages

Apprentice · Mon Feb 08, 2016 7:21 am

EURUSD t1 (02-08-2016 1245).png

Instead of candles for timed indicators the period is defined in seconds. It can be applied to any time frame, as well as “t1”.

Tick Timed Moving Averages.lua

EURUSD m1 (02-08-2016 1244).png

It can be applied to “m1” time frame or higher.

Timed Moving Averages.lua

EURUSD m1 (02-24-2016 1906).png

Tick Timed Moving Averages Envelope.lua

EURUSD m1 (02-24-2016 1923).png

Two Tick Timed Movinges Cross.lua

MT4/MQ4 version viewtopic.php?f=38&t=66829


Re: Timed Moving Averages

Paul W · Fri Feb 12, 2016 9:48 am

Awesome,

Could you include TICK TIMED MOVING AVERAGES as an option in TICK TWO AVERAGES CROSS ALERT ?

Thanks


Re: Timed Moving Averages

Apprentice · Sun Feb 14, 2016 9:10 am

Timed Moving Averages.lua Minor Update.


Re: Timed Moving Averages

MarkoFX · Mon Feb 15, 2016 10:45 am

im interested in create a high/Low envelope channel with this MAs, hope sombody can help


Re: Timed Moving Averages

ataata · Tue Feb 16, 2016 12:57 pm

Thanx for this indicator. Yes it would be nice to have high/low possibility.

Could someone do this please.


Re: Timed Moving Averages

Apprentice · Wed Feb 17, 2016 6:09 am

Your request is added to the development list.


Re: Timed Moving Averages

Paul W · Tue Feb 23, 2016 12:31 pm

would it be possible to modify to create a stand alone Two Averages Cross Alert for Tick Timed Moving Averages.lua ?

it’s a very good scalping indicator

Thanks for looking


Re: Timed Moving Averages

Apprentice · Wed Feb 24, 2016 1:40 pm

Tick Timed Moving Averages Envelope Added.


Re: Timed Moving Averages

Apprentice · Wed Feb 24, 2016 1:57 pm

Two Tick Timed Movinges Cross Added


Re: Timed Moving Averages

Apprentice · Tue May 24, 2016 1:50 am

Minor update.


Re: Timed Moving Averages

Paul W · Sun Jul 10, 2016 3:44 pm

The Two-Tick-Timed-MA-Cross is really useful - am using on the tick chart (scalping strategy)

just wondering, would it possible to add a “Tick” option to the Calculation - in addition to “Duration in seconds” ?

something I would like to test

thanks


Re: Timed Moving Averages

Apprentice · Tue Jul 12, 2016 7:56 am

MA Duration Type option added for Two-Tick-Timed-MA-Cross.


Re: Timed Moving Averages

Paul W · Tue Jul 12, 2016 12:19 pm

Outstanding,

A Renko-ish, Two-Tick-MA-Cross

Am using on a tick chart, works well imo

Will need to configure for the instrument you are trading – and will take some testing, to suit your trading strategy (scalping)

Suggest using Fibonacci sequence – e.g. DAX 21 (fast MA) 144 (slow MA)

could be a valuable piece to a larger strategy

Many thanks


Re: Timed Moving Averages

Apprentice · Sat Sep 02, 2017 7:21 am

The indicator was revised and updated.


Re: Timed Moving Averages

ForexGuy · Thu Sep 07, 2017 5:52 am

Is it possible to make the timed Envelopes for metatrader please? Thanks in advance!


Re: Timed Moving Averages

Apprentice · Thu Sep 07, 2017 3:39 pm

Your request is added to the development list, Under Id Number 3886 If someone is interested to do this task, please contact me.


Re: Timed Moving Averages

Alexander.Gettinger · Tue Sep 12, 2017 12:18 pm

ForexGuy wrote: Is it possible to make the timed Envelopes for metatrader please? Thanks in advance!

Please, try this indicator: viewtopic.php?f=38&t=65081


Re: Timed Moving Averages

ForexGuy · Wed Sep 13, 2017 6:07 am

Thank you very much. I will test it.


Re: Timed Moving Averages

ForexGuy · Wed Sep 13, 2017 6:29 am

Alexander.Gettinger wrote:

ForexGuy wrote: Is it possible to make the timed Envelopes for metatrader please? Thanks in advance!

Please, try this indicator: viewtopic.php?f=38&t=65081

The indicator has a small problem which I wrote about it here viewtopic.php?f=38&t=65081, thought is a more appropriate thread.


Re: Timed Moving Averages

Paul W · Thu Sep 14, 2017 10:53 am

TWO TICK TIMED MOVINGES CROSS - great indicator

is it possible to add UP/DN colors - to both line 1 and 2 ?

would help visually, to avoid trading against short term probabilities

thanks


Re: Timed Moving Averages

Apprentice · Fri Sep 15, 2017 3:15 pm

Try it now.


Re: Timed Moving Averages

Apprentice · Sun Feb 04, 2018 6:39 am

The Indicator was revised and updated.


Re: Timed Moving Averages

ForexGuy · Fri May 11, 2018 11:33 am

Hello Apprentice, can you make the moving average envelope (Tick Timed Moving Averages Envelope.lua), but with additional filter applied to reduce the lag time (like the influx indicator) for tick time frames,also with possibility to mention type of moving average (MVA, EMA)? Thank you for all the great indicators you made so far and hopefully you can help with this.


Re: Timed Moving Averages

Apprentice · Mon May 14, 2018 6:10 am

Your request is added to the development list under Id Number 4138


Re: Timed Moving Averages

ForexGuy · Mon May 14, 2018 6:40 am

Thank you for adding my request to the the list!


Re: Timed Moving Averages

ForexGuy · Fri May 18, 2018 3:01 am

Any news on the indi?


Re: Timed Moving Averages

Apprentice · Fri May 18, 2018 5:00 am

Please be patient, we have not forgotten you.


Re: Timed Moving Averages

ForexGuy · Fri May 18, 2018 5:44 am

Thank you very much and sorry for the impatience/disturbance


Re: Timed Moving Averages

Apprentice · Sun May 20, 2018 11:34 am

Try this version.

Tick Timed Moving Averages Envelope.lua


Re: Timed Moving Averages

ForexGuy · Sun May 20, 2018 2:23 pm

I have tried it but it does not quite match the influx and I do not quite understand how the 2 MA’s in the indicator are applied to the price chart. It should be only one MA value (like normal envelopes or MA’s). The envelopes I need should be like a zerolag MA envelope (or a nonlag MA) if you know what I mean which is almost the same. Do you think it is possible to make it? P.S. the type of MA selection should remain in the indi as it is great.


Re: Timed Moving Averages

Apprentice · Mon May 21, 2018 5:33 am

Can you provide web reference for zero-lag MA envelope?


Re: Timed Moving Averages

ForexGuy · Mon May 21, 2018 6:24 am

https://www.mesasoftware.com/papers/ZeroLag.pdf - maybe this could be of help

I also have some formula and the MT4 code for the NonLag MA (a modified non lag MACD) – attached–which I hope it can be of help to you: Formula as found it on the internet: EMA = K * ( 2 * PRICE - PRICE.X) + (1 - K) * EMA.1 where… K = 2 / (n + 1) n = Period x = lag = (n - 1) / 2

The attached is a NonLag MACD which I modified to show only a NonLagMA on price chart and which I use in MT4 but I need it for ticks in Marketscope.


Re: Timed Moving Averages

ForexGuy · Mon May 21, 2018 6:36 am

P.S. The provided formulas and code are for simple NonLagMA, you need to add the envelopes. Thanks a lot for all your interest and help!


Re: Timed Moving Averages

Apprentice · Tue May 22, 2018 3:59 am

Your request is added to the development list under Id Number 4150


Re: Timed Moving Averages

ForexGuy · Tue May 22, 2018 7:39 am

Thank you very much! You are always very prompt in your replies and work!


Re: Timed Moving Averages

Apprentice · Thu May 31, 2018 3:20 am

ZeroLag.lua

Tick Timed ZeroLag Envelope.lua

Try this version. Was written by a colleague. I’m on vacation.


Re: Timed Moving Averages

ForexGuy · Thu May 31, 2018 7:02 am

Hello Apprentice, first I want to wish you a nice vacation and I’m grateful you took time to post the indicators. Unfortunately they are not quite what I expected as they differ greatly from the mq4 indicator I posted. Normally, the zerolag MA should be faster and follow price closely than the normal MA. The zerolag and envelope posted above by you are not much different than a usual MA/envelope. Maybe after your return you could take a look! Thanks again and waiting for your return.


Re: Timed Moving Averages

ForexGuy · Fri Jun 01, 2018 2:17 am

Hello Apprentice and thank you for taking time during your vacation to post the indicators. Unfortunately I have tried them but they are not quite in order. My mq4 indicator that I posted is much faster than a regular moving average while the indis posted above are almost the same as a moving average. Maybe after coming from your vacation you could take a look at the zero lag MA. Thanks and have a nice time on your vacation!


Re: Timed Moving Averages

Apprentice · Fri Jun 01, 2018 7:02 am

Zerolag.lua was written based on your formula.

Code: Select all EMA = K * ( 2 * PRICE - PRICE.X) + (1 - K) * EMA.1 where... K = 2 / (n + 1) n = Period x = lag = (n - 1) / 2


Re: Timed Moving Averages

Apprentice · Fri Jun 01, 2018 7:07 am

Tick Timed ZeroLag Envelope.lua

Tick Timed ZeroLag Envelope.lua was modified.


Re: Timed Moving Averages

simjoPAUK · Tue Oct 02, 2018 4:55 am

can you provide mt4 version of tick timen zerolag envelop please?


Re: Timed Moving Averages

Apprentice · Wed Oct 03, 2018 3:00 am

Your request is added to the development list under Id Number 4262


Re: Timed Moving Averages

Apprentice · Mon Oct 15, 2018 5:28 am

MT4/MQ4 version viewtopic.php?f=38&t=66829