PureBytes Links
Trading Reference Links
|
> What signals are you getting? Has to do with my settings??
THE ONLY SETTINGS are the delay, they must be set to zero
> By "Upgrade", do you mean a new dll?
Not really new, but I have added some arrays ( stoplosspr,
trailingpr, targetpr) and we can plot and visualize them directly on
the chart
the counter ( exit after n bars) or the bars option( exit after n
bars if the close is below our entryprice and above the stoploss) are
disable by default
> Thanks.
>
> Rob
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Stephane Carrasset"
> <nenapacwanfr@xxxx> wrote:
> > Hello,
> >
> > In fact I have done an upgrade to RemBuy ( you can choose any
> > stoploss, trailingstop, target or bars counter that you want),
but
> > perhaps I have not upgrade the help file ??? (sorry)
> > it works perfectly for me with the last version of Amibroker.
> > I promise to upload a detailled help file saturday in the
> afternoon,
> > only for LONG side.
> >
> > Stephane
> >
> >
> > >
> > > I am having some trouble with RemBuy. So I tested the code
that
> > was
> > > included with the help file and that didn't seem to work
properly
> > > either.
> > > This problem seemed to happen when I upgraded to version 4.4.
> The
> > > code included in the help file is below. Maybe it has to do
with
> > my
> > > settings? I am using version 1.0.2 of the Rem Amibroker Plugin.
> > >
> > > Title=Name() + " RemBuy TRAIL" ;
> > > Buy= Cross(RSI(3),50) ;/* you must convert it to one bar peak*/
> > > Entryprice= Close;
> > > StopPrice= L;
> > > StopLoss= L-ATR(3);/* you must give your stoploss as an array,
> you
> > > don't need of valuewhen the dll makes it for you*/
> > > stop= Optimize("stop", 1, 1, 2, 1 );
> > > Trailstop= IIf( stop==1, L-3*StDev(C,20),IIf( stop==2, L-3*ATR
> > > (30),scCBLLong(5)));
> > > Pf=2;
> > > Target= (1+Pf)*Entryprice - Pf*stopLoss;
> > > Count= -1;
> > > Bars= -1;
> > > scRemBuyTrail
> > > (Buy,Entryprice,StopPrice,StopLoss,TrailStop,Target,Count,Bars);
> > > Buy=Buy;
> > > Sell=Sell;
> > > BuyPrice=Entryprice;/*array*/
> > > SellPrice=SellPr;/*array sellpr is given by the dll: close if
you
> > > choose exit on bar, close if you choose close as stopprice,
stop
> or
> > > open ( if gap) if you choose Low as stopprice */
> > > Entryprice=ValueWhen(Buy,Entryprice);
> > > Stoploss=ValueWhen(Buy,StopLoss);
> > > profit =ValueWhen(Buy,Target) ;
> > > Trail=HighestSince(Buy,Trailstop);
> > >
> > > MaxGraph=14;
> > > Plot(Close,"close",IIf( Buy, 6, IIf(Sell , 4 ,1 )),64);
> > > Plot(Entryprice,"Ep",3,1);
> > > Plot(Stoploss,"stop",4,1);
> > > //Plot(Profit,"Profit",7,1);
> > > Plot(TargetPr,"",6,1);
> > > /* targetpr and trailpr are returned by the dll*/
> > > Plot(TrailPr,"TrailPr",5,1);
> > > Plot(ValueWhen(Sell,SellPrice),"",2,1);
> > >
> > > //Plot(Buy*10,"",6,2);
> > > //Plot(Sell*5,"",7,2);
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|