|
Re: Money flow index with up/down tick volume
It's the standard TS Indicator with the Alert Criteria changed:
Here is the text:
{RB MONEYFLOW}
inputs:
Length( 14),
AlertLength( 14),
OverSold( 22),
OverBought( 78),
OverSColor( Cyan),
OverBColor( Red) ;
variables:
MoneyFlowVal( 0 ) ;
MoneyFlowVal = MoneyFlow( Length ) ;
Plot1( MoneyFlowVal, "MoneyFlow" ) ;
Plot2( OverBought, "OverBot" ) ;
Plot3( OverSold, "OverSld" ) ;
Plot4((Overbought+Oversol d)/2,"Median");
{ Color criteria }
if MoneyFlowVal > OverBought then
SetPlotColor( 1, OverBColor )
else if MoneyFlowVal < OverSold then
SetPlotColor( 1, OverSColor ) ;
{ Alert criteria }
if MoneyFlowVal > OverBought then
Alert( "MoneyFlow RED !!!" )
else if MoneyFlowVal < OverSold then
Alert( "MoneyFlowW BLUE !!!" ) ;
|