logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
khlee  
#1 Posted : Thursday, May 21, 2009 7:51:51 AM(UTC)
khlee

Rank: Newbie

Groups: Registered, Registered Users
Joined: 5/11/2009(UTC)
Posts: 3

I come across these 2 parameters when drawing a moving average line:

1. Horizontal shift

2. Vertical shift %

My questions are:

1. What are the purposes of these parameters?

2. How do we represent them in indicator formula,when using explorer?

3. Can we do the same for other indicators that derived from moving average, such as price channel?

Thank you.

wabbit  
#2 Posted : Friday, May 22, 2009 5:25:43 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Hi khlee,

Welcome to the Forum.

You can use a scalar multiplier to move the moving average up and down, this will have a similar effect as the %shift in the parameters dialog box for the indicator, e.g.
Code:

ma:=mov(c,20,s);
{plot}
1.1 * ma;
ma;
0.9 * ma;


You can use the Ref() function to move the indicator forward and backwards in time, i.e. horizontal shift.

You can learn more about these functions and MS programming by reading the MS Users Manual and the free Equis Formula Primer.


Hope this helps.

wabbit [:D]


khlee  
#3 Posted : Friday, May 22, 2009 7:15:07 AM(UTC)
khlee

Rank: Newbie

Groups: Registered, Registered Users
Joined: 5/11/2009(UTC)
Posts: 3

Thanks. Will try it out.

khlee  
#4 Posted : Monday, May 25, 2009 8:40:30 AM(UTC)
khlee

Rank: Newbie

Groups: Registered, Registered Users
Joined: 5/11/2009(UTC)
Posts: 3

I used the horizontal shift by 10 period but the MA stop at the last tick.

Would it possible to move the indicator beyond the last trading tick?

Thanks.

wabbit  
#5 Posted : Monday, May 25, 2009 6:25:38 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
No, MS cannot extend indicators beyond the last bar of data.


wabbit [:D]

P.S. Yes, we know other software can extend into the future.

Users browsing this topic
Guest (Hidden)
Similar Topics
May 2023: An Adaptive Moving Average For Swing Trading (2023)
by MS Support 11/7/2023 6:05:19 PM(UTC)
Moving Averages Values (Formula Assistance)
by Redhorse 10/27/2022 9:43:49 PM(UTC)
How to write a formula to identify a moving average that is trending up in last month (Formula Assistance)
by Anne Austin 10/25/2022 7:17:16 AM(UTC)
Calculating Future Price At which RSI & Moving Average Will Cross Over (Formula Assistance)
by SAK_Trader 7/29/2021 5:20:14 PM(UTC)
moving average---true (Formula Assistance)
by gorachand 6/30/2020 7:37:02 AM(UTC)
July 2018: The Deviation-Scaled Moving Average (2018)
by MS Support 11/5/2019 5:48:31 PM(UTC)
Arnaud Legoux Moving Average (Formula Assistance)
by PersonnaBlue 10/13/2018 7:14:58 AM(UTC)
Multiple moving average (Formula Assistance)
by gorachand 1/29/2018 4:52:54 PM(UTC)
April 2017: Volume-Weighted Moving Average Breakouts (2017)
by MS Support 7/28/2017 10:31:55 PM(UTC)
August 2016: The Middle-High-Low Moving Average (2016)
by MS Support 7/28/2017 10:01:50 PM(UTC)
Shifted moving average (Formula Assistance)
by Rafael 4/18/2017 8:13:08 AM(UTC)
Moving Average and Barssince (Basic Coding Techniques)
by JayB 3/4/2017 4:21:50 PM(UTC)
Moving average issue (Formula Assistance)
by JayB 1/29/2017 1:47:20 PM(UTC)
Displaced moving average (MetaStock)
by gorachand 10/18/2016 5:32:11 PM(UTC)
Kauffman adaptive moving average (Formula Assistance)
by ohad@altris.co.il 10/9/2016 10:48:05 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.