Which histogram are you talking about? If you mean the 'back of camera' histogram: forget about it. Cited from my
guide :
"Illumination level and exposure time for flat frames have to be controlled in order that the peak in the histogram is in the region of linear response of the sensor. Normally this is the case at about half of the saturation intensity. At first determine the maximum intensity value (in ADU) in the histogram of an overexposed frame (= saturation intensity). Take half of the saturation intensity as the approximate target mean value of a flat frame.
Warning: Most DSLR cameras have a display and can show a histogram of the saved images. This "back of camera" histogram is a support for daylight photography only, usually totally useless for astrophotography. It is not a histogram of the linear data, but shows a histogram of the data after an initial stretch. Don't use this histogram for determining the appropriate exposure time for flat frames, otherwise your flat frames will be severely underexposed. Also see: "Nikon Z6, overexposed image, "Statistics" max. only at 25%??",
https://pixinsight.com/forum/index....-image-statistics-max-only-at-25.16594/page-2 , post #29 (Comparison of a "back of camera" histogram to a linear histogram in PixInsight) and post #33 (How to use Av automatic operation of a regular digital camera for capturing of daylight or twilight flat frames)."
Bernd