log in     sign up for free
 
If you can't take a small loss, sooner or later you will take the mother of all losses.
Ed Seykota
 
 
Home
systems (284)
 
Special offer: buy MetaStock (try for free)   |   Reuters QuoteCenter Real-Time Data (get a free month)   |   EOD Data
 
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

DIMA Averages

Formula for: TradeStation

indicator


 

 

Views:  1904

Added: February 01, 2007
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5

1.78

61 ratings
 

email this link

 
 
Tags: TradeStation, indicator
 
Your Ad Here
Hi, guys!

I've decided to contribute to the community what I found useful for my strategies: here are indicators from TASC (April, 2005): MOMA, VOMA, VOMOMA, WEVOMO. All functions/indicators have prefix DIMA (my actual first name), so you won't overwrite anything if you already have them...

ZoneTrader

 

 



Code:

Type : Function, Name : Dima_MOMA

inputs:
Price(numericseries),
Length(numericsimple);

Value2 = 0;
for Value1 = 0 to Length - 1
begin
Value2 = Value2 + AbsValue(Price[Value1] - Price[Value1 + 1]);
end;

Value3 = 0;
if Value2 <> 0 then
begin
for Value1 = 0 to Length - 1
begin
Value3 = Value3 + Price[Value1] * (AbsValue(Price[Value1] - Price[Value1 + 1]) / Value2);
end;
end;

Dima_MOMA = Value3;



Type : Function, Name : Dima_VOMA

inputs:
Price(numericseries),
Length(numericsimple);

variables:
vol_sum(0);

vol_sum = 0;
for Value1 = 0 to Length - 1
begin
vol_sum = vol_sum + Volume[Value1];
end;

Value2 = 0;
if vol_sum <> 0 then
begin
for Value1 = 0 to Length - 1
begin
Value2 = Value2 + Price[Value1]*(volume[Value1] / vol_sum);
end;
end;

Dima_VOMA = Value2;




Type : Function, Name : Dima_WEVOMO

inputs:
Price(numericseries),
Length(numericsimple);

Value1 = (Dima_MOMA(Price, Length) + Dima_VOMA(Price, Length) + WAverage(Price, Length)) / 3;
Dima_WEVOMO = Value1;




Type : Function, Name : Dima_VOMOMA

input:
Price(Close), Length(14);

Value1 = (Dima_MOMA(Price, Length) + Dima_VOMA(Price, Length)) / 2;
plot1(Value1, "VOMOMA");



Type : Indicator, Name : Dima_VOMOMA

input:
Price(Close), Length(14);

Value1 = (Dima_MOMA(Price, Length) + Dima_VOMA(Price, Length)) / 2;
plot1(Value1, "VOMOMA");



Type : Indicator, Name : Dima_MOMA

input:
Price(Close), Length(14);

plot1(Dima_MOMA(Price, Length), "MOMA");



Type : Indicator, Name : Dima_WEVOMO

input:
Price(Close), Length(55);

plot1(Dima_WEVOMO(Price, Length), "WEVOMO");


 





Source: https://www.tradestation.com

 

View similar (indicator for TradeStation):

TFS Indicators
$%B I
Seasonal SB
MATCH
Ergodic Indicator
MACD (DEMA)
Buff Averages
Color on MACD Histogram
Swing Wave Indicator
OBVDI w/ Avg
...
 
 
all formulas for TradeStation
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