Is there a way to hide all of the objects that you have added to your chart to see the chart naked?

 
Soul8:
I haven't come across this function as of yet if it exist.

you can remove object or set black color.

ObjectSetInteger(0,name,OBJPROP_BGCOLOR,clrBlack);

ObjectSetInteger(0,name,OBJPROP_COLOR,clrBlack);
 
Thank you, I did know of these techniques, however if I have 10 objects on my chart it is very inconvenient to have to change them all to black so that blend with the chart. I was hoping there was a function like trading view that allows you to hide them is you choose.
 
how about simply open another chart of the same symbol
 


//for example:

ShowHideObjs(false);

ChartRedraw();


void ShowHideObjs(bool MyShowHide)

{

int propVal= OBJ_ALL_PERIODS ;

if( !MyShowHide )   propVal=  OBJ_NO_PERIODS ;

for(int i=ObjectsTotal(0,0)-1;i>=0;i--)

   {
   string ObjName=ObjectName(0,i,0);
   
      if(ObjectType(ObjName)==OBJ_VLINE ||
         ObjectType(ObjName)==OBJ_HLINE ||
         ObjectType(ObjName)==OBJ_TREND ||
         ObjectType(ObjName)==OBJ_CHANNEL ||
         ObjectType(ObjName)==OBJ_FIBO ||
         ObjectType(ObjName)==OBJ_EXPANSION||
         ObjectType(ObjName)==OBJ_RECTANGLE ||
         ObjectType(ObjName)==OBJ_TRIANGLE)
      {
      ObjectSetInteger(0,ObjName,OBJPROP_TIMEFRAMES, propVal );
      }

   }

}