log in     sign up for free
 
By living the philosophy that my winners are always in front of me, it is not so painful to take a loss. If I make a mistake, so what!
Marty Schwartz
 
 
Home
systems (285)
 
 
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) System

System for: TradeStation

 

 

Views:  1497

Added: December 08, 2006
 
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, system
 


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."

Finally, Katsanos tests his Fve by basing a mechanical strategy on it. The strategy can be tested in TradeStation with the EasyLanguage strategy code named "FiniteVolEle."

 

 



Code:

Type : Strategy, Name : FiniteEleVol

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 ;
Value1 = LinearRegSlope( FVE , 35 ) ;
Value2 = LinearRegSlope( Close, 35 ) ;
if FVE crosses over -5 and Value1 > 0
and Value2 < 0
then
Buy Next Bar at Market ;
if ( LinearRegSlope( FVE, 25) < 0 ) or
( DateToJulian( Date ) - DateToJulian( EntryDate ) > 50*( 7 / 5 ) )
then
Sell Next bar at Market ;
end ;


 




 

Code to difficult? Find somebody to help you with coding here.

 



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

 

View similar:

Dual Time Frame Moving Average
Bond Futures LR Surfing System
Parabolic System
Macd RS Ratio
Test IDNR4
Hilbert Channel Breakout System
SystemC
Confluence
SystemB
Williams 19
...
 
 
all systems for TradeStation
all systems

 

 

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.
PayPalSecure payments by PayPal S4T™ is a part of TAURO EDUCATION NETWORK
 
Privacy note | (c) copyrights systems4trading.com 2006-2009