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

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

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

Postby Nikolay.Gekht » Mon May 17, 2010 3:42 pm

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 2816 times

SHIFT_MA with Alert.lua
(11.07 KiB) Downloaded 1072 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 1107 times
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

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

Postby jsi@jp » Tue Jun 22, 2010 9:47 am

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".
jsi@jp
 
Posts: 26
Joined: Mon May 31, 2010 11:39 pm

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

Postby Nikolay.Gekht » Tue Jun 22, 2010 10:41 am

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.
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

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

Postby jsi@jp » Wed Jun 23, 2010 6:21 am

Thank you very much Nikolay :D
I was able to load it by your comprehensible explanation.
jsi@jp
 
Posts: 26
Joined: Mon May 31, 2010 11:39 pm

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

Postby Merchantprince » Thu Sep 23, 2010 12:33 pm

Would it be possible to add this indicator to the development queue to update it with the new line thickness feature?

Thanks!
Merchantprince
 
Posts: 14
Joined: Wed Jul 28, 2010 3:24 pm

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

Postby Apprentice » Thu Sep 23, 2010 1:45 pm

SHIFT.PNG

While we do not fulfill your request you can use Shift Indicator Indicator.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia





Next

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 9 guests