(df)
return out(SETTINGS, df, result)
Chaikin Oscillator
Chaikin Oscillator
Chaikin Oscillator
def Chaikin(df):
    """
    Chaikin Oscillator
    """
    ad = (2 * df['Close'] - df['High'] - df['Low']) / (df['High'] - df['Low']) * df['Volume']
    result = pd.Series(ad.ewm(span=3, min_periods=2).mean() - ad.ewm(span=10, min_periods=9).mean(), name='Chaikin')
    return out(SETTINGS, df, result)
def Chaikin ( df ) : ad = ( 2 * df [ 'Close' ] - df [ 'High' ] - df [ 'Low' ] ) / ( df [ 'High' ] - df [ 'Low' ] ) * df [ 'Volume' ] result = pd . Series ( ad . ewm ( span = 3 , min_periods = 2 ) . mean ( ) - ad . ewm ( span = 10 , min_periods = 9 ) . mean ( ) , name = 'Chaikin' ) return out ( SETTINGS , df , result )