النتائج 226 إلى 240 من 336
- 23-01-2018, 12:12 AM #226
- 23-01-2018, 12:24 AM #227
- 23-01-2018, 12:29 AM #228
- 23-01-2018, 01:07 AM #229
عدلته او بالاحرى اعدت برمجته
الذيول قمة وقاع لو خفيف
جشد الشمعة اعمق
آخر تعديل بواسطة فيلسوف البادية ، 23-01-2018 الساعة 01:11 AM
- 23-01-2018, 01:09 AM #230كود PHP:
#property indicator_chart_window
datetime time1;
datetime time2;
int start()
{
ObjectsDeleteAll();//----
for(int i=1;i<222;i++)
{
time1=iTime(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i]));
time2=iTime(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i-1]));
if (iClose(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i]))>iOpen(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])))
{
ObjectDelete("qObjtf"+i);//----
ObjectCreate("qObjtf"+i,OBJ_RECTANGLE,0,time1,iHigh(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])),time2,iClose(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])));
ObjectSet("qObjtf"+i, OBJPROP_WIDTH, 2);
ObjectSet("qObjtf"+i, OBJPROP_RAY, false);
ObjectSet("qObjtf"+i, OBJPROP_BACK, true);
ObjectSet("qObjtf"+i, OBJPROP_COLOR, C'0,99,0');
ObjectDelete("wObjtf"+i);//----
ObjectCreate("wObjtf"+i,OBJ_RECTANGLE,0,time1,iOpen(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])),time2,iLow(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])));
ObjectSet("wObjtf"+i, OBJPROP_WIDTH, 2);
ObjectSet("wObjtf"+i, OBJPROP_RAY, false);
ObjectSet("wObjtf"+i, OBJPROP_BACK, true);
ObjectSet("wObjtf"+i, OBJPROP_COLOR, C'99,0,0');
ObjectDelete("Objtf"+i);//----
ObjectCreate("Objtf"+i,OBJ_RECTANGLE,0,time1,iClose(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])),time2,iOpen(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])));
ObjectSet("Objtf"+(i),OBJPROP_COLOR, C'0,155,0');
}
else
{
ObjectDelete("qObjtf"+i);//----
ObjectCreate("qObjtf"+i,OBJ_RECTANGLE,0,time1,iHigh(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])),time2,iOpen(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])));
ObjectSet("qObjtf"+i, OBJPROP_WIDTH, 2);
ObjectSet("qObjtf"+i, OBJPROP_RAY, false);
ObjectSet("qObjtf"+i, OBJPROP_BACK, true);
ObjectSet("qObjtf"+i, OBJPROP_COLOR, C'0,99,0');
ObjectDelete("wObjtf"+i);//----
ObjectCreate("wObjtf"+i,OBJ_RECTANGLE,0,time1,iClose(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])),time2,iLow(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])));
ObjectSet("wObjtf"+i, OBJPROP_WIDTH, 2);
ObjectSet("wObjtf"+i, OBJPROP_RAY, false);
ObjectSet("wObjtf"+i, OBJPROP_BACK, true);
ObjectSet("wObjtf"+i, OBJPROP_COLOR, C'99,0,0');
ObjectDelete("Objtf"+i);//----
ObjectCreate("Objtf"+i,OBJ_RECTANGLE,0,time1,iClose(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])),time2,iOpen(NULL,PERIOD_D1,iBarShift(NULL,0,Time[i])));
ObjectSet("Objtf"+(i),OBJPROP_COLOR, C'155,0,0');
}
}
return(0);
}
- 23-01-2018, 01:11 AM #231
- 23-01-2018, 01:25 AM #232
- 23-01-2018, 01:34 AM #233
- 23-01-2018, 01:39 AM #234
هذا من مواضيعك الجميله
كيف تفرض فريم محدد لأي مؤشر؟
- 23-01-2018, 01:41 AM #235
- 23-01-2018, 01:48 AM #236
اضافة اخر شمعة
- 23-01-2018, 01:55 AM #237
========================
- 23-01-2018, 01:57 AM #238
- 23-01-2018, 02:01 AM #239
- 23-01-2018, 02:11 AM #240