frank grillo - 2018-02-08

I'm new to Gnuplot, and working on a project involving financial data. I dont know how to find the peak and trough in chart using function. can you guys help me with it.
i have attached a picture of what i want in the chart !

 

Last edit: frank grillo 2018-02-08