السلام عليكم استاذى الكريم
دالة الرابع سنوى لا تعمل
ارجو المساعده ولك الشكر والتقدير
كود PHP:double MaxClose_H=0,MinClose_H=0;
int StartMonth,EndMonth;
if(Month()<=3){StartMonth=12;EndMonth=10;}
else if(Month()<=6){StartMonth=3;EndMonth=1;}
else if(Month()<=9){StartMonth=6;EndMonth=4;}
else if(Month()<=12){StartMonth=9;EndMonth=7;}
for(int h=0;h<Bars;h++)
{
if(TimeMonth(Time[h])<=StartMonth&&TimeMonth(Time[h])>=EndMonth)
{
if(Close[h]>MaxClose_H)MaxClose_H=Close[h];
if(Close[h]<MinClose_H||MinClose_H==0)MinClose_H=Close[h];
}
else if(TimeMonth(Time[h])<EndMonth||TimeMonth(Time[h])>StartMonth)
{
break;
}
}
Comment(MaxClose_H," ",MinClose_H);

