if(OW::getUser()->isAuthenticated()){ return; }
Richard: That's exactly that I want. If you are using only one widget of the kind "custom text/HTML" you just need edit the file /ow_system_plugins/base/components/custom_html_widget.php and change line 96 to return self::ACCESS_GUEST. I repeat, this will work only if you have one widget, because if you have more widgets of the same kind, will be invisibles too (that's my case).
Purus: I did not know where to put the code. I put it in differents places into the file /ow_system_plugins/base/components/custom_html_widget.php without success.