Page 1 of 2

Moving Average shifted by time and price axis (displaced MA)

PostPosted: Mon May 17, 2010 3:42 pm
by Nikolay.Gekht
The indicator just shows the chosen moving average with chosen parameters but shifted by the specified number of bars and by the specified number of points.

shift_ma.png


Download:
SHIFT_MA.lua
(2.88 KiB) Downloaded 2822 times

SHIFT_MA with Alert.lua
(11.07 KiB) Downloaded 1080 times

The indicator is also called displaced moving average.

EURUSD m1 (01-21-2016 0920).png

SHIFT MA Paint Bar.lua
(5.87 KiB) Downloaded 1115 times

Re: Moving Average shifted by time and price axis (displaced MA)

PostPosted: Tue Jun 22, 2010 9:47 am
by jsi@jp
Thank you very much for this Indicator. :D

"KAMA" was able to be added.
But "ARSI" was not able to be added.
I hope to add "ARSI".

Re: Moving Average shifted by time and price axis (displaced MA)

PostPosted: Tue Jun 22, 2010 10:41 am
by Nikolay.Gekht
If you wouldn't like to wait until I do this, just:
Go to the "C:\Program Files\Candleworks\FXTS2\indicators\Custom\" folder
Open the file SHIFT_MA.lua using any text editor, for example notepad
scroll to the line
Code: Select all
indicator.parameters:addStringAlternative("MA", "TMA", "", "TMA");

and add the following two lines after this line
Code: Select all
indicator.parameters:addStringAlternative("MA", "KAMA", "", "KAMA");
indicator.parameters:addStringAlternative("MA", "ARSI", "", "ARSI");


And then restart the Trading Station.

You can also add ANY indicator (not oscillator) which take only one N-periods parameter, can be applied on ticks and produces only one output line. The name to specify is the name of the file without lua extension in capital letters. For example - REGRESSION conforms to these conditions.

Re: Moving Average shifted by time and price axis (displaced MA)

PostPosted: Wed Jun 23, 2010 6:21 am
by jsi@jp
Thank you very much Nikolay :D
I was able to load it by your comprehensible explanation.

Re: Moving Average shifted by time and price axis (displaced MA)

PostPosted: Thu Sep 23, 2010 12:33 pm
by Merchantprince
Would it be possible to add this indicator to the development queue to update it with the new line thickness feature?

Thanks!

Re: Moving Average shifted by time and price axis (displaced MA)

PostPosted: Thu Sep 23, 2010 1:45 pm
by Apprentice
SHIFT.PNG

While we do not fulfill your request you can use Shift Indicator Indicator.

Re: Moving Average shifted by time and price axis (displaced MA)

PostPosted: Tue Sep 28, 2010 4:56 am
by Apprentice
Style Update.

Re: Moving Average shifted by time and price axis (displaced

PostPosted: Thu Jan 21, 2016 3:55 am
by Apprentice
SHIFT MA Paint Bar.lua Added.

Re: Moving Average shifted by time and price axis (displaced

PostPosted: Wed Jun 15, 2016 4:18 am
by Apprentice
SHIFT_MA with Alert.lua Added.

Re: Moving Average shifted by time and price axis (displaced

PostPosted: Mon Jul 09, 2018 5:25 am
by Apprentice
The indicator was revised and updated.