Discussions
»
Product and Service Development
»
MetaStock
»
How to put a Moving Average on an Indicator
Rank: Newbie
Groups: Registered, Registered Users Joined: 9/8/2006(UTC) Posts: 4
|
Hello Folks,
This is a basic question that I should have known, but somehow I don't. That is, how can you put a moving average on an indicator, such as RSI?
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/16/2005(UTC) Posts: 93 Location: Maryland,US
|
The data array in mov(data array, periods, method) can be just about anything, like mov(rsi(14),5,s). That would be taking a 5 day simple MA of a 14 day RSI.
|
|
|
|
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)
|
Do you mean programmatically, using the direct addressing: Code:
indicator:=RSI(C,14);
MA:=Mov(indicator, 20,S);
{plot}
MA;
Or, do you mean programmatically, using the 'P' function: (see the Users Manual for more information)
Or, do you mean from the indicator quicklist, in which case, you just click and drag the indicator list onto the chart, but whilst dragging over the chart notice what chart lines are changing colour. When the indicator you want to apply the MA to changes colour to purple (depending on your system and chart colour scheme, the colour may be different), release the mouse button to 'drop' the MA indicator on the already plotted indicator. More information is in the Users Manual (of course!) Hope this helps. wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 9/8/2006(UTC) Posts: 4
|
vaughn wrote:The data array in mov(data array, periods, method) can be just about anything, like mov(rsi(14),5,s). That would be taking a 5 day simple MA of a 14 day RSI.
Hello Vaughn
Would you please be more specific? Maybe a little introduction and a step-by-step, if possible. I have never known this method.
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 9/8/2006(UTC) Posts: 4
|
wabbit wrote: Or, do you mean from the indicator quicklist, in which case, you just click and drag the indicator list onto the chart, but whilst dragging over the chart notice what chart lines are changing colour. When the indicator you want to apply the MA to changes colour to purple (depending on your system and chart colour scheme, the colour may be different), release the mouse button to 'drop' the MA indicator on the already plotted indicator. More information is in the Users Manual (of course!)
Hope this helps.
wabbit [:D]
Hello Wabbit
Thanks for the codes. As for the dragging, I tried that prior to asking. But my problem is that the dragging only works on prices. For example, if I need to plot an indicator on a price, dragging it from the quicklist works well. But to plot a moving average of a RSI onto itself, it just won't work at all. Any idea?
Thanks
|
|
|
|
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)
|
You can drag the indicators like MA into the indicator windows, you just have to be a little judicious with your mouse. Try dragging from the list to any point ON the indicator, then if that doesn't select that indicator, move the mouse along the indicator to see if you can trigger MS to select the indicator.
With a little practice, you will understand the sensitivity....
Hope this helps.
wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 9/8/2006(UTC) Posts: 4
|
Thanks Pal. You're a big help. Yes....w/ a little patience and some practice, I've got it. :)
|
|
|
|
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)
|
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 4/8/2018(UTC) Posts: 1 Location: ny
Thanks: 1 times
|
What a sweet tip! Never knew this. This saved me countless hours of head scratching. Thanks!
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
MetaStock
»
How to put a Moving Average on an Indicator
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.