|
|||||||||||||||||||||||||||||||
| Special offer: buy MetaStock (try for free) | Reuters QuoteCenter Real-Time Data (get a free month) | EOD Data |
|
This month in Traders' Tips, we'll be buffing up your moving averages using the volume-weighting method presented in Buff Dormeier's article in this issue, "Buff Up Your Moving Averages." The weighting formula has been created as a function in EasyLanguage so that it can be referenced from any analysis technique or strategy. In addition, a simple two-line volume-weighted average indicator that references the function has also been included. The name of the volume-weighted average function is "BuffAverage." The function has two inputs, price and length. The price input represents the price value upon which the average calculation is based. The length input represents the number of bars that are used in the calculation of the average. Here is the EasyLanguage for the function: Typ : Function, Name : BuffAverage VolSum = Summation(Volume, Length); If VolSum <> 0 Then Begin BuffAverage = Buff; Below is the EasyLanguage for this indicator. The recommended properties for
the indicator are presented after the EasyLanguage code. Typ : Indicator, Name : Buff Averages Plot1(BuffAverage(Price, FastAvg), "FastBuff"); If Plot1 Crosses Above Plot2 Then Scaling: Same as symbol. The EasyLanguage code for the Buff average function and indicator are also
available for download from the EasyLanguage portion of the support section
at Omega Research's website. The name of the file is "BuffAvg.Els"
for use in TradeStation and ProSuite 2000i. Code:VolSum = Summation(Volume, Length); If VolSum <> 0 Then Begin BuffAverage = Buff; Typ : Indicator, Name : Buff Averages Plot1(BuffAverage(Price, FastAvg), "FastBuff"); If Plot1 Crosses Above Plot2 Then
all formulas for TradeStation all formulas
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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. |
||
|
||
|