log in     sign up for free
 
You can't make money if you're not willing to lose. It's like breathing in, but not being willing to breathe out. Various types of exits will help you do this (i.e., breathe fully), including trailing stops and the percent retracement stop.
Van K. Tharp
 
 
Home
systems (284)
 
Special offer: buy AmiBroker and EOD+Real-Time 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

Finite Volume Element (FVE)

Formula for: TradeStation

indicator


 

 

Views:  955

Added: May 30, 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: TradeStation, indicator
 
Your Ad Here
Markos Katsanos' article "Detecting Breakouts" describes the calculation and use of a price-volume indicator called the finite volume element (FVE). Katsanos provides a detailed Excel spreadsheet in the article, and I've used it to write the equivalent EasyLanguage code for the Fve. We named this indicator "FiniteVolumeElement."

 

 



Code:

Type : Indicator, Name : FiniteVolumeElement
inputs:
CutOff( .003 ),
Samples( 22 );

variables:
TP( 0 ),
MF( 0 ),
VolumePlusMinus( 0 ),
FVEsum( 0 ),
FveFactor( 0 ),
FVE( 0 ) ;

TP = ( High + Low + Close ) / 3 ;
MF = ( Close - (High + Low ) / 2 )+ TP - TP[1] ;
if MF > CutOff * Close then
FveFactor = 1
else if MF < -1 * CutOff * Close then
FveFactor = -1
else
FveFactor = 0 ;
if BarNumber > Samples then
begin
VolumePlusMinus = Volume * FveFactor ;
FVEsum = Summation( VolumePlusMinus, Samples ) ;
FVE = ( FVEsum / (Average( Volume, Samples) * samples ) ) * 100 ;
Plot1( Average(FVE,1 ) ) ;
end ;

Type : Indicator, Name : FinVolEleLinRegSl
inputs:
CutOff( .003 ),
Samples( 22 ),
PriceSlopeFactor( 30 ) ;

variables:
TP( 0 ),
MF( 0 ),
VolumePlusMinus( 0 ),
FVEsum( 0 ),
FveFactor( 0 ),
FVE( 0 ),
FVESlope( 0 ),
PriceSlope( 0 ) ;

TP = (High + Low + Close ) / 3 ;
MF = (Close - (High + Low ) / 2 )+ TP - TP[1] ;
if MF > CutOff * Close then
FveFactor = 1
else if MF < -1 * CutOff * Close then
FveFactor = -1
else
FveFactor = 0 ;
if BarNumber > Samples then
begin
VolumePlusMinus = Volume * FveFactor ;
FVEsum = Summation( VolumePlusMinus, Samples ) ;
FVE = ( FVEsum / (Average( Volume, Samples ) * samples ) ) * 100 ;
FVESlope = LinearRegSlope(FVE , 35 ) ;
PriceSlope = LinearRegSlope(close, 35 ) ;
Plot1( FVESlope, "FVESlope" ) ;
Plot2( PriceSlope * PriceSlopeFactor, "PriceSlope");
Plot3( 0 ) ;
end ;


 






Author: Markos Katsanos
Source: http://www.traders.com

 

View similar (indicator for TradeStation):

StochRSI
Market Mood Indicator
TRIX Indicator S&C
Honey Baked
Keltner Bands
Moving Average Spread Indicator
Symmetrical Shark Indicator
Optimal Tracking Filter
Macd RS Ratio
SaittaTrend
...
 
 
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