إضافة رد
قديم 04-12-2018, 08:40 AM
  المشاركه #41

عضو هوامير المميز

تاريخ التسجيل: Jan 2017
المشاركات: 17
bohaneen11 غير متواجد حالياً  

رد: معادلات للمضارب اللحظي على الايمى بروكر


اقتباس:
المشاركة الأصلية كتبت بواسطة amm1430 مشاهدة المشاركة
_section_begin("natraj eod tech chart");
graphxspace = 15;_section_begin("???? ?????");
r1 = param( "fast avg", 11, 3, 20, 1 );
r2 = param( "slow avg", 35, 10, 35, 1 );
r3 = param( "signal avg", 6, 3, 20, 1 );
ml = macd(r1, r2);
sl = signal(r1,r2,r3);
hst = ml-sl;
a1=ema(c,4)-ema(c,34);
bbtops=bbandtop(a1,10,1);
bbbots=bbandbot(a1,10,1);

color_bar=iif(a1>bbtops, colorblue,iif(a1<bbbots,colorred,coloryellow));

bbtop = bbandtop( hst, 10, 1 );
bbbot = bbandbot( hst, 10,1 );

color = iif (hst > bbtop,colorblue,iif(hst < bbbot,colorred, iif (hst > 0,colorblue,colorred)));buy = cross (hst,bbtop);sell = cross (bbtop,hst);short = cross (bbbot,hst);cover = cross (hst,bbbot);
plot (close,"close",color_bar,stylecandle);






_section_begin("name");

gfxsetoverlaymode(1);
gfxselectfont("tahoma", status("pxheight")/8 );
gfxsettextalign( 6 );// center alignment
gfxsettextcolor(colorred);
gfxsetbkmode(0); // transparent
gfxtextout( name(), status("pxwidth")/2, status("pxheight")/12 );
gfxselectfont("tahoma", status("pxheight")/18 );
gfxsettextcolor(colorgrey40);
gfxtextout( " kulotskyman trading ", status("pxwidth")/2, status("pxheight")/4 );

_section_end();


_section_begin("mvwap");
mvwapaverage_toggle = paramtoggle("mvwap","off|on",1);
mvwap5 = ma(c*v,5)/ ma(v,5);
mvwap20 = ma(c*v,20)/ ma(v,20);
mvwap50 = ma(c*v,50)/ ma(v,50);
mvwap100 = ma(c*v,100)/ ma(v,100);
mvwap200 = ma(c*v,200)/ ma(v,200);
mvwap250 = ma(c*v,250)/ ma(v,250);

mvwapcross520 = mvwap5>mvwap20;
mvwapcross520d = mvwap5<mvwap20;
mvwapcross520b = cross(mvwap5,mvwap20);
mvwapcross520s = cross(mvwap20,mvwap5);
mvwapcross520buybars = barssince(mvwapcross520b);
mvwapcross520sellbars = barssince(mvwapcross520s);
mvwapcross520since = iif(mvwapcross520,mvwapcross520buybars,mvwapcross520sellbars);
mvwapcross520_status = writeif(mvwapcross520,"bullish ",writeif(mvwapcross520d,"bearish ","n/a "));
mvwapcross520_color = iif(mvwapcross520,colorgreen,colorred);

mvwapcross2050 = mvwap20>mvwap50;
mvwapcross2050d = mvwap20<mvwap50;
mvwapcross2050b = cross(mvwap20,mvwap50);
mvwapcross2050s = cross(mvwap50,mvwap20);
mvwapcross2050buybars = barssince(mvwapcross2050b);
mvwapcross2050sellbars = barssince(mvwapcross2050s);
mvwapcross2050since = iif(mvwapcross2050,mvwapcross2050buybars,mvwapcross2050sellbars);
mvwapcross2050_status = writeif(mvwapcross2050,"bullish ",writeif(mvwapcross2050d,"bearish ","n/a "));
mvwapcross2050_color = iif(mvwapcross2050,colorgreen,colorred);

mvwapcross50100 = mvwap50>mvwap100;
mvwapcross50100d = mvwap50<mvwap100;
mvwapcross50100b = cross(mvwap50,mvwap100);
mvwapcross50100s = cross(mvwap100,mvwap50);
mvwapcross50100buybars = barssince(mvwapcross50100b);
mvwapcross50100sellbars = barssince(mvwapcross50100s);
mvwapcross50100since = iif(mvwapcross50100,mvwapcross50100buybars,mvwapcross50100sellbars);
mvwapcross50100_status = writeif(mvwapcross50100,"bullish ",writeif(mvwapcross50100d,"bearish ","n/a "));
mvwapcross50100_color = iif(mvwapcross50100,colorgreen,colorred);

mvwapcross50200 = mvwap50>mvwap200;
mvwapcross50200d = mvwap50<mvwap200;
mvwapcross50200b = cross(mvwap50,mvwap200);
mvwapcross50200s = cross(mvwap200,mvwap50);
mvwapcross50200buybars = barssince(mvwapcross50200b);
mvwapcross50200sellbars = barssince(mvwapcross50200s);
mvwapcross50200since = iif(mvwapcross50200,mvwapcross50200buybars,mvwapcross50200sellbars);
mvwapcross50200_status = writeif(mvwapcross50200,"bullish ",writeif(mvwapcross50200d,"bearish ","n/a "));
mvwapcross50200_color = iif(mvwapcross50200,colorgreen,colorred);

mvwapcross50250 = mvwap50>mvwap250;
mvwapcross50250d = mvwap50<mvwap250;
mvwapcross50250b = cross(mvwap50,mvwap250);
mvwapcross50250s = cross(mvwap250,mvwap50);
mvwapcross50250buybars = barssince(mvwapcross50250b);
mvwapcross50250sellbars = barssince(mvwapcross50250s);
mvwapcross50250since = iif(mvwapcross50250,mvwapcross50250buybars,mvwapcross50250sellbars);
mvwapcross50250_status = writeif(mvwapcross50250,"bullish ",writeif(mvwapcross50250d,"bearish ","n/a "));
mvwapcross50250_color = iif(mvwapcross50250,colorgreen,colorred);

if(mvwapaverage_toggle==1)
{
plot(mvwap5,"mvwap5",colorred,stylethick);
plot(mvwap20,"mvwap20",colorblue,stylethick);
//plot(mvwap50,"mvwap50",colorlime,stylethick);
plot(mvwap100,"mvwap100",colorgold,stylethick);
//plot(mvwap200,"mvwap200",colorturquoise,stylethick);
//plot(mvwap250,"mvwap250",colorpalegreen,stylethick);
}

_section_end();

buy=mvwapcross520b;
plotshapes(shapeuparrow*buy,colorgreen);
sell=mvwapcross520s;
plotshapes(shapedownarrow*sell,colorred);
الف شكر اخوي ممكن شرح المعادله



رد مع اقتباس
 
 

إضافة رد


مواقع النشر (المفضلة)

الكلمات الدلالية (Tags)
للمضارب, معادلات, اللحظي, الايمى, بروكر, على

أدوات الموضوع
انواع عرض الموضوع

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة

الانتقال السريع



06:43 PM