|
|
 |
|
05-10-2014, 11:53 AM
|
#41
|
عضو هوامير المميز
تاريخ التسجيل: Apr 2010
المشاركات: 2,332
|
رد: شرح كيفية صنع بعض معادلات الايمي بروكر
اقتباس:
المشاركة الأصلية كتبت بواسطة douplexx
حياك مالك الفلوب
شوف كذا نفس طلبك او لا الخط هو متوسط ل30 يوم وثاني مؤشر الكميه
v30=
(ref(v,-1)+ref(v,-2)+ref(v,-3)+ref(v,-4)+ref(v,-5)+ref(v,-6)+ref(v,-7)+ref(v,-8)+ref(v,-9)+ref(v,-10)+
ref(v,-11)+ref(v,-12)+ref(v,-13)+ref(v,14)+ref(v,-15)+ref(v,-16)+ref(v,-17)+ref(v,-18)+ref(v,-19)+ref(v,-20)+
ref(v,-21)+ref(v,-22)+ref(v,-23)+ref(v,-24)+ref(v,-25)+ref(v,-26)+ref(v,-27)+ref(v,-28)+ref(v,-29)+ref(v,-30))/30;
plot(v30," ",colorgrey50,4+8);
v30h=iif(v30<=volume, colorgreen,coloryellow);
plot(volume," ",v30h,stylehistogram);
m1=volume>v30 and h> ref(h,-1);;plotshapes(iif(m1 ,shapeuparrow,shapenone),colorblue,0,h,10) ;
m2=volume<v30 and ((c>o) and
((c-o)/(.001+h-l)>.6)) and h>ref(h,-1);plotshapes(iif(m2 ,shapecircle ,shapenone),colorred,0,l,5) ;
و هذا لمتوسط 30 يوم فقط
v30=
(ref(v,-1)+ref(v,-2)+ref(v,-3)+ref(v,-4)+ref(v,-5)+ref(v,-6)+ref(v,-7)+ref(v,-8)+ref(v,-9)+ref(v,-10)+
ref(v,-11)+ref(v,-12)+ref(v,-13)+ref(v,14)+ref(v,-15)+ref(v,-16)+ref(v,-17)+ref(v,-18)+ref(v,-19)+ref(v,-20)+
ref(v,-21)+ref(v,-22)+ref(v,-23)+ref(v,-24)+ref(v,-25)+ref(v,-26)+ref(v,-27)+ref(v,-28)+ref(v,-29)+ref(v,-30))/30;
plot(v30," ",colorred,4+8);
v30h=iif(v30<=volume, colorgreen,coloryellow);
plot(v ," ",v30h,stylehistogram);
تاكد منها و انا تحت امرك اذ فيه شي ابشر
|
جزاك الله كل خير والله يرحم ولديك . انا الان في الشركه مداوم ان شاء الله في الليل اجربها . طيب عندك شي لموجات اليوت للايمي بروكير .
|
|
|
05-10-2014, 04:45 PM
|
#42
|
كاتب قدير
تاريخ التسجيل: Oct 2005
المشاركات: 8,273
|
رد: شرح كيفية صنع بعض معادلات الايمي بروكر
ما شـــــــــــــاء الله تبارك الله
الله يوفقك لما تحبه وترضاه
|
|
|
05-10-2014, 08:56 PM
|
#43
|
عضو هوامير المميز
تاريخ التسجيل: Dec 2011
المشاركات: 308
|
رد: شرح كيفية صنع بعض معادلات الايمي بروكر
|
|
|
05-10-2014, 10:48 PM
|
#44
|
عضو هوامير المميز
تاريخ التسجيل: Oct 2013
المشاركات: 503
|
رد: شرح كيفية صنع بعض معادلات الايمي بروكر
حياك يا الريس ابو محمد و حياك haat
شرفتوني بمشاركتكم الله يسعدكم
معادلة حسب متوسط الكميه لخمسة ايام سابقه
نسخ المعادله الشرط او المطلوب اول
v5=(Ref(V,-1)+Ref(V,-2)+Ref(V,-3)+Ref(V,-4)+Ref(V,-5))/5;
نسخ معادلة هذا بعد الشرط او المطلوب لزم تكون بعدها
Plot(v5," يام 5 متوسط",colorGrey50,styleLine);
شرحها
v5 هذا اسم الشرط و لك حرية الختيار بعدها تكتب علامة = و تكتب المطلوب
(1-,...... ) ref تعني سابق يعني لكميه او اغلاق او المؤشر او rsi الخ
بعدها الخانه اللي فيها نقاط تكتب فيها رمز المطلوب كميه الادني مؤشر الخ
بعدها فاصله لزم تكون موجوده
بعدها 1- و تعني يوم سابق و 2 - تعني يومان سابقه الخ
تكتبها و تجمعها كلها بعدها تفقل المعادله بالاقواس راجع شكل المعادله
في البرنامج علشان تعرف كيف ترتيبها صح
بعدها تحط رمز القسمه / بعدها العدد المطلوب مثل 5 الخ
فيها طرق ثانيه بس نبدا بسهله
المعادله
v5=(Ref(V,-1)+Ref(V,-2)+Ref(V,-3)+Ref(V,-4)+Ref(V,-5))/5;
Plot(v5," يام 5 متوسط",colorGrey50,styleLine);
و بالتوفيق
|
|
|
06-10-2014, 12:01 AM
|
#45
|
عضو هوامير المميز
تاريخ التسجيل: Jan 2011
المشاركات: 440
|
رد: شرح كيفية صنع بعض معادلات الايمي بروكر
طيب سؤال
اذا فيه قناه سعرية او مثلث abc
واريد ان يصبح داخل القناة او المثلث لون مختلف عن الشارت
كيف الطريقة ؟
|
|
|
06-10-2014, 12:06 AM
|
#46
|
عضو هوامير المميز
تاريخ التسجيل: Oct 2013
المشاركات: 503
|
رد: شرح كيفية صنع بعض معادلات الايمي بروكر
حياك يا كشكول.
شغلك في الثقيل خطير   ابشر
|
|
|
06-10-2014, 12:09 AM
|
#47
|
عضو هوامير المميز
تاريخ التسجيل: Jan 2011
المشاركات: 440
|
رد: شرح كيفية صنع بعض معادلات الايمي بروكر
|
|
|
06-10-2014, 12:21 AM
|
#48
|
عضو هوامير المميز
تاريخ التسجيل: Oct 2013
المشاركات: 503
|
رد: شرح كيفية صنع بعض معادلات الايمي بروكر
طيب ابشر اشوف الاعدادت حقت الرسايل كلها حاط صح عليها 
|
|
|
06-10-2014, 12:36 AM
|
#49
|
عضو هوامير المميز
تاريخ التسجيل: Oct 2013
المشاركات: 503
|
رد: شرح كيفية صنع بعض معادلات الايمي بروكر
الاخ كشكول. قصدك زي كذا
_SECTION_BEGIN("Linear_Regression_Line_w__Std_Deviation_Channels");
// Linear Regression Line with 2 Standard Deviation Channels Plotted Above and Below
// Written by Patrick Hargus, with critical hints from Marcin Gorzynski, Amibroker.com Technical Support
// Designed for use with AB 4.63 beta and above, using drag and drop feature.
// Permits plotting a linear regression line of any price field available on the chart for a period determined by the user.
// 2 Channels, based on a standard deviation each determined by the user, are plotted above and below the linear regression line.
// A look back feature is also provided for examining how the indicator would have appeared on a chart X periods in the past.
P = ParamField("Price field",-1);
Daysback = Param("Period for Liner Regression Line",21,1,240,1);
shift = Param("Look back period",0,0,240,1);
// =============================== Math Formula =============================================================
x = Cum(1);
lastx = LastValue( x ) - shift;
aa = LastValue( Ref(LinRegIntercept( p, Daysback), -shift) );
bb = LastValue( Ref(LinRegSlope( p, Daysback ), -shift) );
y = Aa + bb * ( x - (Lastx - DaysBack +1 ) );
// ==================Plot the Linear Regression Line ==========================================================
LRColor = ParamColor("LR Color", colorLightGrey );
LRStyle = ParamStyle("LR Style");
LRLine = IIf( x > (lastx - Daysback) AND BarIndex() < Lastx, y, Null );
Plot( LRLine , "LinReg", LRCOLOR, LRSTYLE ); // styleDots );
// ========================== Plot 1st SD Channel ===============================================================
SDP = Param("Standard Deviation", 1.618, 0, 6, 0.1);
SD = SDP/2;
Plot(C, "", IIf(O>=C, colorRed, colorBrightGreen), styleCandle);
width = LastValue( Ref(SD*StDev(p, Daysback),-shift) ); // THIS IS WHERE THE WIDTH OF THE CHANELS IS SET
SDU = IIf( x > (lastx - Daysback) AND BarIndex() < Lastx, y+width , Null ) ;
SDL = IIf( x > (lastx - Daysback) AND BarIndex() < Lastx, y-width , Null ) ;
SDP2 = Param("2d Standard Deviation", 3.14, 0, 6, 0.1);
SD2 = SDP2/2;
width2 = LastValue( Ref(SD2*StDev(p, Daysback),-shift) ); // THIS IS WHERE THE WIDTH OF THE CHANELS IS SET
SDU2 = IIf( x > (lastx - Daysback) AND BarIndex() < Lastx, y+width2 , Null ) ;
SDL2 = IIf( x > (lastx - Daysback) AND BarIndex() < Lastx, y-width2 , Null ) ;
SDColor2 = ParamColor("2 SD Color", colorRed );
SDStyle2 = ParamStyle("2 SD Style");
SDColor = ParamColor("SD Color", colorBrightGreen );
SDStyle = ParamStyle("SD Style");
Plot( SDU , "Upper Lin Reg", SDColor,SDStyle );
Plot( SDL , "Lower Lin Reg", SDColor,SDStyle );
Title = "{{VALUES}}"+StrFormat("nSlope=(%.2f)",bb);
// ========================== Plot 2d SD Channel ===============================================================
Plot( SDU2 , "Upper Lin Reg", SDColor2,SDStyle2 );
Plot( SDL2 , "Lower Lin Reg", SDColor2,SDStyle2 );
PlotOHLC(sdu2,sdu2,sdu,sdu,"",colorDarkRed,styleCloud+styleNoLabel);
PlotOHLC(sdl2,sdl2,sdl,sdl,"",colorDarkRed,styleCloud+styleNoLabel);
PlotOHLC(LRLine ,sdl2,LRLine ,sdl,"",colorDarkGreen,styleCloud+styleNoLabel);
PlotOHLC(LRLine ,sdu2,LRLine ,sdu,"",colorDarkGreen,styleCloud+styleNoLabel);
// ============================ End Indicator Code ==============================================================
Con = IIf(C > sdl2 AND C < sdu2, 1, 0);
if(StrToNum(NumToStr(Con)) AND bb > 0)
bgColor = ColorRGB(0,66, 2);
else
bgColor = ColorRGB(66, 2, 0);
SetChartBkGradientFill( colorBlack, bgColor);
_SECTION_END();
لتنبيه المعادله ليس لي
|
|
|
06-10-2014, 01:02 AM
|
#50
|
عضو هوامير المميز
تاريخ التسجيل: Jan 2011
المشاركات: 440
|
رد: شرح كيفية صنع بعض معادلات الايمي بروكر
|
|
|
أدوات الموضوع |
|
انواع عرض الموضوع |
العرض العادي
|
تعليمات المشاركة
|
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك
كود HTML معطلة
|
|
|
|