• 12:02 صباحاً




تعديل المؤشر

إضافة رد
أدوات الموضوع
عضو نشيط
تاريخ التسجيل: Apr 2013
المشاركات: 414
معدل تقييم المستوى: 12
lmonadi is on a distinguished road
18 - 11 - 2018, 04:48 PM
  #1
lmonadi غير متواجد حالياً  
افتراضي تعديل المؤشر
السلام عليك أستاذ سمير بدي تعديل على مؤشر لي في المرفقات .








#property indicator_chart_window #property indicator_buffers 4 #property indicator_plots 2 #property indicator_type1 DRAW_COLOR_ARROW #property indicator_width1 1 #property indicator_color1 clrRed,clrBlue #property indicator_type2 DRAW_COLOR_ARROW #property indicator_width2 1 #property indicator_color2 clrRed,clrBlue const int arrow_code=75; double Buff1[],Buff2[], Buff1_clr[],Buff2_clr[]; void OnInit() { SetIndexBuffer(0,Buff1,INDICATOR_DATA); SetIndexBuffer(1,Buff1_clr,INDICATOR_COLOR_INDEX); PlotIndexSetInteger(0,PLOT_ARROW,arrow_code); PlotIndexSetDouble(0,PLOT_EMPTY_VALUE,0); PlotIndexSetInteger(0,PLOT_COLOR_INDEXES,2); SetIndexBuffer(2,Buff2,INDICATOR_DATA); SetIndexBuffer(3,Buff2_clr,INDICATOR_COLOR_INDEX); PlotIndexSetInteger(2,PLOT_ARROW,arrow_code); PlotIndexSetDouble(2,PLOT_EMPTY_VALUE,0); PlotIndexSetInteger(2,PLOT_COLOR_INDEXES,2); return; }//OnInit void OnDeinit(const int reason) { return; }//OnDeinit int OnCalculate(const int rates_total, const int prev_calculated, const int begin, const double &price[]) { int bar,first; if(prev_calculated==0) first=0; else first=prev_calculated-1; for(bar=first; bar<rates_total; bar++) { Buff1[bar]=price[bar]; Buff2[bar]=price[bar]-500*_Point; Buff1_clr[bar]=1; Buff2_clr[bar]=1; } return(rates_total); }//OnCalulate
رد مع اقتباس

عضو نشيط
 
تاريخ التسجيل: Apr 2013
المشاركات: 414
معدل تقييم المستوى: 12
lmonadi is on a distinguished road
افتراضي رد: تعديل المؤشر
2#
18 - 11 - 2018, 04:50 PM



#property indicator_chart_window #property indicator_buffers 4 #property indicator_plots 2 #property indicator_type1 DRAW_COLOR_ARROW #property indicator_width1 1 #property indicator_color1 clrRed,clrBlue #property indicator_type2 DRAW_COLOR_ARROW #property indicator_width2 1 #property indicator_color2 clrRed,clrBlue const int arrow_code=75; double Buff1[],Buff2[], Buff1_clr[],Buff2_clr[]; void OnInit() { SetIndexBuffer(0,Buff1,INDICATOR_DATA); SetIndexBuffer(1,Buff1_clr,INDICATOR_COLOR_INDEX); PlotIndexSetInteger(0,PLOT_ARROW,arrow_code); PlotIndexSetDouble(0,PLOT_EMPTY_VALUE,0); PlotIndexSetInteger(0,PLOT_COLOR_INDEXES,2); SetIndexBuffer(2,Buff2,INDICATOR_DATA); SetIndexBuffer(3,Buff2_clr,INDICATOR_COLOR_INDEX); PlotIndexSetInteger(2,PLOT_ARROW,arrow_code); PlotIndexSetDouble(2,PLOT_EMPTY_VALUE,0); PlotIndexSetInteger(2,PLOT_COLOR_INDEXES,2); return; }//OnInit void OnDeinit(const int reason) { return; }//OnDeinit int OnCalculate(const int rates_total, const int prev_calculated, const int begin, const double &price[]) { int bar,first; if(prev_calculated==0) first=0; else first=prev_calculated-1; for(bar=first; bar<rates_total; bar++) { Buff1[bar]=price[bar]; Buff2[bar]=price[bar]-500*_Point; Buff1_clr[bar]=1; Buff2_clr[bar]=1; } return(rates_total); }//OnCalulate
lmonadi غير متواجد حالياً  
رد مع اقتباس
الصورة الرمزية سمير محمد ارمان
مشرف سابق
الصورة الرمزية سمير محمد ارمان
 
تاريخ التسجيل: Nov 2009
المشاركات: 33,660
معدل تقييم المستوى: 48
سمير محمد ارمان will become famous soon enough
افتراضي رد: تعديل المؤشر
3#
18 - 11 - 2018, 06:42 PM
السلام عليكم
ارجو وضع المؤشر فى المرفقات
مع التوضيح من على الشارت المطلوب عمله
لو استطيع المساعدة ان شاء الله
تحياتى
سمير محمد ارمان غير متواجد حالياً  
رد مع اقتباس


إضافة رد



جديد مواضيع منتدى المؤشرات و الاكسبرتات

المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
تعديل على المؤشر heba2000 منتدى المؤشرات و الاكسبرتات 4 24 - 12 - 2014 09:45 AM
:: طلب تعديل هذا المؤشر الهام جدا :: dr_3abkarino منتدى المؤشرات و الاكسبرتات 12 27 - 06 - 2013 12:24 PM


12:02 AM