fixed overlay behavior on custom indicator
check for valid custom indicator