Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Newbie real code question Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
trader777
Posted : Sunday, December 12, 2010 3:54:52 PM
Registered User
Joined: 12/9/2010
Posts: 3

Recently started using SF5 and trying to find the code for the
Finite Volume Indicator (FVE) as it originally appeared in the 
April 2003 issue of S & C. The article was "Detecting Breakouts" .
Tried coding it myself without much luck.
The Amibroker code is as follows:
The period should be a user input

 Period = 22; 
// users of v4.25 or higher can use Param to adjust period in real time
//Period = Param("FVE period", 22, 10, 80, 1 );

MF = C - (H+L)/2 + Avg - Ref( Avg, -1 );
Vc = IIf( MF > 0.003 * C, V,
IIf( MF < -0.003 * C, -V, 0 ) );
 
FVE = Sum( Vc, Period )/MA( V, Period )/Period * 100;
Plot( FVE, "FVE", colorRed );
Plot( 0, "", colorBlack, styleNoLabel );
 
GraphXSpace = 3;
 
Buy = Cross( FVE, -5 ) AND
LinRegSlope( FVE, 35 ) > 0 AND
LinRegSlope( Close, 35 ) < 0;
Sell = LinRegSlope( FVE, 25 ) < 0 OR Ref( Buy, -50 );
_SECTION_END();


Any help would be appreciated
Bruce_L
Posted : Thursday, December 16, 2010 9:45:35 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
I'm not positive is it is the same Indicator, but you may want to take a look at the Finite Volume Element topic.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.