إضافة رد
قديم 25-05-2018, 01:53 AM
  المشاركه #21

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

تاريخ التسجيل: Oct 2011
المشاركات: 2,187
عنترناش الأول غير متواجد حالياً  

رد: مؤشرات حلوه للايمي بروكر


مبروك عليكم الشهر

عندي ايمي 6.2

هل من مؤشرات مميزة



رد مع اقتباس
 
 

قديم 26-05-2018, 03:12 PM
  المشاركه #22

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

تاريخ التسجيل: Jan 2008
المشاركات: 12,028
الكسير غير متواجد حالياً  

رد: مؤشرات حلوه للايمي بروكر


ترفع للفايده


رد مع اقتباس
قديم 27-07-2018, 03:42 PM
  المشاركه #23

عضو موقوف

تاريخ التسجيل: Feb 2018
المشاركات: 1,934
كليجا القصيم غير متواجد حالياً  

رد: مؤشرات حلوه للايمي بروكر


بارك الله فيكم


رد مع اقتباس
قديم 27-08-2018, 01:50 PM
  المشاركه #24

كاتب مميز

تاريخ التسجيل: Apr 2005
المشاركات: 7,806
saord متواجد حالياً  

رد: مؤشرات حلوه للايمي بروكر


جزاك الله خيرآ


رد مع اقتباس
قديم 09-09-2019, 09:40 PM
  المشاركه #25

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

تاريخ التسجيل: Jun 2014
المشاركات: 4
صلاح السعدي غير متواجد حالياً  

رد: مؤشرات حلوه للايمي بروكر


اقتباس:
المشاركة الأصلية كتبت بواسطة الكسير مشاهدة المشاركة
/////////////////////////////////////////////////////////
// //
// general market exploration by xel //
// //
// ver: 1.00.beta //
// //
// free to distribute under lgpl 2012 . //
// portions of code are property of their original //
// authors, cleaning, some new code and preparation //
// are derived by @xel_arjona. //
// some original code credits: //
// //
// * volume price analysis by karthikmarar //
// http://vpanalysis.blogspot.mx/ //
// //
// * jurik research dmx (free) //
// http://jurikres.com/catalog/ms_dmx.htm //
// //
// * extract of some exploration methodology //
// by manish. //
// //
// //
/////////////////////////////////////////////////////////


/////////////////
// afl start //
/////////////////

//_section_begin("vpa, momentum & signal explorer by xel");


//////////////////////
// main variables //
//////////////////////
// count index value for trendscore
i = 0;
// display colors
// main color
color_buy = colorlime ;
color_bull = colorgreen ;
color_bull1 = colordarkyellow ;
color_bear1 = colorlightorange ;
color_bear = colororange ;
color_sell = colorred ;
color_prev = colorgold ;
color_acc = colorpaleturquoise ;
color_null = colorlightgrey ;
// background colors
bcolor_vpa = colorblack ;
bcolor_mas = colordefault ;
bcolor_mam = colordefault ;
bcolor_mal = colordefault ;
// alternate colors
color_acc1 = colorbluegrey ;

// 52 high low
high52 = hhv(high,250);
low52 = llv(low,250);
// t3 function
function t3(price,periods)
{
s = 0.84;
e1=ema(price,periods);
e2=ema(e1,periods);
e3=ema(e2,periods);
e4=ema(e3,periods);
e5=ema(e4,periods);
e6=ema(e5,periods);
c1=-s*s*s;
c2=3*s*s+3*s*s*s;
c3=-6*s*s-3*s-3*s*s*s;
c4=1+3*s+s*s*s+3*s*s;
ti3=c1*e6+c2*e5+c3*e4+c4*e3;
return ti3;
}


////////////////////////////////////////////////
// time to date % change and beta correlation //
////////////////////////////////////////////////
_section_begin("p/l % change over time with beta correlation");
// parameters
ttd_param = paramlist("period","day to date|week to date|month to date|year to date",0);
idx_param = paramstr("reference market index symbol","$ime-mex");
// variables
fdaymonth = barssince(month() != ref(month(),-1));
fdayyear = barssince(year() != ref(year(),-1));
ttd_period = iif(ttd_param == "day to date",1,
iif(ttd_param == "week to date",dayofweek(),
iif(ttd_param == "month to date",fdaymonth,
iif(ttd_param == "year to date",fdayyear,0))));
idx_close = foreign(idx_param,"close");
// formula
// p/l % change
ttd_change = 100 * (close - ref(close, -ttd_period) ) / ref(close, -ttd_period);
// beta correlation in time from index
beta = (( ttd_period * sum(roc( c,1) * roc(idx_close,1),ttd_period )) -
(sum(roc(c,1),ttd_period) *
sum(roc( idx_close,1),ttd_period))) /
((ttd_period * sum((roc(idx_close,1)^2 ),ttd_period)) -
(sum(roc(idx_close,1 ),ttd_period)^2 ));
_section_end();


///////////////////////////
// volume price analysis //
///////////////////////////
_section_begin("volume price analysis");
// formula
setchartoptions(0,chartshowarrows|chartshowdates);
dtl=param("linear regression period",60,10,100,10);
wbf=param("wrb factor",1.5,1.3,2.5,.1);
nbf=param("nrb factor",0.7,0.3,0.9,0.1);
tl=linregslope(ma(c, dtl),2);
vlp=param("volume lookback period",30,20,300,10);
vrg=ma(v,vlp);
st = stdev(vrg,vlp);
vp3 = vrg + 3*st;
vp2 = vrg + 2*st;;
vp1 = vrg + 1*st;;
vn1 = vrg -1*st;
vn2 = vrg -2*st;
rg=(h-l);
arg=wilders(rg,30);
wrb=rg>(wbf*arg);
nrb=rg<(nbf*arg);
vl=v<ref(v,-1) and v<ref(v,-2);
upbar=c>ref(c,-1);
dnbar=c<ref(c,-1);
vh=v>ref(v,-1) and ref(v,-1)>ref(v,-2);
cloc=c-l;
x=rg/cloc;
x1=iif(cloc=0,arg,x);
vb=v>vrg or v>ref(v,-1);
ucls=x1<2;
dcls=x1>2;
mcls=x1<2.2 and x1>1.8 ;
vlcls=x1>4;
vhcls=x1<1.35;
j=ma(c,5);
tll=linregslope(j,40) ;
tlm=linregslope(j,15) ;
tls=linregslope(j,5);
mp=(h+l)/2;
// volume variables
// trendscore count
iif( v>vp2, i+3,i);
iif( v>vp1, i+2,i);
iif( v>vrg, i+1,i);
// indicators
vpav_status = writeif( v>vp2, "very high",
writeif( v>vp1, "high",
writeif( v>vrg, "above average",
writeif( v<vrg and v>vn1, "less than average",
writeif( v<vn1, "l o w", "" )))));
vpav_color = iif( v>vp2, color_buy,
iif( v>vp1, color_bull,
iif( v>vrg, color_bull1,
iif( v<vrg and v>vn1, color_bear,
iif( v<vn1, color_sell, color_null )))));

// spread variables
// indicators
iif( rg>(arg*2), i+2,i);
iif( rg>arg, i+1,i);
vpas_status = writeif( rg>(arg*2), "wide",
writeif( rg>arg, "above average","narrow"));
vpas_color = iif( rg>(arg*2), color_buy,
iif( rg>arg, color_bull,color_bear));

// close variables
// trendscroe count
iif( vhcls, i+2,i);
iif( ucls, i+1,1);
// indicators
vpac_status = writeif( vhcls, "very high",
writeif( ucls, "high",
writeif( mcls, "mid",
writeif( dcls, "down","very low"))));
vpac_color = iif( vhcls, color_buy,
iif( ucls, color_bull,
iif( mcls, color_bull1,
iif( dcls, color_bear,color_sell))));

// volume zone
// formula
c1 = ref(c, -1);
uc = c > c1; dc = c <= c1;
ud = c > o; dd = c <= o;
green = 1; blue = 2; yellow = 3; red = 4; white = 5;
vtype = iif(ud,
iif(uc, green, yellow),
iif(dd,
iif(dc, red, blue), white));
/* green volume: Up-day and up-close*/
gv = iif(vtype == green, v, 0);
/* yellow volume: Up-day but down-close */
yv = iif(vtype == yellow, v, 0);
/* red volume: Down-day and down-close */
rv = iif(vtype == red, v, 0);
/* blue volume: Down-day but up-close */
bv = iif(vtype == blue, v, 0);
uv = gv + bv; uv1 = ref(uv, -1); /* up volume */
dv = rv + yv; dv1 = ref(dv, -1); /* down volume */
volper = param("adjust vol. Ma per.", 34, 1, 255, 1);//12
convper = param("adjust conv. Ma per.", 9, 1, 255, 1);//6
mauv = tema(uv, volper ); mauv1 = ref(mauv, -1);
madv = tema(dv, volper ); madv1 = ref(madv, -1);
matv = tema(v, volper );//total volume
converge = (tema(mauv - madv, convper));
converge1 = ref(converge, -1);
convergeup = converge > converge1;
convergeover = converge > 0;
rising = convergeup and convergeover;
falling = !convergeup and convergeover;
// volume zone
// variables
// trendscore count
iif( rising, i+1,i);
// indicators
vpaz_status = writeif(rising,"accumulation",
writeif(falling,"distribution","flat"));
vpaz_color = iif(rising,color_acc,
iif(falling,color_prev,color_null));

// volume status
// parameters
pp1=param("number of days",30,1,200,1);
pp2=param("volume of days",15,1,200,1);
// formula
numdays = pp1;
dwwidespread = 1.8;
dwnarrowspread = 0.8;
dwspreadmiddle = 0.5;
dwhighclose = 0.7;
dwlowclose = 0.3;
volnumdays = pp2;
dwultrahighvol = 2;
dwveryhighvol = 1.75; // was 1.8
dwhighvol = 1.75; // was 1.8
dwmoderatevol = 1.10; // was 1.8
dwlowvol = 0.75; // was 0.8
/* classify each bar... */
upbar = c > ref(c,-1);
downbar = c < ref(c,-1);
spread = h-l;
avgrange = sum(spread, numdays) / numdays;
widerange = spread >= (dwwidespread * avgrange);
narrowrange = spread <= (dwnarrowspread * avgrange);
testhighclose = l + (spread * dwhighclose);
testlowclose = l + (spread * dwlowclose);
testclosemiddle = l + (spread * dwspreadmiddle);
upclose = c > testhighclose;
downclose = c < testlowclose;
middleclose = c >= testlowclose and c <= testhighclose;
avgvolume = ema(v, volnumdays);
highvolume = v > (avgvolume * dwhighvol);
moderatevol= v > (avgvolume * dwmoderatevol);
veryhighvolume = v > (avgvolume * dwveryhighvol);
ultrahighvolume = v > (avgvolume * dwultrahighvol);
lowvolume = v < (avgvolume * dwlowvol);
/* ection and title */
/* basic patterns... */
upthrustbar = downclose and h > ref(h,-1) and (c == l) and downclose and (not narrowrange);
nodemandbar = narrowrange and lowvolume and upbar and (not upclose);
//nodemandbar = narrowrange and lowvolume and upbar and (v < ref(v,-1)) and (v < ref(v,-2));
nosupplybar = narrowrange and lowvolume and downbar and (v < ref(v,-1)) and (v < ref(v,-2));
absorption = ref(downbar, -1) and ref(highvolume, -1) and upbar;
support = ref(downbar,-1) and (not ref(downclose,-1)) and ref(highvolume,-1) and upbar;
stoppingvolume = ref(downbar,-1) and ref(highvolume,-1) and c > testclosemiddle and (not downbar);
bullishsign=moderatevol+upthrustbar;//or moderatevol+upbar;
//rallyend = (ref(highvolume,-1) and ref(upbar,-1) and widerange and downbar) or
// (narrowrange and highvolume and h > ref(hhv(h, 250), -1));
/* strength and weakness */
weakness = upthrustbar or nodemandbar or
(narrowrange and (h > ref(h,-1)) and highvolume) or
(ref(highvolume,-1) and ref(upbar,-1) and downbar and (h < ref(h,-1)));
// variables
// trendscore count
iif( bullishsign, i+3,i);
iif( upthrustbar, i+2,i);
iif( absorption, i+1,i);
// indicators
vpast_status = writeif(weakness,"w e a k",
writeif(stoppingvolume,"stopping volume",
writeif(nosupplybar,"no supply",
writeif(support,"support",
writeif(nodemandbar,"no demand",
writeif(absorption,"absorption",
writeif(upthrustbar,"up thrust",
writeif(bullishsign,"-=strong=-","neutral"))))))));
vpast_color = iif(weakness,color_sell,
iif(stoppingvolume,color_bear,
iif(nosupplybar,color_bear1,
iif(support,color_bear,
iif(nodemandbar,color_prev,
iif(absorption,color_bull1,
iif(upthrustbar,color_bull,
iif(bullishsign,color_buy,color_null))))))));
_section_end();


//////////////////////////
// ema terms and trend //
//////////////////////////
_section_begin("ema short, mid and long terms and trend");
// parameters
emas1pds = param("1st. Short term period",9,5,14,1);
emas2pds = param("2nd. Short term period",20,15,45,1);
emampds = param("mid term period",50,46,90,1);
emalpds = param("long term perdiod",200,100,300,1);
// formula
// ema short term signals
emasbuy = cross(ema(c,emas1pds), ema(c,emas2pds));
emassell = cross(ema(c,emas2pds),ema(c,emas1pds));
emasbuy = exrem(emasbuy, emassell);
emassell = exrem(emassell, emasbuy);
emasbull = ema(c,emas1pds) > ema(c,emas2pds);
emasbear = ema(c,emas1pds) < ema(c,emas2pds);
// ema mid term signals
emambuy = cross(ema(c,(emas1pds+emas2pds)/2), ema(c,emampds));
emamsell = cross(ema(c,emampds), ema(c,(emas1pds+emas2pds)/2));
emambuy = exrem(emambuy, emamsell);
emamsell = exrem(emamsell, emambuy);
emambull = c > ema(c,emampds);
emambear = c < ema(c,emampds);
// ema long term signals
emalbuy = cross(ema(c,emampds), ema(c,emalpds));
emalsell = cross(ema(c,emalpds), ema(c,emampds));
emalbuy = exrem(emalbuy, emalsell);
emalsell = exrem(emalsell, emalbuy);
emalbull = c > ema(c,emalpds);
emalbear = c < ema(c,emalpds);
// ema positional price trend (long-term)
ema_rc = c > ema (c,emampds) and c < ema(c,emalpds) and ema(c,emampds) < ema(c,emalpds);
ema_ac = c > ema (c,emampds) and c > ema(c,emalpds) and ema(c,emampds) < ema(c,emalpds);
ema_bl = c > ema (c,emampds) and c > ema(c,emalpds) and ema(c,emampds) > ema(c,emalpds);
ema_pr = c < ema (c,emampds) and c > ema(c,emalpds) and ema(c,emampds) > ema(c,emalpds);
ema_ds = c < ema (c,emampds) and c < ema(c,emalpds) and ema(c,emampds) > ema(c,emalpds);
ema_br = c < ema (c,emampds) and c < ema(c,emalpds) and ema(c,emampds) < ema(c,emalpds);
// variables
// trendscore count
iif(emasbuy,i+1,i);
iif(emambuy,i+1,i);
iif(emalbuy,i+1,i);
iif(ema_rc,i+3,i);
iif(ema_ac,i+2,i);
iif(ema_bl,i+1,1);
emas_status = writeif(emasbuy, "-=buy=-",
writeif(emassell, "-=sell=-",
writeif(emasbull, "bullish",
writeif(emasbear, "bearish","neutral"))));
emas_color = iif(emasbuy, color_buy,
iif(emasbull, color_bull,
iif(emasbear, color_bear,
iif(emassell, color_sell,color_null))));
emam_status = writeif(emambuy, "-=buy=-",
writeif(emamsell, "-=sell=-",
writeif(emambull, "bullish",
writeif(emambear, "bearish","neutral"))));
emam_color = iif(emambuy, color_buy,
iif(emambull, color_bull,
iif(emambear, color_bear,
iif(emamsell, color_sell,color_null))));
emal_status = writeif(emalbuy, "-=buy=-",
writeif(emalsell, "-=sell=-",
writeif(emalbull, "bullish",
writeif(emalbear, "bearish","neutral"))));
emal_color = iif(emalbuy, color_buy,
iif(emalbull, color_bull,
iif(emalbear, color_bear,
iif(emalsell, color_sell,color_null))));
emap_status = writeif(ema_rc, "recovery",
writeif(ema_ac, "accumulation",
writeif(ema_bl, "bullish",
writeif(ema_pr, "preventive",
writeif(ema_ds, "distribution",
writeif(ema_br, "bearish","neutral"))))));
emap_color = iif(ema_rc, color_buy,
iif(ema_ac, color_acc1,
iif(ema_bl, color_bull,
iif(ema_pr, color_prev,
iif(ema_ds, color_bear1,
iif(ema_br, color_bear,color_null))))));
_section_end();


////////////////////////
// initial buy signal //
////////////////////////
_section_begin("ibuy signal");
// formula
i_buy = cross(rsi(14), ema(rsi(14),9));
i_sell = cross(ema(rsi(14),9), rsi(14));
i_buy = exrem(i_buy, i_sell);
i_sell = exrem(i_sell, i_buy);
i_bull = rsi(14) > ema(rsi(14),9);
i_bear = rsi(14) < ema(rsi(14),9);
// variables
// trendscore count
iif(i_buy,i+2,i);
iif(i_bull,i+1,i);
// indicators
i_status = writeif(i_buy,"-=buy=-",
writeif(i_bull,"bullish",
writeif(i_bear,"bearish",
writeif(i_sell,"-=sell=-","neutral"))));
i_color = iif(i_buy,color_buy,
iif(i_bull,color_bull,
iif(i_bear,color_bear,
iif(i_sell,color_sell,color_null))));
_section_end();


/////////////////////
// price smoothing //
/////////////////////
_section_begin("t3 price smoothing signal");
// formula
t3_buy = cross (t3(c,3), t3(c,5));
t3_sell = cross (t3(c,5), t3(c,3));
t3_buy = exrem(t3_buy, t3_sell);
t3_sell = exrem(t3_sell, t3_buy);
// variables
// trendscore count
iif(t3_buy,i+1,i);
// indicators
t3_status = writeif(t3_buy,"-=buy=-",
writeif(t3_sell,"-=sell=-","neutral"));
t3_color = iif(t3_buy,color_buy,
iif(t3_sell,color_sell,color_null));
_section_end();


////////////////////
// bollinger band //
////////////////////
_section_begin("bollinger bands");
// formula
bb1 = c>bbandtop(c,20,2) and ref(c,-1)<ref(bbandtop(c,20,2),-1);
bb2 = c<bbandbot(c,20,2) and ref(c,-1)>ref(bbandbot(c,20,2),-1);
// variables
// trendscore count
iif(bb1,i+1,i);
// indicators
bb_status = writeif(bb1,"above top",
writeif(bb2,"below bottom",
writeif(isnull(ma(c,20)),"n/a","neutral")));
bb_color = iif(bb1,color_bull,
iif(bb2,color_bear,color_null));
_section_end();


//////////
// macd //
//////////
_section_begin("macd signal");
// formula
macdbull = macd(12,26)>signal(12,26,9);
// variables
// trendscore count
iif(macdbull,i+1,i);
// indicators
macd_status = writeif(macdbull,"bullish",
writeif(isnull(macd(12,26)),"n/a","bearish"));
macd_color = iif(macdbull,color_bull,
iif(isnull(macd(12,26)),color_null,color_bear));
_section_end();


/////////////////
// rsi of macd //
/////////////////
_section_begin("rsi of macd signal");
// parameters
rsitpds=param("period",14,7,33,1);
rsitob_parm=param("overbought level",70,-200,200,5);
rsitos_parm=param("oversold level",30,-200,200,5);
// formula
var=macd();
up=iif(var>ref(var,-1),abs(var-ref(var,-1)),0);
dn=iif(var<ref(var,-1),abs(var-ref(var,-1)),0);
ut=wilders(up,rsitpds);
dt=wilders(dn,rsitpds);
rsit=100*(ut/(ut+dt));
//rsitbuy = rsit < rsitos_parm and rsit > ref(rsit,-1);
//rsitos = rsit < rsitos_parm and rsit < ref(rsit,-1);
//rsitnu = rsit < rsitos_parm and rsit > rsitob_parm and rsit > ref(rsit,-1);
//rsitnd = rsit < rsitos_parm and rsit > rsitob_parm and rsit < ref(rsit,-1);
//rsitob = rsit < rsitob_parm and rsit > ref(rsit,-1);
//rsitsell = rsit < rsitob_parm and rsit < ref(rsit,-1);
rsitos = rsit < rsitos_parm;
rsitob = rsit > rsitob_parm;
// variables
// trendscore count
iif(rsitos, i+1,i);
// indicators
rsit_status = writeif(rsitos,"oversold",
writeif(rsitob,"overbought","in range"));
rsit_color = iif(rsitos,color_bull,
iif(rsitob,color_sell,color_null));
_section_end();


///////////
// aroon //
///////////
//_section_begin("aroon signal");
//// parameters
// arperiod=param("period",14,7,33,1);
//// formula
// llvbarssince=llvbars(l,arperiod)+1;
// hhvbarssince=hhvbars(h,arperiod)+1;
// aroondown=100*(arperiod-llvbarssince)/(arperiod-1);
// aroonup=100*(arperiod-hhvbarssince)/(arperiod-1);
// aroonosc=aroonup-aroondown;
// aroon=aroonosc>0;
//// variables
// iif(aroon,i+1,i);
// aroon_status = writeif(aroon,"bullish",
// writeif(isnull (rsi(14)),"n/a","bearish"));
// aroon_color = iif(aroon,color_bull,
// iif(isnull(rsi(14) ),color_null,color_bear));
//_section_end();


/////////
// wad //
/////////
//_section_begin("williams accumulation-distribution signal");
// parameters
// wadpds=param("period",20,7,33,1);
// formula
// truerangehigh=max( ref(close,-1), high );
// truerangelow=min( ref(close,-1), low );
// wad = cum(iif(c > ref(c,-1),c-truerangelow, iif(c < ref(c,-1),c-truerangehigh,0)));
// wadup = wad > ema (wad,wadpds);
// waddn = wad < ema (wad,wadpds);
// wadbl = cross(wad, ema(wad,wadpds));
// wadbr = cross(ema(wad,wadpds), wad);
// variables
// wad_status = writeif(wadup, "bullish zone",
// writeif(waddn, "bearish zone",
// writeif(wadbl, "bullish cross",
// writeif(wadbr, "bearish cross","neutral"))));
// wad_color = iif(wadup,color_bull,
// iif(wadbl,color_bear,
// iif(wadbr,color_bull1,
// iif(waddn,color_bear1,color_null))));
//_section_end();


/////////////
// coppock //
/////////////
_section_begin("coppock indicator");
// formula
ckr1=roc(c,14);
ckr2=roc(c,11);
ck=ema((ckr1+ckr2),10);
ck_upt=iif(ck>0 and roc(ck,1)>0,ck,0);
ck_ups=iif(ck>0 and roc(ck,1)<0,ck,0);
ck_dws=iif(ck<0 and roc(ck,1)>0,ck,0);
ck_dwt=iif(ck<0 and roc(ck,1)<0,ck,0);
// variables
// trendscore count
iif(ck_upt,i+2,i);
iif(ck_ups,i+1,i);
// indicators
coppock_status = writeif( ck_upt,"uptrend",
writeif( ck_ups,"upt sideways",
writeif( ck_dws,"dnt sideways",
writeif( ck_dwt,"downtrend","flat"))));
coppock_color = iif( ck_upt,color_buy,
iif( ck_ups,color_bull,
iif( ck_dws,color_bear,
iif( ck_dwt,color_sell,color_null))));
_section_end();


////////////////
// stochastic //
////////////////
_section_begin("stochastic %d %k signal");
// formula
stochkbull = stochk(14,3)>stochd(14,3,3);
// variables
// trendscore count
iif(stochkbull,i+1,i);
// indicators
stoch_status = writeif( stochkbull,"bullish",
writeif( isnull(stochk(14,3)),"n/a","bearish"));
stoch_color = iif(stochkbull,color_bull,
iif( isnull(stochk(14,3)),color_null,color_bear));
_section_end();


//////////
// arsi //
//////////
_section_begin("arsi signal");
// parameters
arsi_pds = param("period",14,7,33,1);
arsiob_parm = param("overbought level",70,-200,200,5);
arsios_parm = param("oversold level",30,-200,200,5);
// formula
chg = c - ref( c, -1 );
upcount = sum( chg >= 0, arsi_pds );
dncount = arsi_pds - upcount;
upmove = ama( max( chg, 0 ), nz(1/upcount) );
dnmove = ama( max( -chg, 0 ), nz(1/dncount) );
rs = upmove/dnmove;
arsi = 100-(100/(1+rs));
arsios = arsi < arsios_parm;
arsiob = arsi > arsiob_parm;
//arsiut = arsi > ref(arsi,-1);
//arsidt = arsi < ref(arsi,-1);
//arsibuy = arsi < arsios and arsiut;
//arsisell = arsi > arsiob and arsidt;
//arsibuy = exrem(arsibuy, arsisell);
//arsisell = exrem(arsisell,arsibuy);
// variables
// trendscroe count
iif(arsios,i+1,i);
// indicators
arsi_status = writeif(arsios,"oversold",
writeif(arsiob,"overbought","in range"));
//writeif(arsibuy,"-=buy=-",
//writeif(arsi>arsios,"oversold",
//writeif(arsiut,"improving",
//writeif(arsidt,"declining",
//writeif(arsi<arsiob,"overbought",
//writeif(arsisell,"-=sell=-",""))))));
arsi_color = iif(arsios,color_bull,
iif(arsiob,color_sell,color_null));
//iif(arsibuy,color_buy,
//iif(arsi>arsios,color_bull,
//iif(arsiut,color_bull1,
//iif(arsidt,color_bear1,
//iif(arsi<arsiob,color_bear,
//iif(arsisell,color_sell,color_null))))));
_section_end();


/////////
// rsi //
/////////
//_section_begin("rsi signal");
// parameters
// rsipds=param("period",14,7,33,1);
// rsiob=param("overbought level",70,-200,200,5);
// rsios=param("oversold level",30,-200,200,5);
// formula
// r1=rsi(rsipds)>rsios and ref(rsi(rsipds),-1)<rsios and ref(rsi(rsipds),-2)<rsios;
// r2=rsi(rsipds)<rsiob and ref(rsi(rsipds),-1)>rsiob and ref(rsi(rsipds),-2)>rsiob;
// variables
// iif(r1,i+1,i);
// rsi_status = writeif(r1,"improving",
// writeif(r2,"declining",
// writeif(isnull(rsi(14)),"n/a","neutral")));
// rsi_color = iif(r1,color_bull1,
// iif(r2,color_bear1,color_null));
//_section_end();


/////////
// mfi //
/////////
_section_begin("mfi signal");
// parameters
mfipds=param("period",14,7,33,1);
mfiob=param("overbought level",80,-200,200,5);
mfios=param("oversold level",20,-200,200,5);
// formula
m1=mfi(mfipds)>mfiob;
m2=mfi(mfipds)<mfios;
// variables
// trendscroe count
iif(m2,i+1,i);
// indicators
mfi_status = writeif(m1,"overbought",
writeif(m2,"oversold",
writeif(isnull(mfi(mfipds)),"null","neutral")));
mfi_color = iif(m1,color_sell,
iif(m2,color_buy,color_null));
_section_end();


/////////////////////////////////
// adx trend strenght with adx //
/////////////////////////////////
_section_begin("adx signal");
// jsb lib version
// initialization
setbarsrequired(100000, 100000);
jsb_initlib();
// parameters
adx_parm = param( "adx period", 10, 5, 50,1);
// formula
// adx buy, sell & choppy signal
adx_up = jsb_jdmx(c,adx_parm) > 0;
adx_dn = jsb_jdmx(c,adx_parm) < 0;
adx_ch = jsb_jdmx(c,adx_parm) < jsb_jdmxplus(c,adx_parm) and jsb_jdmx(c,adx_parm) < jsb_jdmxminus(c,adx_parm);
adx_buy = cross(jsb_jdmxplus(c,adx_parm), jsb_jdmxminus(c,adx_parm));
adx_sell = cross(jsb_jdmxminus(c,adx_parm), jsb_jdmxplus(c,adx_parm));
adx_buy = exrem(adx_buy, adx_sell);
adx_sell = exrem(adx_sell, adx_buy);
adx_bull = jsb_jdmxplus(c,adx_parm) > jsb_jdmxminus(c,adx_parm);
adx_bear = jsb_jdmxminus(c,adx_parm)> jsb_jdmxplus(c,adx_parm);
// adx trend confirmation signal
adxwk = adx(adx_parm) < 25;
adxst = adx(adx_parm) > 25 and adx(adx_parm) < 50;
adxvs = adx(adx_parm) > 50 and adx(adx_parm) < 75;
adxex = adx(adx_parm) > 75 and adx(adx_parm) < 100;
adxchoppy = adx(adx_parm) < pdi(adx_parm) and adx(adx_parm) < mdi(adx_parm);
// variables
// trendscore count
iif(adx_buy,i+2,i);
iif(adx_bull,i+1,i);
// iif(adxst,i+1,i);
// indicators
adx_status = writeif(adx_buy,"-=buy=-",
writeif(adx_bull,"bullish",
writeif(adx_bear,"bearish",
writeif(adx_sell,"-=sell=-","neutral"))));
adx_color = iif(adx_buy,color_buy,
iif(adx_bull,color_bull,
iif(adx_bear,color_bear,
iif(adx_sell,color_sell,color_null))));
//adxc_status = writeif(adxwk,"weak",
// writeif(adxst,"good",
// writeif(adxvs,"strong",
// writeif(adxex,"excelent",
// writeif(adxchoppy,"choppy","neutral")))));
//adxc_color = iif(adxwk,color_sell,
// iif(adxst,color_bull1,
// iif(adxvs,color_bull,
// iif(adxex,color_buy,
// iif(adxchoppy,color_prev,color_null)))));
_section_end();


///////////////////////
// trend score count //
///////////////////////
_section_begin("trend score count");
trendscore = iif(v>vp2,3,0) +
iif(v>vp1,2,0) +
iif(v>vrg,1,0) +
iif(rg>(arg*2),2,0) +
iif(rg>arg,1,0) +
iif(rising,1,0) +
iif(bullishsign,3,0) +
iif(upthrustbar,2,0) +
iif(absorption,1,0) +
iif(emasbuy,1,0) +
iif(emambuy,1,0) +
iif(emalbuy,1,0) +
iif(ema_rc,3,0) +
iif(ema_ac,2,0) +
iif(ema_bl,1,0) +
iif(i_buy,2,0) +
iif(i_bull,1,0) +
iif(t3_buy,1,0) +
iif(bb1,1,0) +
iif(macdbull,1,0) +
//iif(aroon,1,0) +
iif(ck_upt,2,0) +
iif(ck_ups,1,0) +
iif(stochkbull,1,0) +
iif(rsitos,1,0) +
iif(arsios,1,0) +
//iif(r1,1,0) +
iif(m2,1,0) +
iif(adx_buy,2,0);
iif(adx_bull,1,0);
//iif(adxst,1,0);
scorerank = 100 * trendscore / 30;
_section_end();

//////////////////////
// exploration code //
//////////////////////
_section_begin("explorer");
// parameters
expfil_parm = paramlist ( "filter","all symbols|buy signals|sell signals",0);
expvol_parm = param ( "20 day min. Vol. Cap.", 50000,0,100000000,1000);
expvol_parm = param ( "min. Price close",15,0,5000000,1);
// filter
filter = 1;
// display columns
//addcolumn (high52,"52 week high");
//addcolumn (low52,"52 week low");
addcolumn (c,"p.close",1.2,iif(c>ref(c,-1), colorgreen,colorred));
addcolumn (v,"volume",1,iif(v>ref(v,-1), colorgreen,colorred));
addtextcolumn (vpav_status,"vpa volume",1, vpav_color,bcolor_vpa);
addtextcolumn (vpas_status,"vpa spread",1, vpas_color,bcolor_vpa);
addtextcolumn (vpac_status,"vpa close",1, vpac_color,bcolor_vpa);
addtextcolumn (vpaz_status,"vpa zone",1, vpaz_color,bcolor_vpa);
addtextcolumn (vpast_status,"vpa status",1, vpast_color,bcolor_vpa);
addtextcolumn (emas_status,"ema short",1, emas_color,bcolor_mas);
addtextcolumn (emam_status,"ema mid",1, emam_color,bcolor_mam);
addtextcolumn (emal_status,"ema long",1, emal_color,bcolor_mal);
addtextcolumn (emap_status,"ema trend",1, colorwhite,emap_color);
addtextcolumn (i_status,"i signal",1, colorwhite,i_color);
addtextcolumn (t3_status,"t3 signal",1, colorwhite,t3_color);
addtextcolumn (bb_status,"bol. Band",1, colorwhite,bb_color);
addtextcolumn (macd_status,"macd",1, colorwhite,macd_color);
addtextcolumn (rsit_status,"macd(rsi)",1, colorwhite,rsit_color);
//addtextcolumn (aroon_status,"aroon",1, colorwhite,aroon_color);
//addtextcolumn (wad_status,"williams a/d",1, colorwhite,wad_color);
addtextcolumn (coppock_status,"coppock",1, colorwhite,coppock_color);
addtextcolumn (stoch_status,"stochastic",1, colorwhite,stoch_color);
addtextcolumn (arsi_status,"arsi",1, colorwhite,arsi_color);
//addtextcolumn (rsi_status,"rsi",1, colorwhite,rsi_color);
addtextcolumn (mfi_status,"mfi(14)",1, colorwhite,mfi_color);
addtextcolumn (adx_status,"dmx (adx)",1, colorwhite,adx_color);
//addtextcolumn (adxc_status,"adx confirm",1, colorwhite,adxc_color);
//addcolumn (rsit,"test l",1, colorwhite,colorblack);
addcolumn (ttd_change,"p/l %",1.2,iif(ttd_change>0, colorgreen,colorred));
addcolumn (beta,"( ك )",1.2,iif(beta>0,colorgreen,colorred));
addcolumn (scorerank,"% rank",1.0,colorwhite,colorblue);
_section_end();

اخوي جزاك الله خيرا لكن المعادلة لم تشتغل



رد مع اقتباس
قديم 17-09-2019, 12:26 AM
  المشاركه #26

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

تاريخ التسجيل: Oct 2005
المشاركات: 436
amiralshoq غير متواجد حالياً  

رد: مؤشرات حلوه للايمي بروكر


اقتباس:
المشاركة الأصلية كتبت بواسطة صلاح السعدي مشاهدة المشاركة
اخوي جزاك الله خيرا لكن المعادلة لم تشتغل
بعد إذن كاتب الموضوع مع الشكر لمجهوده
المعادلة صحيحة 100% وتعمل بكفاءة على 5.30
لكنها حتى بعد التعديل لا تعمل مع النسخة 6.20.1
المعادلة ليست مؤشر إنما هي معادلة بحث فقط



رد مع اقتباس
قديم 20-09-2019, 01:15 PM
  المشاركه #27

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

تاريخ التسجيل: Jun 2014
المشاركات: 4
صلاح السعدي غير متواجد حالياً  

رد: مؤشرات حلوه للايمي بروكر


اقتباس:
المشاركة الأصلية كتبت بواسطة amiralshoq مشاهدة المشاركة
بعد إذن كاتب الموضوع مع الشكر لمجهوده
المعادلة صحيحة 100% وتعمل بكفاءة على 5.30
لكنها حتى بعد التعديل لا تعمل مع النسخة 6.20.1
المعادلة ليست مؤشر إنما هي معادلة بحث فقط
جزاك الله خير

لطفاً احتاج تنزيل برنامج ايمي بروكر 5.30 مع الكراك حيث النسخه 6.20 اغلقت



رد مع اقتباس
إضافة رد


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

الكلمات الدلالية (Tags)
للايمي, مؤشرات, بروكر, حلوه

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

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

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

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



07:32 AM