OK i found the way to do it. If it can help someone.
var NumOfDay = 1;
var NumOfVolume = 1;
DefinePaintbarParameter("NumOfDay", "Numbers of day needed", true, 1, 1000,1,364);
DefinePaintbarParameter("NumOfVolume", "Maximum volume wanted", true, 1000, 1000000,1000,100000);
NumOfDay = (int)GetPaintbarParameter("NumOfDay");
NumOfVolume = (int)GetPaintbarParameter("NumOfVolume");
if (Max(0,NumOfDay,BarVolume) < NumOfVolume)
{
SetColor(Color.Green);
TriggerAlert("TheAlert","SearchMaximumVolume");
SetScanResult(@"SearchMaximumVolume");
}