Histogram and prototype for buy signal anayzer