log in     sign up for free
 
Combine your enthusiasm, energy, focus, devotion, and discipline to becoming the best trader you can be, but once you have done that, there is no point in agonizing over the details.
Jack D. Schwager
 
 
Home
systems (284)
 
Special offer: buy AmiBroker and EOD+Real-Time Data
 

Buy

MetaStock

     (special offer)
 
 
 

Buy

EOD data for MetaStock

     (special offer)
 
 
 

Buy

Realtime data for MetaStock

     (special offer)
 
 
 
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

Sine-Wave Weighted Moving Average

Formula for: MetaStock

indicator


 

 

Views:  1574

Added: December 29, 2007
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: MetaStock, indicator
 
Your Ad Here
June 1999 TASC Traders Tip - How Smooth is Your Data Smoother?
(Sine-Wave Weighted Moving Average) {#&} The article "How Smooth is Your Data Smoother", by Patrick E. Lafferty, reviews differenttypes of moving averages, including a Sine-Weighted Moving Average.
The Sine-Weighted Moving Average can easily be created in MetaStock 6.5 or higher.In MetaStock select the "Indicator Builder" from the "Tools" menu.In the Indicator Builder click "New" and enter the name (shown below in Bold font) in the Name field.Then place the formula in the Formula field in the Indicator Builder.

Next, click OK and Close out of the Indicator Builder.Open a chart and plot the new formula by dragging it from the IndicatorQuickListor byusing "Indicators" from the "Insert" menu.
Formula by Cheryl Elton,
Equis International

 

 



Code:

Sine-Wave Weighted Moving Average

PI:=3.1415926;
SD:=180/6;
S1:=Sin(1*180/6)*C;
S2:=Sin(2*180/6)*Ref(C,-1);
S3:=Sin(3*180/6)*Ref(C,-2);
S4:=Sin(4*180/6)*Ref(C,-3);
S5:=Sin(5*180/6)*Ref(C,-4);
Num:=S1+S2+S3+S4+S5;
Den:=Sin(SD)+Sin(2*SD)+Sin(3*SD)+Sin(4*SD)+Sin(5*SD);
Num/Den

 






Author: Patrick E. Lafferty
Source: http://www.equis.com

 

View similar (indicator for MetaStock):

ZigZag - Normalized
Haurlan Index
Chande's VIDYA 21,5 Indicator
Moving Average - Centered v4.0
William\'s A/D Oscillator
Ehlers Filters
Vertical Line
Bottom as the Middle Value of a Three Bar Pattern
Chande's Vidya Using P Variable - Version II
ZigZag Trend
...
 
 
all formulas for MetaStock
all formulas

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
 
Privacy note | (c) copyrights systems4trading.com 2006-2012