هذي معادلتكم والاضافه للدعم والمقاومة تزيد من قوتها اكتفيت بالاشارات وابي منك مع هذا تستخدم الترندات اليدويه لانها اقوى وادق
لا تحرمونا دعواتكم
_SECTION_BEGIN("price");
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() );
_SECTION_END();
_SECTION_END();
o1 = Ref(O,-1);o2 = Ref(O,-2);o3= Ref(O,-3); o4= Ref(O,-4);
h1 = Ref(H,-1);h2 = Ref(H,-2);h3= Ref(H,-3); h4= Ref(H,-4);
l1 = Ref(L,-1);l2 = Ref(L,-2);l3= Ref(L,-3); l4= Ref(L,-4);
c1 = Ref(C,-1);c2 = Ref(C,-2);c3= Ref(C,-3); c4= Ref(C,-4);
blackcandle = (O>C);
blackcandle1 = Ref(blackcandle,-1);
blackcandle2 = Ref(blackcandle,-2);
blackcandle3 = Ref(blackcandle,-3);
blackcandle4 = Ref(blackcandle,-4);
blackcandle5 = Ref(blackcandle,-5);
blackcandle6 = Ref(blackcandle,-6);
smallblackcandle = ((O>C) AND ((H-L)>(3*(O-C))));
smallblackcandle1=Ref(smallblackcandle,-1);
whitecandle = (C>O);
whitecandle1=Ref(whitecandle,-1);
whitecandle2=Ref(whitecandle,-2);
whitecandle3=Ref(whitecandle,-3);
whitecandle4=Ref(whitecandle,-4);
_SECTION_END();
cand1= blackcandle2 AND blackcandle1 AND whitecandle AND L>=l1 AND C< h1 AND c1<c2 AND h1 <h2 AND l1<l2 ;
cre= Ref (cand1,1);
rf=ValueWhen(cre,H);
rf1=ValueWhen(cre,L);
_SECTION_BEGIN("Pivots");
sy=Cross(C,rf)AND C>O;
sy1=Cross(rf1,C)AND O>C;
syPrice=ValueWhen(sy,L) ;
syPrice1=ValueWhen(sy1,L) ;
j77=ValueWhen(sy,L);
j771=ValueWhen(sy1,L);
PlotShapes(IIf(sy , shapeDigit2, shapeNone),colorCustom6, 0,L, -15);Buy = cand1;
PlotShapes(IIf(sy1 , shapeDigit3, shapeNone),colorRed, 0,L, -15);Buy = cand1;
_SECTION_BEGIN("C?? C???CI?CE");
strength = Param("Strength",1,1,15,1);
pr=PeakBars(H,strength)==0;
ps =TroughBars(L,strength)==0;
rf=ValueWhen(pr,H);
sf=ValueWhen(ps,L);
Plot(rf,"",colorGreen,40+16);
Plot(sf,"",colorRed,40+16);
_SECTION_END();
_SECTION_END();