log in     sign up for free
 
I turned from a loser to a winner when I was able to separate my ego needs from making money. When I was able to accept being wrong. Before that, admitting I was wrong was more upsetting than losing the money.
Marty Schwartz
 
 
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

MFI Convergence Divergence

Formula for: TradeStation

indicator


 

 

Views:  2237

Added: June 16, 2008
 
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


Code:

Type : Indicator, Name : MFI Convergence Divergence

inputs:
FastLength(12),
SlowLength(26),
SignalLength(9) ,
MFILength (14) ;
;
Variables:

MFI_CD( 0 ), { MFI Convergence Divergence Value }
MFI_Signal( 0 ), { MFI-CD Signal Line }
MFI_Diff( 0 ) { MFI-CD, Signal Line Difference }
;

{ Calculate MFI CD Values }
MFI_CD = MACD( Moneyflow(MFILength), FastLength, SlowLength ) ; { Calculate MACD of MFI }
MFI_Signal = Average(MFI_CD, SignalLength); { Calculate Signal Line }
MFI_Diff = MFI_CD - MFI_Signal;


Plot1( MFI_Signal, "MFI_Signal" ) ;
Plot2( MFI_Diff, "MFI_Diff" ) ;
Plot3( 0, "ZeroLine" ) ;

{ Alert criteria }
if Plot1 crosses over 0 then
Alert( "Bullish alert" )
else if Plot1 crosses under 0 then
Alert( "Bearish alert" ) ;

 





Source: https://www.tradestation.com

 

View similar (indicator for TradeStation):

MATCH
Finite Volume Element (FVE)
ZigZag
Reverse Engineering
Trades After the Fact
VIDYA Variation
Moving Average Adjuster
DotDisp
Swing Trader Trendline
Point of Balance Oscillator
...
 
 
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