
////////////////////////////////////////////////////////////////////////////////////////////////////
////graph_CIRCLE.mq4////v1.0////02-2010////cu6yu4////cu6yu4@gmail.com///////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////

//----variables
double ScaleByPrice;
int DiameterBySeconds;
string Name;
color Col1;

////////////////////////////////////////////////////////////////////////////////////////////////////
int init()
{

////
return(0);
}

////////////////////////////////////////////////////////////////////////////////////////////////////
int deinit()
{

////
return(0);
}

////////////////////////////////////////////////////////////////////////////////////////////////////
int start()
{

//---- setup
Name=StringConcatenate("circle","  ",TimeToStr(WindowTimeOnDropped(),TIME_DATE|TIME_SECONDS),"  ",WindowPriceOnDropped());
Col1=C'60,60,60';
ScaleByPrice=0.081;
DiameterBySeconds=1000;

//---- insert   
ObjectCreate(Name,OBJ_ELLIPSE,0,WindowTimeOnDropped(),WindowPriceOnDropped(),WindowTimeOnDropped()+DiameterBySeconds,WindowPriceOnDropped());
   
ObjectSet(Name,OBJPROP_SCALE,ScaleByPrice);
ObjectSet(Name,OBJPROP_COLOR,Col1);
ObjectSet(Name,OBJPROP_BACK,true);
    
////  
return(0);
}

////////////////////////////////////////////////////////////////////////////////////////////////////
////graph_CIRCLE.mq4////v1.0////02-2010////cu6yu4////cu6yu4@gmail.com///////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////