Rank: Newbie
Groups: Registered, Registered Users Joined: 11/6/2006(UTC) Posts: 5
|
Dear Seniors, I ma new to metastock programming and of course trading.I need help regarding the following indicators:
1: I am experimenting with Daily EMA's 3,13,39,crossovers.How do i get an indicator which plots all these averages together with three different colors on the chart.Also how to have a ribbon underneath indicating long and short based on these configurations.
2:Also I need help with making a slow STOCH...where the %D of the normal STOCH becomes %K of the slow STOCH and then this %K is then smoothed over a 3 day period.Ideally a 5 bar slow stoch smoothed over a 3 day period.
Thanks to all u ppl in advance. Regards, Manoj
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 9/13/2004(UTC) Posts: 673 Location: Salt Lake City, UT
|
For coloring, you would need to plot the following formula, then double click on each line and adjust the color. Once this is done, you can right click on the chart and choose Save As Default Template, so that they come up this way every time:
-Click Tools-->Indicator Builder
-Click New
-Name the formula as you see fit
-Type the following in the formula box:
Mov(C,3,E);
Mov(C,13,E);
Mov(C,39,E);
-Click Ok
For a Ribbon, this would have to be done in the Expert Advisor under the Trends tab. I would need to know more on how you want the ribbon to Bullish/Bearish condition. I am not sure I fully understand your Stochastic request, but perhaps someone may be able to help here further.
Stochastic by default uses 5 %K periods and 3 %K slowing:
Stoch(5,3);
%D is a moving average of the Stochastic:
Mov(Stoch(5,3),3,S);
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 11/6/2006(UTC) Posts: 5
|
Hey Pyradius, Thanks for the reply.As regards to the ribbon,what i had in mind was : 1. If 3 ema crosses above 13 ema it should say long and short if 13 ema is above 3ema. Thanks and Regards, Manoj
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 9/13/2004(UTC) Posts: 673 Location: Salt Lake City, UT
|
-Click Tools-->Expert Advisor
-Click New
-Name the Expert as you see fit
-Click the Trends tab
-In the Bullish formula box put the following:
Mov(C,3,E)>Mov(C,13,E)
-In the Bearish formula box put the following:
Mov(C,13,E)>Mov(C,3,E)
Click Ok
After you open a chart, right click in a blank area of the chart and choose Expert Advisor-->Attach. Double click on your Expert, and you should see a ribbon along the bottom of the chart based on your criteria above.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
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.