int obj_total = ObjectsTotal();
ArrayResize(VlineTimeArray, obj_total);
ArrayResize(HlineArrayPrice, obj_total);
ArrayResize(TrendArrayPrice, obj_total);
VlineTimeArray[0]=NULL;
HlineArrayPrice[0]=NULL;
TrendArrayPrice[0]=NULL;
string name,text; int i, j;
for(i = 0; i < obj_total; i++)
{
name = ObjectName(i);
if(ObjectType(name) == OBJ_VLINE) {
VlineTimeArray[VlineCount]=ObjectGet(name,OBJPROP_TIME1);
VlineCount++;
}if(ObjectType(name) == OBJ_HLINE) {
HlineArrayPrice[HlineCount]=ObjectGet(name,OBJPROP_PRICE1);
HlineCount++;
}
if(ObjectType(name)==OBJ_TREND) //ObjectGetValueByShift {
TrendArrayPrice[TrendCount]=ObjectGetValueByShift(name,0);
TrendCount++; }
}//for(i = 0; i < obj_total;
i++)VlineBar=iBarShift(Symbol(),0,VlineTimeArray[0],true);
HlineBar=HlineArrayPrice[0];
if(显示开关) {
//_Show(\订单号,0,200,0);
_ShowStr(\划线文字X位置,划线文字Y位置);
_Show(\划线文字X位置,划线文字Y位置+20,文字颜色);
_Show(\划线文字X位置,划线文字Y位置+40,文字颜色);
_Show(\划线文字X位置,划线文字Y位置+60,文字颜色); }
if(!显示开关) {
// ObjectDelete(\
ObjectDelete(\
ObjectDelete(\
ObjectDelete(\
ObjectDelete(\ }}
//====================================================================================== 4 在屏幕上显示自定义文字_show() 可以用来 显示 整形 double 数据
_showStr() 可以用来显示字符串可以见3 中的使用方法
//======================================================================================
void _Show(string Str,double dTemp,int dNum,int xOffset,int