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

SHIFT_MA with Alert.lua
(11.07 KiB) Downloaded 308 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 352 times
Nikolay.Gekht
FXCodeBase: Base Builder
 
Posts: 1222
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: 23
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: Base Builder
 
Posts: 1222
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: 23
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: 19459
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


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

Postby Apprentice » Thu Jan 21, 2016 3:55 am

SHIFT MA Paint Bar.lua Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19459
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

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

Postby Apprentice » Wed Jun 15, 2016 4:18 am

SHIFT_MA with Alert.lua Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19459
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

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

Postby Apprentice » Mon Jul 09, 2018 5:25 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19459
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

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