how to add trend line and output max and min of trend line

1 Ansicht (letzte 30 Tage)
Moshe
Moshe am 10 Dez. 2016
Hi all,
I wrote this function:
function [On_Balance_Volume] = OBV(SXXPIndex,PX_VOLUME)
%%OBV Script
On_Balance_Volume = onbalvol(SXXPIndex,PX_VOLUME);
plot(On_Balance_Volume)
title('On-Balance Volume for S&P')
i would like to add to this function trend line and output the minimum and maximum of the function. can someone advise?

Antworten (0)

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by