قديم 25-10-2014, 02:32 PM
  المشاركه #109

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

تاريخ التسجيل: Oct 2013
المشاركات: 503
DABL@ غير متواجد حالياً  

اقتباس:
المشاركة الأصلية كتبت بواسطة بطل الهجه مشاهدة المشاركة
الله يجزاك بكل خير ويوفقك





الله يسعدك و يبارك فيك



رد مع اقتباس
 
 

قديم 25-10-2014, 02:39 PM
  المشاركه #110

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

تاريخ التسجيل: Oct 2013
المشاركات: 503
DABL@ غير متواجد حالياً  

حياك mokly



وعليكم السلام و رحمه الله شوف هذا الجزء حق التنبيه



AlertIf( Buy, "SOUND C:\\Windows\\Media\\notify.wav", "Audio alert", 2);
AlertIf( Sell, "SOUND C:\\Windows\\Media\\tada.wav", "Audio alert", 2 );


و تختلف كل معليك هو تضيفه الي المعادله و تغير كلمة Buy و Sell


و تكتب بدلها الشرط اللي عندك لتنبيه


وهذي المعادله كاامله و هي ليست لي








_SECTION_BEGIN("Mahadev");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );


A = Wilders( H,34 );
B = Wilders( L,34 );


x= Ref(A,-34);
y= Ref(B,-34);

D=.0009;
xt=x+x*D;
xb=x-x*D;

yt=y+y*D;
yb=y-y*D;

/* Buy or Sell Condition */
Buy = Cross(Close,xt);
Sell = Cross(yt,Close);
Buy = ExRem(Buy,Sell);
Sell = ExRem(Sell,Buy);

AlertIf( Buy, "SOUND C:\\Windows\\Media\\notify.wav", "Audio alert", 2);
AlertIf( Sell, "SOUND C:\\Windows\\Media\\tada.wav", "Audio alert", 2 );

Filter = Buy OR Sell;
/* Exploration Parameters */
AddTextColumn( FullName(), "Company Name" );
AddColumn( Buy, "Buy", 1 );
AddColumn( Sell, "Sell", 1 );
AddColumn( C, "Close", 1.3 );
AddColumn( H, "High", 1.3 );

Title = EncodeColor(colorWhite)+ "Mahadev" + " - " + Name() + " - " + EncodeColor(colorRed)+ Interval(2) + EncodeColor(colorWhite) +
" - " + Date() +" - "+"\n" +EncodeColor(colorRed) +"Op-"+O+" "+"Hi-"+H+" "+"Lo-"+L+" "+
"Cl-"+C+" "+ "Vol= "+ WriteVal(V)+"\n"+
EncodeColor(colorLime)+
WriteIf (Buy , " GO LONG / Reverse Signal at "+C+" ","")+
WriteIf (Sell , " EXIT LONG / Reverse Signal at "+C+" ","")+"\n"+EncodeColor(colorWhite)+
WriteIf(Sell , "Total Profit/Loss for the Last Trade Rs."+(C-BuyPrice)+"","")+
WriteIf(Buy , "Total Profit/Loss for the Last trade Rs."+(SellPrice-C)+"","");

PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorGreen, 0, L, Offset=-40);
PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorLime, 0,L, Offset=-50);
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorWhite, 0,L, Offset=-45);
PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorRed, 0, H, Offset=40);
PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorOrange, 0,H, Offset=50);
PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),colorWhite, 0,H, Offset=-45);
_SECTION_END();




ترا الاصوات فيها غيرها و يمكن في طريقه انت تضيف الاصوات من الملفات الموجوده عندك بس و الله حاليا انا ما اعرف كيف طريقتها



رد مع اقتباس
قديم 25-10-2014, 03:12 PM
  المشاركه #111

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

تاريخ التسجيل: Oct 2013
المشاركات: 503
DABL@ غير متواجد حالياً  

اقتباس:
المشاركة الأصلية كتبت بواسطة كشكول. مشاهدة المشاركة
اخي المحترم
هل يوجد مؤشر
يكون الشموع الايجابية العاكسة باللون الاخضر

والشموع السلبية باللون الاحمر

يعني اللون على نوع الشموع ايجابية او سلبية


حياك كشكول.



يلتك تحط شروط لشمعه اللي عاكس لاتجاه الله يسعدك



رد مع اقتباس
قديم 25-10-2014, 03:12 PM
  المشاركه #112

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

تاريخ التسجيل: Jul 2006
المشاركات: 331
mokly غير متواجد حالياً  

جزاك الله خير


رد مع اقتباس
قديم 25-10-2014, 03:28 PM
  المشاركه #113

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

تاريخ التسجيل: Oct 2013
المشاركات: 503
DABL@ غير متواجد حالياً  

اقتباس:
المشاركة الأصلية كتبت بواسطة almasdar مشاهدة المشاركة
خالد عندي نفس معادلتك باختلاف النموذج

_section_begin("a b c");
// afl code by edward pottasch, jan 2013
// 123 pattern (as part of uncompleted abcd pattern)
requesttimedrefresh(0.1,true);
xx=barindex();x=xx;lx=lastvalue(x);
nbar=param("n pivot bars",5,2,50,1);
tf=param("time frame (min)",5,1,1440,1);tfrm=in1minute*tf;
cleanpivots=paramtoggle("use clean pivots","off|on",1);
pivotsymmetry=paramtoggle("use symmetric pivots","off|on",0);
dispbe123=paramtoggle("display bearish 123","off|on",1);
dispbu123=paramtoggle("display bullish 123","off|on",1);
dispberetracevalues=paramtoggle("display retrace value (bearish)","off|on",1);
dispburetracevalues=paramtoggle("display retrace value (bullish)","off|on",1);
displabels=paramtoggle("display labels","off|on",1);
entrytype=paramtoggle("entry type","regular|agressive",1);
signalrangecheck=paramtoggle("signal entry range limit","off|on",1);
extendrange=param("extended entry range",100,0,500,1);
minretrace=param("retrace minimum",0.382,0,2,0.01);
maxretrace=param("retrace maximum",0.88,0,6,0.01);

timeframeset(tfrm);
if(pivotsymmetry)
{
fc=1;
pk=h>ref(hhv(h,nbar*fc),-1) and ref(hhv(h,nbar),nbar)<=h;
tr=l<ref(llv(l,nbar*fc),-1) and ref(llv(l,nbar),nbar)>=l;
}
else
{
fc=2;
pk=h>ref(hhv(h,nbar*fc),-1) and ref(hhv(h,nbar),nbar)<=h;
tr=l<ref(llv(l,nbar*fc),-1) and ref(llv(l,nbar),nbar)>=l;
}

px0=valuewhen(pk,x,0); tx0=valuewhen(tr,x,0);
px1=valuewhen(pk,x,1); tx1=valuewhen(tr,x,1);
px2=valuewhen(pk,x,2); tx2=valuewhen(tr,x,2);
px3=valuewhen(pk,x,3); tx3=valuewhen(tr,x,3);
ph0=valuewhen(pk,h,0); tl0=valuewhen(tr,l,0);
ph1=valuewhen(pk,h,1); tl1=valuewhen(tr,l,1);
ph2=valuewhen(pk,h,2); tl2=valuewhen(tr,l,2);
ph3=valuewhen(pk,h,3); tl3=valuewhen(tr,l,3);

if(cleanpivots)
{
tr=iif((tr==1 and pk==1) and px2<tx2 and lx!=barcount-1,false,tr);
pk=iif((tr==1 and pk==1) and px2>tx2 and lx!=barcount-1,false,pk);

px0=valuewhen(pk,x,0); tx0=valuewhen(tr,x,0);
px1=valuewhen(pk,x,1); tx1=valuewhen(tr,x,1);
px2=valuewhen(pk,x,2); tx2=valuewhen(tr,x,2);
px3=valuewhen(pk,x,3); tx3=valuewhen(tr,x,3);
ph0=valuewhen(pk,h,0); tl0=valuewhen(tr,l,0);
ph1=valuewhen(pk,h,1); tl1=valuewhen(tr,l,1);
ph2=valuewhen(pk,h,2); tl2=valuewhen(tr,l,2);
ph3=valuewhen(pk,h,3); tl3=valuewhen(tr,l,3);

tr=iif(tr and ((tx0<px0 and tl1>tl0) or (tx2>px1 and tl1>tl2) or (px0==px1 and tl1>tl0) or (tl1>tl0 and px0==tx0)),false,tr);
pk=iif(pk and ((px0<tx0 and ph1<ph0) or (px2>tx1 and ph1<ph2) or (tx0==tx1 and ph1<ph0) or (ph1<ph0 and px0==tx0)),false,pk);

px0=valuewhen(pk,x,0); tx0=valuewhen(tr,x,0);
px1=valuewhen(pk,x,1); tx1=valuewhen(tr,x,1);
px2=valuewhen(pk,x,2); tx2=valuewhen(tr,x,2);
px3=valuewhen(pk,x,3); tx3=valuewhen(tr,x,3);
ph0=valuewhen(pk,h,0); tl0=valuewhen(tr,l,0);
ph1=valuewhen(pk,h,1); tl1=valuewhen(tr,l,1);
ph2=valuewhen(pk,h,2); tl2=valuewhen(tr,l,2);
ph3=valuewhen(pk,h,3); tl3=valuewhen(tr,l,3);

tr=iif(tr and ((tx0<px0 and tl1>tl0) or (tx2>px1 and tl1>tl2) or (px0==px1 and tl1>tl0) or (tl1>tl0 and px0==tx0)),false,tr);
pk=iif(pk and (((px0<tx0 and ph1<ph0) or px2>tx1 and ph1<ph2) or (tx0==tx1 and ph1<ph0) or (ph1<ph0 and px0==tx0)),false,pk);

px0=valuewhen(pk,x,0); tx0=valuewhen(tr,x,0);
px1=valuewhen(pk,x,1); tx1=valuewhen(tr,x,1);
px2=valuewhen(pk,x,2); tx2=valuewhen(tr,x,2);
px3=valuewhen(pk,x,3); tx3=valuewhen(tr,x,3);
ph0=valuewhen(pk,h,0); tl0=valuewhen(tr,l,0);
ph1=valuewhen(pk,h,1); tl1=valuewhen(tr,l,1);
ph2=valuewhen(pk,h,2); tl2=valuewhen(tr,l,2);
ph3=valuewhen(pk,h,3); tl3=valuewhen(tr,l,3);
}
pkh=iif(pk,h,null);
trl=iif(tr,l,null);
timeframerestore();
fact=nz(max(tfrm/60,interval()/60)/(interval()/60));
if(fact==0)fact=1;
lkbk=nz(tfrm/interval());
if(lkbk>1)
{
pk=timeframeexpand(pk,tfrm,expandfirst);
pkh=timeframeexpand(pkh,tfrm,expandfirst);
pkhs=iif(!isempty(pkh),1,0);pkhs=pkhs-ref(pkhs,-1);
pk=pk and h==pkh;
cond1=sum(pk,barssince(pkhs==1)+1)==1 and pk;
pk=pk and cond1;

tr=timeframeexpand(tr,tfrm,expandfirst);
trl=timeframeexpand(trl,tfrm,expandfirst);
trls=iif(!isempty(trl),1,0);trls=trls-ref(trls,-1);
tr=tr and l==trl;
cond1=sum(tr,barssince(trls==1)+1)==1 and tr;
tr=tr and cond1;

px0=valuewhen(pk,x,0); tx0=valuewhen(tr,x,0);
px1=valuewhen(pk,x,1); tx1=valuewhen(tr,x,1);
px2=valuewhen(pk,x,2); tx2=valuewhen(tr,x,2);
px3=valuewhen(pk,x,3); tx3=valuewhen(tr,x,3);
ph0=valuewhen(pk,h,0); tl0=valuewhen(tr,l,0);
ph1=valuewhen(pk,h,1); tl1=valuewhen(tr,l,1);
ph2=valuewhen(pk,h,2); tl2=valuewhen(tr,l,2);
ph3=valuewhen(pk,h,3); tl3=valuewhen(tr,l,3);
}

ll=tr and tl1<tl2;
hl=tr and tl1>tl2;
hh=pk and ph1>ph2;
lh=pk and ph1<ph2;
dt=pk and ph1==ph2;
db=tr and tl1==tl2;

ll_h=iif(ll,1,0);
hl_h=iif(hl,2,0);
hh_h=iif(hh,3,0);
lh_h=iif(lh,4,0);
dt_h=iif(dt,5,0);
db_h=iif(db,6,0);

combi=ll_h+hl_h+lh_h+hh_h+dt_h+db_h;

t0=valuewhen(combi,combi,0);
t1=valuewhen(combi,combi,1);
t2=valuewhen(combi,combi,2);
t3=valuewhen(combi,combi,3);
t4=valuewhen(combi,combi,4);
t5=valuewhen(combi,combi,5);

// bearisch 123 pattern
be123=pk and t1==4 and t2==2;
beax=valuewhen(be123,tx2);beay=valuewhen(be123,tl2);
bebx=valuewhen(be123,px2);beby=valuewhen(be123,ph2);
becx=valuewhen(be123,tx1);becy=valuewhen(be123,tl1);
bedx=valuewhen(be123,px1);bedy=valuewhen(be123,ph1);
beretrace=(beby-becy)/(beby-beay);
be123=be123 and beretrace>minretrace and beretrace<maxretrace and bedy>becy;
rr=barssince(be123)>=0 and barssince(be123)<extendrange;
idx=iif(rr,xx-valuewhen(be123,becx),null);
if(entrytype) aa=(becy-beay)/(becx-beax);else aa=0;bb=becy;
aa=valuewhen(be123,aa);bb=valuewhen(be123,bb);
beex=valuewhen(be123,px1);ii=px1-becx;beey=aa*ii+bb;
be123=be123 and beey<bedy;
betrendline=iif(idx,aa*idx+bb,null);bevalidsignalarea=flip(be123,ref(tr,-1));
if(signalrangecheck) betrendline=iif(bevalidsignalarea,betrendline,null);
short=cross(betrendline,c) and !isempty(betrendline);short=ref(short,-1);shortprice=o;
short=exrem(short,be123);sell=0;

// bullish 123 pattern
bu123=tr and t1==2 and t2==4;
buax=valuewhen(bu123,px2);buay=valuewhen(bu123,ph2);
bubx=valuewhen(bu123,tx2);buby=valuewhen(bu123,tl2);
bucx=valuewhen(bu123,px1);bucy=valuewhen(bu123,ph1);
budx=valuewhen(bu123,tx1);budy=valuewhen(bu123,tl1);
buretrace=(bucy-buby)/(buay-buby);
bu123=bu123 and buretrace>minretrace and buretrace<maxretrace and budy<bucy;;
rr=barssince(bu123)>=0 and barssince(bu123)<extendrange;
idx=iif(rr,xx-valuewhen(bu123,bucx),null);
if(entrytype) aa=(bucy-buay)/(bucx-buax);else aa=0;bb=bucy;
aa=valuewhen(bu123,aa);bb=valuewhen(bu123,bb);
buex=valuewhen(bu123,tx1);ii=tx1-bucx;buey=aa*ii+bb;
bu123=bu123 and buey>budy;
butrendline=iif(idx,aa*idx+bb,null);buvalidsignalarea=flip(bu123,ref(pk,-1));
if(signalrangecheck) butrendline=iif(buvalidsignalarea,butrendline,null);
buy=cross(c,butrendline) and !isempty(butrendline);buy=ref(buy,-1);buyprice=o;
buy=exrem(buy,bu123);cover=0;

graphxspace=5;setchartbkcolor(colorrgb(0,0,0));setchartoptions(0,chartshowdate s);
setbarfillcolor(iif(c>o,colorgreen,iif(c<=o,colorred,colorlightgrey)));
plot(c,"price",iif(c>o,colordarkgreen,iif(c<=o,colordarkred,colorlightgrey)),6 4,0,0,0,0);
plot(pkh,"",colorred,stylethick,0,0,0,-1);
plot(trl,"",colorbrightgreen,stylethick,0,0,0,-1);
plotshapes(shapesmallcircle*tr,iif(lx-valuewhen(tr,x)>nbar*fact,colorrgb(0,100,0),colorwhite),0,l,-10);
plotshapes(shapesmallcircle*pk,iif(lx-valuewhen(pk,x)>nbar*fact,colorrgb(255,0,0),colorwhite),0,h,10);

qq=interval()/60;
if(qq < 60){tf=" min";tt=qq;}
else if(qq >= 60 and qq < 1440){tf=" hrs";tt=qq/60;}
else if(qq >= 1440){tf=" days";tt=(qq/60)/24;}
qq=max(tfrm/60,interval()/60);
if(qq < 60){tfa=" min";tta=qq;}
else if(qq >= 60 and qq < 1440){tfa=" hrs";tta=qq/60;}
else if(qq >= 1440){tfa=" days";tta=(qq/60)/24;}

title = name() +
"\nnbar: " + nbar +
"\nchart tf: " + tt + tf +
"\ntrend tf: " + tta + tfa;

abcdy_up=27;
abcdy_dn=15;
function getvisiblebarcount()
{
lvb=status("lastvisiblebar");
fvb=status("firstvisiblebar");
return min(lvb-fvb,barcount-fvb);
}
function gfxconvertpixelstobarx(pixels)
{
lvb=status("lastvisiblebar");
fvb=status("firstvisiblebar");
pxchartleft=status("pxchartleft");
pxchartwidth=status("pxchartwidth");
fac=pxchartwidth/pixels;
bar=(lvb-fvb)/fac;
return bar;
}
function gfxconvertpixeltovaluey(pixels)
{
local miny,maxy,pxchartbottom,pxchartheight;
miny=status("axisminy");
maxy=status("axismaxy");
pxchartbottom=status("pxchartbottom");
pxchartheight=status("pxchartheight");
fac=pxchartheight/pixels;
value=(maxy-miny)/fac;
return value;
}
function gfxconvertbartopixelx(bar)
{
lvb=status("lastvisiblebar");
fvb=status("firstvisiblebar");
pxchartleft=status("pxchartleft");
pxchartwidth=status("pxchartwidth");
return pxchartleft+bar*pxchartwidth/(lvb-fvb+1);
}
function gfxconvertvaluetopixely(value)
{
local miny,maxy,pxchartbottom,pxchartheight;
miny=status("axisminy");
maxy=status("axismaxy");
pxchartbottom=status("pxchartbottom");
pxchartheight=status("pxchartheight");
return pxchartbottom-floor(0.5+(value-miny)*pxchartheight/(maxy-miny));
}
allvisiblebars=getvisiblebarcount();
fvb=status("firstvisiblebar");
abcdy_up=gfxconvertpixeltovaluey(abcdy_up);
abcdy_dn=gfxconvertpixeltovaluey(abcdy_dn);

for(i=0;i<allvisiblebars;i++)
{
if(ll[i+fvb] and displabels)
{
lvix=i+fvb;gfxselectfont("tahoma",8,500); gfxsetbkmode(1);
gfxsettextcolor(coloryellow);gfxtextout("ll",
gfxconvertbartopixelx(i)-3,gfxconvertvaluetopixely(l[lvix]-abcdy_dn));
}
if(hl[i+fvb] and displabels)
{
lvix=i+fvb;gfxselectfont("tahoma",8,500); gfxsetbkmode(1);
gfxsettextcolor(coloryellow);gfxtextout("hl",
gfxconvertbartopixelx(i)-3,gfxconvertvaluetopixely(l[lvix]-abcdy_dn));
}
if(db[i+fvb] and displabels)
{
lvix=i+fvb;gfxselectfont("tahoma",8,500); gfxsetbkmode(1);
gfxsettextcolor(coloryellow);gfxtextout("db",
gfxconvertbartopixelx(i)-3,gfxconvertvaluetopixely(l[lvix]-abcdy_dn));
}
if(hh[i+fvb] and displabels)
{
lvix=i+fvb;gfxselectfont("tahoma",8,500); gfxsetbkmode(1);
gfxsettextcolor(coloryellow);gfxtextout("hh",
gfxconvertbartopixelx(i)-5,gfxconvertvaluetopixely(h[lvix]+abcdy_up));
}
if(lh[i+fvb] and displabels)
{
lvix=i+fvb;gfxselectfont("tahoma",8,500); gfxsetbkmode(1);
gfxsettextcolor(coloryellow);gfxtextout("lh",
gfxconvertbartopixelx(i)-5,gfxconvertvaluetopixely(h[lvix]+abcdy_up));
}
if(dt[i+fvb] and displabels)
{
lvix=i+fvb;gfxselectfont("tahoma",8,500); gfxsetbkmode(1);
gfxsettextcolor(coloryellow);gfxtextout("dt",
gfxconvertbartopixelx(i)-5,gfxconvertvaluetopixely(h[lvix]+abcdy_up));
}
if(be123[i+fvb] and dispbe123)
{
gfxsetoverlaymode(1);
gfxselectpen(colorrgb(100,0,0),2);
gfxselectsolidbrush(colorrgb(20,0,0));
lvix=i+fvb;
gfxsetbkmode(1);gfxsetoverlaymode(1);gfxselectpen(colorrgb(100,0,0),1,1);
gfxmoveto(gfxconvertbartopixelx(i-(bedx[lvix]-becx[lvix])),gfxconvertvaluetopixely(becy[lvix]));
gfxlineto(gfxconvertbartopixelx(i),gfxconvertvaluetopixely(bedy[lvix]));
gfxmoveto(gfxconvertbartopixelx(i-(bedx[lvix]-bebx[lvix])),gfxconvertvaluetopixely(beby[lvix]));
gfxlineto(gfxconvertbartopixelx(i),gfxconvertvaluetopixely(bedy[lvix]));
gfxselectpen(colorrgb(100,0,0),3,0);
gfxmoveto(gfxconvertbartopixelx(i-(bedx[lvix]-beax[lvix])),gfxconvertvaluetopixely(beay[lvix]));
gfxlineto(gfxconvertbartopixelx(i-(bedx[lvix]-bebx[lvix])),gfxconvertvaluetopixely(beby[lvix]));
gfxmoveto(gfxconvertbartopixelx(i-(bedx[lvix]-beax[lvix])),gfxconvertvaluetopixely(beay[lvix]));
gfxlineto(gfxconvertbartopixelx(i-(bedx[lvix]-becx[lvix])),gfxconvertvaluetopixely(becy[lvix]));
gfxmoveto(gfxconvertbartopixelx(i-(bedx[lvix]-bebx[lvix])),gfxconvertvaluetopixely(beby[lvix]));
gfxlineto(gfxconvertbartopixelx(i-(bedx[lvix]-becx[lvix])),gfxconvertvaluetopixely(becy[lvix]));
gfxselectfont("tahoma",10,500);gfxsetbkmode(1);
gfxsettextcolor(colorrgb(200,0,0));gfxtextout("1",gfxconvertbartopixelx(i-(bedx[lvix]-bebx[lvix]))-7,gfxconvertvaluetopixely(beby[lvix]+1.5*abcdy_up));
gfxsettextcolor(colorrgb(200,0,0));gfxtextout("2",gfxconvertbartopixelx(i-(bedx[lvix]-becx[lvix]))-7,gfxconvertvaluetopixely(becy[lvix]-1.6*abcdy_dn));
gfxsettextcolor(colorrgb(200,0,0));gfxtextout("3",gfxconvertbartopixelx(i-(bedx[lvix]-bedx[lvix]))-7,gfxconvertvaluetopixely(bedy[lvix]+1.5*abcdy_up));
plot(linearray(becx[lvix],becy[lvix],beex[lvix],beey[lvix],0,true ),"",colorrgb(100,0,0),styledashed);
plot(betrendline,"",colorrgb(100,0,0),styledots|stylenoline,0,0,0,0);
plotshapes(iif(short,shapesmalldowntriangle,shapenone),colorred,0,h,iif(short and sell,-30,-15));
plotshapes(iif(short,shapesmallcircle,shapenone),colorwhite,0,shortprice,0);
if(dispberetracevalues)
{
gfxselectfont("tahoma",8,650); gfxsetbkmode(2);gfxsetoverlaymode(1);gfxsetbkcolor(colordarkred);gfxsettextcol or(colorwhite);
gfxtextout(""+prec(beretrace[lvix],2),gfxconvertbartopixelx(i-(bedx[lvix]-(beax[lvix]+becx[lvix])/2)),gfxconvertvaluetopixely((beay[lvix]+becy[lvix])/2));
}
}
if(bu123[i+fvb] and dispbu123)
{
gfxsetoverlaymode(1);
gfxselectpen(colorrgb(0,100,0),2);
gfxselectsolidbrush(colorrgb(0,20,0));
lvix=i+fvb;
gfxsetbkmode(1);gfxsetoverlaymode(1);gfxselectpen(colorrgb(0,100,0),1,1);
gfxmoveto(gfxconvertbartopixelx(i-(budx[lvix]-bucx[lvix])),gfxconvertvaluetopixely(bucy[lvix]));
gfxlineto(gfxconvertbartopixelx(i),gfxconvertvaluetopixely(budy[lvix]));
gfxmoveto(gfxconvertbartopixelx(i-(budx[lvix]-bubx[lvix])),gfxconvertvaluetopixely(buby[lvix]));
gfxlineto(gfxconvertbartopixelx(i),gfxconvertvaluetopixely(budy[lvix]));
gfxselectpen(colorrgb(0,100,0),3,0);
gfxmoveto(gfxconvertbartopixelx(i-(budx[lvix]-buax[lvix])),gfxconvertvaluetopixely(buay[lvix]));
gfxlineto(gfxconvertbartopixelx(i-(budx[lvix]-bubx[lvix])),gfxconvertvaluetopixely(buby[lvix]));
gfxmoveto(gfxconvertbartopixelx(i-(budx[lvix]-buax[lvix])),gfxconvertvaluetopixely(buay[lvix]));
gfxlineto(gfxconvertbartopixelx(i-(budx[lvix]-bucx[lvix])),gfxconvertvaluetopixely(bucy[lvix]));
gfxmoveto(gfxconvertbartopixelx(i-(budx[lvix]-bubx[lvix])),gfxconvertvaluetopixely(buby[lvix]));
gfxlineto(gfxconvertbartopixelx(i-(budx[lvix]-bucx[lvix])),gfxconvertvaluetopixely(bucy[lvix]));
gfxselectfont("tahoma",10,500);gfxsetbkmode(1);
gfxsettextcolor(colorrgb(0,200,0));gfxtextout("1",gfxconvertbartopixelx(i-(budx[lvix]-bubx[lvix]))+3,gfxconvertvaluetopixely(buby[lvix]-1.6*abcdy_dn));
gfxsettextcolor(colorrgb(0,200,0));gfxtextout("2",gfxconvertbartopixelx(i-(budx[lvix]-bucx[lvix]))+3,gfxconvertvaluetopixely(bucy[lvix]+1.5*abcdy_up));
gfxsettextcolor(colorrgb(0,200,0));gfxtextout("3",gfxconvertbartopixelx(i-(budx[lvix]-budx[lvix]))+3,gfxconvertvaluetopixely(budy[lvix]-1.6*abcdy_dn));
plot(linearray(bucx[lvix],bucy[lvix],buex[lvix],buey[lvix],0,true ),"",colorrgb(0,100,0),styledashed);
plot(butrendline,"",colorrgb(0,100,0),styledots|stylenoline,0,0,0,0);
plotshapes(iif(buy,shapeuparrow,shapenone),colordarkgreen,0,l,-15);
plotshapes(iif(buy,shapesmallcircle,shapenone),colorwhite,0,buyprice,0);
if(dispburetracevalues)
{
gfxselectfont("tahoma",8,650); gfxsetbkmode(2);gfxsetoverlaymode(1);gfxsetbkcolor(colordarkgreen);gfxsettextc olor(colorwhite);
gfxtextout(""+prec(buretrace[lvix],2),gfxconvertbartopixelx(i-(budx[lvix]-(buax[lvix]+bucx[lvix])/2)),gfxconvertvaluetopixely((buay[lvix]+bucy[lvix])/2));
}
}
}
_section_end();

_section_begin("traingle 2");
function calculateposition(array,shift)
{
result = null;
for( i = 0; i < barcount; i++ )
{
if (array[ i ] == 1)
{
k = i - shift[ i ];
if( k >= 0 and k < barcount ) result[ k ] = 1;
}
}
return result;
}
function pattern_func(plow,bi,t1,t2,t3,aa,aabar,bb,bbbar,cc,ccbar,nbar)
{
pattern =
(t3 == 1) and (t2 == 3) and (t1 == 2) and plow and
bbbar - aabar > nbar and ccbar - bbbar > nbar;

return pattern;
}

// e.m.pottasch, 2/21/2011
// example code triangle fill using arrays

//setbarsrequired(sbrall,sbrall);
bi = barindex();
nbar = param("nbar",7,2,50,1);

// define fractals
phigh = h > ref(hhv(h,nbar),-1) and ref(hhv(h,nbar),nbar) <= h;
phighprice = valuewhen(phigh,h);
plow = l < ref(llv(l,nbar),-1) and ref(llv(l,nbar),nbar) >= l;
plowprice = valuewhen(plow,l);

ll = iif( plow and plowprice < ref(plowprice, -1), 1, 0 );
hl = iif( plow and plowprice >= ref(plowprice, -1), 2, 0 );
lh = iif( phigh and phighprice < ref(phighprice, -1), 3, 0 );
hh = iif( phigh and phighprice >= ref(phighprice, -1), 4, 0 );

combi = ll + hl + lh + hh;

t1 = valuewhen(combi,combi,1);
t2 = valuewhen(combi,combi,2);
t3 = valuewhen(combi,combi,3);

aa = valuewhen(plow,l,2);
aabar = valuewhen(plow,bi,2);
bb = valuewhen(phigh,h,1);
bbbar = valuewhen(phigh,bi,1);
cc = valuewhen(plow,l,1);
ccbar = valuewhen(plow,bi,1);

// calculate the end point of the pattern => c
pattern = pattern_func(plow,bi,t1,t2,t3,aa,aabar,bb,bbbar,cc,ccbar,nbar);

// calculate the starting point of the pattern => a
dbar = iif(pattern,ccbar-aabar,0);
hhh1 = calculateposition(pattern,dbar);
// calculate the middle point of the pattern => b
dbar = iif(pattern,ccbar-bbbar,0);
hhh2 = calculateposition(pattern,dbar);

// define x-axis range between a-c
rangeac = flip(hhh1,pattern);
// define x-axis range between a-b
rangeab = flip(hhh1,hhh2);
// define x-axis range between b-c
rangebc = flip(hhh2,pattern);

// extend ac
rangeac = iif(ref(rangeac,-1),ref(rangeac,-1),rangeac);

// now define the legs of the triangle
// ac leg
startval1 = valuewhen(plow,l,1);
endval1 = valuewhen(plow,l,0);
startbar1 = valuewhen(plow,bi,1);
endbar1 = valuewhen(plow,bi,0);
aa1 = (endval1-startval1)/(endbar1-startbar1);
bb1 = startval1;
acleg = aa1 * (bi - startbar1) + bb1;
acleg = iif(acleg and rangeac,acleg,null);

// ab leg
startval1 = valuewhen(plow,l,1);
endval1 = valuewhen(phigh,h,0);
startbar1 = valuewhen(plow,bi,1);
endbar1 = valuewhen(phigh,bi,0);
aa1 = (endval1-startval1)/(endbar1-startbar1);
bb1 = startval1;
ableg = aa1 * (bi - startbar1) + bb1;
ableg = iif(ableg and rangeab,ableg,null);

// bc leg
startval1 = valuewhen(phigh,h,1);
endval1 = valuewhen(plow,l,0);
startbar1 = valuewhen(phigh,bi,1);
endbar1 = valuewhen(plow,bi,0);
aa1 = (endval1-startval1)/(endbar1-startbar1);
bb1 = startval1;
bcleg = aa1 * (bi - startbar1) + bb1;
bcleg = iif(bcleg and rangebc,bcleg,null);

// define top and bottom array for polygon fill
toplinearray = iif(ableg,ableg,bcleg);
bottomlinearray = acleg;
toplinearray = iif(bottomlinearray and isempty(toplinearray),bottomlinearray,toplinearray);

// chart
graphxspace = 5;
setchartoptions(0, chartshowdates);
plot( c, "\nprice",colorbrightgreen, stylecandle );
plotshapes(shapesmallcircle*plow,colorgreen,0,l,-10);
plotshapes(shapesmallcircle*phigh,colorred,0,h,10);
plotshapes(iif(pattern,shapeuptriangle,shapenone),colorbrightgreen,0,l,-25);
plotshapes(iif(pattern,shapehollowuptriangle,shapenone),colorwhite,0,l,-25);
//plot(acleg,"",colorwhite,styleline);
//plot(ableg,"",colorwhite,styleline);
//plot(bcleg,"",colorwhite,styleline);
plot(toplinearray,"",colorwhite,styleline);
plot(bottomlinearray,"",colorwhite,styleline);

fillonoff = paramtoggle("fill pattern","fill off|fill on",1);
if (fillonoff)
{
plotohlc(toplinearray,toplinearray,bottomlinearray,bottomlinearray,"",
coloraqua, stylecloud | stylenolabel );
setchartbkcolor( paramcolor("background",colorblack));
}
_section_end();




ماشاء الله الله يعطيك العافيه و يبارك فيك



رد مع اقتباس
قديم 25-10-2014, 06:09 PM
  المشاركه #114

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

تاريخ التسجيل: Jul 2006
المشاركات: 664
خالد35 غير متواجد حالياً  

بارك الله فيك اخوي douplexx
وحقيقة جهودك مشكورة ...وما تقوم فيه من عمل يحسب لك وربي يجعله في موازين حسناتك
فا وفقك الله وحفظك واسعدك
الف الف الف شكر ما قصرت



رد مع اقتباس
قديم 25-10-2014, 06:16 PM
  المشاركه #115

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

تاريخ التسجيل: Jul 2006
المشاركات: 664
خالد35 غير متواجد حالياً  

اخوي douplexx
جربت المعادله ولا زالت على off
ولازم افتح الخصائص واغيره الى on
:(
لا زالت المعادله كما هي لم تتعدل
وجرب المعادله اللي لصقتها هنا مع المعادله المعدله تجد نفس النتائج كون الخيار على off
اكرر شكري وتعبناك



رد مع اقتباس
قديم 25-10-2014, 06:49 PM
  المشاركه #116

عضو هوامير المؤسس

تاريخ التسجيل: Jul 2005
المشاركات: 2,316
almasdar غير متواجد حالياً  

douplexx الله يجزاك خير ويرضى عليك دنيا واخره


المعادله رائعه جدا وفقك الله



رد مع اقتباس
قديم 25-10-2014, 08:59 PM
  المشاركه #117

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

تاريخ التسجيل: Dec 2011
المشاركات: 310
haat غير متواجد حالياً  

بارك الله فيك اخوي douplexx



رد مع اقتباس
قديم 26-10-2014, 08:38 AM
  المشاركه #118

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

تاريخ التسجيل: Oct 2013
المشاركات: 503
DABL@ غير متواجد حالياً  

صباح الخير اخوي خالد 35




شوف الخيارات المؤشر الموجوده


Use Clean Pivots تبغا off او on

Use Symmetric Pivots تبغا off او on


Display bearish 123 تبغا off او on


Display bullish 123 تبغا off او on


Display retrace value Bearish تبغا off او on



Display retrace value Bullish تبغا off او on


Display Labels تبغا off او on


Signal Entry Range Limit تبغا off او on

و انتبه ترا بعض الخيارات تعارض مع بعض تاكد من الخيارات

بعدها اكتبها لي في اي وضع off و on تمام



لا تشيل هم يا خالد باذن الله راح نجيبها صح



رد مع اقتباس
قديم 26-10-2014, 08:40 AM
  المشاركه #119

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

تاريخ التسجيل: Oct 2013
المشاركات: 503
DABL@ غير متواجد حالياً  

اقتباس:
المشاركة الأصلية كتبت بواسطة haat مشاهدة المشاركة
بارك الله فيك اخوي douplexx
حياك haat الله يسعدك



شرفتنا بمشاركتك



رد مع اقتباس
قديم 26-10-2014, 09:57 AM
  المشاركه #120

عضو هوامير المؤسس

تاريخ التسجيل: Jul 2005
المشاركات: 2,316
almasdar غير متواجد حالياً  

عمي هذي المعادله بحاجه لتصحيح او ملف dll اذا ممكن

/*
VierBox ver 0.1. Messy programming, rough plotting, barely usable :D
ver 0.2. * Parameter VierBox per saham bisa di save. Tidak perlu lagi memakai
Draw Rectangle. Big time saver :D
* Plot yang lebih halus
* fitur untuk menampilkan/menyembunyikan VierBox
* fitur untuk menampilkan/menyembunyikan garis vertikal
* fitur untuk menampilkan dan merubah warna VierBox (masih sangat sederhana)
* fitur untuk merubah warna garis
* Bagian Title akan memberikan informasi jika ada parameter yang berubah sejak
disave dan memberi rekomendasi apa yang hrs dilakukan.

Cara penggunaan: Klik "RESET ALL" untuk menampilkan parameter yang telah disave
atau
Klik "SAVE" untuk menyimpan parameter yang telah ubah

Technical stuff: parameter setiap saham disimpan di ectory c:\amibroker\vierbox\namasaham.txt

Saran, usul dan komentar dipersilahkan.

*/

_SECTION_BEGIN("Save Parameter Vierbox");
save=ParamTrigger( "Save Parameter VierBox?", "KLIK DISINI UNTUK SAVE") ;
_SECTION_END();

_SECTION_BEGIN("Display VierBox");
DisplayVierBox=ParamToggle("Display VierBox?","Yes|No",0);
_SECTION_END();



_SECTION_BEGIN("VierBox by DF");


//tampilanVierBox=ParamToggle("VierBox yang Ditampilkan","Permanen|Setup",0);
//jumlahBarDiBox = Param("Jumlah Bar di Box", 15, 5, 20);
//Offset= Param("Start mundur berapa bar",75,1,200);
//LineColor = ParamColor("Warna Garis", colorGreen);
//ColorBox1 = ParamColor("Warna Box 1",colorLightYellow);
//ColorBox2 = ParamColor("Warna Box 2",colorAqua);
//DisplayBoxColor=ParamToggle("Display Box Color","Yes|No",0);
//displayVerLine=ParamToggle("Display Vertical Line","Yes|No",0);


SetChartOptions(0,chartShowArrows|chartShowDates);
Plot(C,"C",colorBlack,styleCandle);
SetBarsRequired(100000, 100000);
EnableTextOutput(False);

if (displayVierBox==0) //section vierbox by DF hanya akan ditampilkan kalau displayVierBox==0
{

//Buka file
input_file=Name()+".txt";
input_folder="vierbox";
fh=fopen(input_folder+"\\"+input_file,"r");
if(fh)
{
strFile=fgets(fh);
fclose(fh);

strStartBar=StrExtract(strfile,0);
strJumlahBarDiBox=StrExtract(strFile,1);
strdisplayVerLine=StrExtract(strFile,2);
strDisplayBoxColor=StrExtract(strFile,3);
strlineColor=StrExtract(strFile,4);
strColorBox1=StrExtract(strFile,5);
strColorBox2=StrExtract(strFile,6);

startBar=StrToNum(strStartBar);
lastBar = LastValue(BarIndex()); //value jumlah total bar
Offset=Lastbar-startBar; //box mulai di sini. Nilai offset keluar cuma sekali di sini!
Offset= Param("Start Mundur Berapa Bar?",Offset,1,200);
startBar=LastBar-Offset;
jumlahBarDiBox=StrToNum(strJumlahBarDiBox);

jumlahBarDiBox = Param("Jumlah Bar di Box", StrToNum(strJumlahBarDiBox), 5, 20);
displayVerLine=ParamToggle("Display Vertical Line","Yes|No",StrToNum(strdisplayVerLine));
DisplayBoxColor=ParamToggle("Display Box Color","Yes|No",StrToNum(strDisplayBoxColor));
ColorBox1 = ParamColor("Warna Box 1",StrToNum(strColorBox1));
ColorBox2 = ParamColor("Warna Box 2",StrToNum(strColorBox2));
lineColor = ParamColor("Warna Garis", StrToNum(strLineColor));

}
else //jika file yang mau dibuka gak ada, bikin jadi default dan save
{
printf("error open file");
Offset= Param("Start Mundur Berapa Bar?",75,1,200);
lastBar = LastValue(BarIndex());
startBar=Lastbar-Offset;

jumlahBarDiBox = Param("Jumlah Bar di Box", 15, 5, 20);
displayVerLine=ParamToggle("Display Vertical Line","Yes|No",0);
DisplayBoxColor=ParamToggle("Display Box Color","Yes|No",1);
ColorBox1 = ParamColor("Warna Box 1",colorLightYellow);
ColorBox2 = ParamColor("Warna Box 2",colorAqua);
LineColor = ParamColor("Warna Garis", colorGreen);

//save
Output_file=Name()+".txt";
Output_folder="vierbox";
fmk(Output_folder);
fh=fopen(Output_folder+"\\"+Output_file,"w");
fputs(NumToStr(startBar,1.0,False)+","+NumToStr(jumlahBarDiBox,1.0,False)+","+
NumToStr(displayVerLine,1.0,False)+","+ NumToStr(displayBoxColor,1.0,False)+","+
NumToStr(Linecolor,1.0,False)+","+NumToStr(ColorBox1,1.0,False)+","+
NumToStr(ColorBox2,1.0,False) , fh);
fclose(fh); fclose(fh);
}; //end if fh

lastBar = LastValue(BarIndex()); //value jumlah total bar
//startBar=Lastbar-Offset; //box mulai di sini. Nilai offset keluar cuma sekali di sini!
lArray=LLV( Low, jumlahBardiBox); //cari Low terendah di box awal
hArray=HHV(High,jumlahBardiBox); //cari High tertinggi di box awal

VierL=Larray[startBar-1];//convert lArray jadi value
VierH=Harray[startBar-1];//convert hArray jadi value
range=VierH-VierL;//hitung tinggi box awal


//cari baseline box, sedekat mungkin dengan harga 0
//berguna agar box-box di depan selalu berada dekat bar-bar harga
baselineBoxGenap=VierL-int(VierL/range)*range;
baselineBoxGanjil=VierL-int(VierL/range)*range-range/2;

//start Buat box awal
x0=-jumlahBarDiBox+startBar;
x1=startBar;
garisBawah=LineArray(x0,VierL,x1,VierL,0);
garisAtas=LineArray(x0,VierH,x1,VierH,0);
Plot(garisBawah,"", LineColor);//garis bawah box
displace=5;

Plot(garisAtas,"", LineColor);//garis atas box
//selesai buat box awal

//hitung harus buat berapa box ke depan(horisontal dan vertikal)
jumlahBoxH=int((LastBar-startBar)/jumlahBarDiBox)+1;//jumlah box ke depan yang akan dibuat

//Plot Vertical Line
if (displayVerLine==0)
{
for (k=0;k<jumlahBoxH+1;k++)
{
x0=-jumlahBarDiBox+startBar+k*jumlahBarDiBox;
Plot( BarIndex()==x0, "", LineColor, styleOwnScale |styleHistogram );
} //end for
}
if (displayBoxColor==0)PlotOHLC(Null,garisAtas,garisBawah,Null,"",ColorBox1,style Cloud+styleNoLabel);

for (k=1;k<jumlahBoxH;k++) //mulai buat box didepan sebanyak jumlahBoxH
{
testGanjil=int(k/2)-k/2;//genap jika nilainya 0
boxNo=k;
boxL=lArray[startBar-1 + boxNo*jumlahBarDiBox];
boxH=hArray[startBar-1 + boxNo*jumlahBarDiBox];
jumlahBoxV=int(boxH/range)+1;

//kalau box genap
if (testGanjil==0)
{
//di box yang genap ke depan, buat plot
for (j=1;j<=jumlahBoxV;j++)
{
if ((baselineBoxGenap+j*range)>boxL) //buat plot hanya kalau dekat dengan bar
{
x0=-jumlahBarDiBox+startBar+boxNo*jumlahBarDiBox;
x1= startBar+boxNo*jumlahBarDiBox;
y=baselineBoxGenap+(j-1)*range;
garisBawah=LineArray(x0,y,x1,y,0);
garisAtas=LineArray(x0,y+range,x1,y+range,0);
Plot(garisBawah,"", LineColor);
Plot(garisatas,"", LineColor);
if (displayBoxColor==0) PlotOHLC(Null,garisAtas,garisBawah,Null,"",ColorBox1,styleCloud+styleNoLabel);
};//end if
};//end for
}
else //kalau box ganjil
{
//di box yang ganjil ke depan, buat plot
for (j=1;j<=jumlahBoxV;j++)
{
if ((baselineBoxGanjil+j*range)>boxL) //buat plot hanya kalau dekat dengan bar
{
x0=-jumlahBarDiBox+startBar+boxNo*jumlahBarDiBox;
x1= startBar+boxNo*jumlahBarDiBox;
y=baselineBoxGanjil+(j-1)*range;
garisBawah=LineArray(x0,y,x1,y,0);
garisAtas=LineArray(x0,y+range,x1,y+range,0);
Plot(garisBawah,"", LineColor);
Plot(garisAtas,"", LineColor);
if (displayBoxColor==0) PlotOHLC(Null,garisAtas,garisBawah,Null,"",ColorBox2,styleCloud+styleNoLabel);
};//end if
}; //end for

};
};


//sekarang plot khusus di box paling kanan. Like I said, messy :(
k=jumlahBoxH;
testGanjil=int(k/2)-k/2;//genap jika nilainya 0
boxNo=jumlahBoxH; //no box yang paling kanan
boxL=LastValue(Larray);
boxH=LastValue(hArray);
jumlahBoxV=int(boxH/range)+1;
if (testGanjil==0) //kalau box genap
{

//di box yang genap ke depan, buat plot
for (j=1;j<=jumlahBoxV;j++)
{
if ((baselineBoxGenap+j*range)>boxL) //buat plot hanya kalau dekat dengan bar
{
x0=-jumlahBarDiBox+startBar+boxNo*jumlahBarDiBox;
x1= startBar+boxNo*jumlahBarDiBox;
y=baselineBoxGenap+(j-1)*range;
garisBawah=LineArray(x0,y,x1,y,0);
garisAtas=LineArray(x0,y+range,x1,y+range,0);
displace=jumlahBarDiBox-(LastBar-x0);
//printf("\ndisplace="+displace);
Plot(Ref(garisbawah,displace),"", LineColor,styleLine , 0,0,displace);//garis bawah box
Plot(Ref(garisAtas,displace),"", LineColor,styleLine , 0,0,displace);//garis atas box
if (displayBoxColor==0) PlotOHLC(Null,Ref(garisbawah,displace),Ref(garisAtas,displace),Null,"",ColorBo x1,styleCloud+styleNoLabel,0,0,displace);

};//end if
};//end for
}
else //kalau box ganjil
{
//di box yang ganjil ke depan, buat plot
for (j=1;j<=jumlahBoxV;j++)
{
if ((baselineBoxGanjil+j*range)>boxL) //buat plot hanya kalau dekat dengan bar
{
x0=-jumlahBarDiBox+startBar+boxNo*jumlahBarDiBox;
x1= startBar+boxNo*jumlahBarDiBox;
//printf("\nx0="+x0);
//printf("\nx1="+x1);
y=baselineBoxGanjil+(j-1)*range;
garisBawah=LineArray(x0,y,x1,y,0);
garisAtas=LineArray(x0,y+range,x1,y+range,0);
displace=jumlahBarDiBox-(LastBar-x0);
Plot(Ref(garisbawah,displace),"", LineColor,styleLine , 0,0,displace);//garis bawah box
Plot(Ref(garisAtas,displace),"", LineColor,styleLine , 0,0,displace);//garis bawah box
if (displayBoxColor==0) PlotOHLC(Null,Ref(garisbawah,displace),Ref(garisAtas,displace),Null,"",ColorBo x2,styleCloud+styleNoLabel,0,0,displace);
};//end if
}; //end for
};



stringVierBox=WriteIf(jumlahBarDiBox!=StrToNum(strJumlahBarDiBox) OR
startBar!=StrToNum(strStartBar) OR
displayVerLine!=StrToNum(strdisplayVerLine) OR
displayBoxColor!=StrToNum(strDisplayBoxColor) OR
Linecolor!=StrToNum(strLineColor) OR
colorBox1!=StrToNum(strColorBox1) OR
colorBox2!=StrToNum(strColorBox2),
EncodeColor(colorRed)+"VierBox "+Name()+" belum disimpan. Di menu Parameters, klik SAVE untuk menyimpan VierBox ini atau klik RESET ALL untuk kembali.",
EncodeColor(colorBlue)+"VierBox "+Name()+" sudah disimpan");



Title =

stringVierBox+"\n\n"+
Date()+
" "+Name()+
EncodeColor(colorBlue)+" O "+EncodeColor(colorBlack)+"= "+O+
EncodeColor(colorBlue)+" H "+EncodeColor(colorBlack)+"= "+H+
EncodeColor(colorBlue)+" L "+EncodeColor(colorBlack)+"= "+L+
EncodeColor(colorBlue)+" C "+EncodeColor(colorBlack)+"= "+C+
EncodeColor(colorBlue)+" V "+EncodeColor(colorBlack)+"= "+ WriteVal(Volume,0);

if (save==1)
{
Output_file=Name()+".txt";
Output_folder="vierbox";
fmk(Output_folder);
fh=fopen(Output_folder+"\\"+Output_file,"w");
fputs(NumToStr(startBar,1.0,False)+","+NumToStr(jumlahBarDiBox,1.0,False)+","+
NumToStr(displayVerLine,1.0,False)+","+ NumToStr(displayBoxColor,1.0,False)+","+
NumToStr(Linecolor,1.0,False)+","+NumToStr(ColorBox1,1.0,False)+","+
NumToStr(ColorBox2,1.0,False) , fh);
fclose(fh);
} //end if

} //end if displayVierBox

_SECTION_END();



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


الكلمات الدلالية (Tags)
معادلات, الايمي, بروكر, بعض, شرح, صنع, كيفية

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

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

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

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



07:04 PM