|
Re: TickMoneyFlow
Here please.It's recomended to use it on 1Tick-chart.
inputs:
Length( 14 ),
AlertLength( 14 ),
OverSold( 20 ),
OverBought( 80 ),
OverSColor( Cyan ),
OverBColor( Red ) ;
variables:
MoneyFlowVal( 0 ) ;
MoneyFlowVal = MoneyFlow( Length ) ;
Plot1( MoneyFlowVal, "MoneyFlow" ) ;
Plot2( OverBought, "OverBot" ) ;
Plot3( OverSold, "OverSld" ) ;
{ Color criteria }
if MoneyFlowVal > OverBought then
SetPlotColor( 1, OverBColor )
else if MoneyFlowVal < OverSold then
SetPlotColor( 1, OverSColor ) ;
{ Alert criteria }
if LowestBar( C, AlertLength ) = 0 and LowestBar( MoneyFlowVal, AlertLength ) > 0 then
Alert( "Bullish divergence - new low not confirmed" )
else if HighestBar( C, AlertLength ) = 0 and HighestBar( MoneyFlowVal, AlertLength ) > 0 then
Alert( "Bearish divergence - new high not confirmed" ) ;
|