PureBytes Links
Trading Reference Links
|
Hi Stephane,
Should ABtool.dll (upon which Portfolio Trader
depends, I believe) also be moved out of the Plugins folder?
thanks
-john
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Stephane
Carrasset
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Thursday, September 25, 2003 10:02
AM
Subject: [amibroker] Re: RemBuy
Problem
I'll be happy, and hope you'll not find any bug...I use
it to backtest trading systemstephane> > Thanks for the
help. I think that did the trick! I hope I didn't > waste
too much of your time. Now to see if I can get my system coded
> correctly.> > Rob> > --- In <A
href="">amibroker@xxxxxxxxxxxxxxx,
"Stephane Carrasset" > <<A
href="">nenapacwanfr@x...> wrote:> >
Hello,> > > > the problrm is that you must keep in
plugin folder only> > Box.dll, Rem.dll, Indicators.dll,
Trailingstop.dll> > all functions are included in these 3
dlls> > the errors comes of older dll> > > >
stephane> > > > > > I don't know if this helps at
all but here is a list of your> > > plug-Ins > > >
that I am using with their version numbers:> > > > >
> Box.
0.5.12>
> > Candlestick Plug-In
1.0.0> > > Forecast
Plug-In
1.0.0> > > Gaussian Average
1.0.0> > >
Indicators
0.5.12> > > PowerSar
Plug-In
1.0.0> > > Rem
0.5.12> > >
RemBuy
1.0.0> > > RemShort
1.0.0>
> > EquitySimpleLong
1.0.0> > >
SlopeBand
1.0.0> > > TimeFrame
Amibroker
1.0.3> > >
TrailingStop
0.5.12> > >
TrendLine
1.0.0> > > > > > Hope
this helps since I don't know if the problem is on my end.> > >
> > > Rob> > > > > > > > >
--- In amibroker@xxxxxxxxxxxxxxx, "bowbie89" <robm@xxxx> wrote:>
> > > Stephane,> > > > > > > > Pasted
your code from your message into AB. First, I was > getting
> > > the > > > > message `Missing Arguments'
until I filled "Count" and "Bars" > in > > > the >
> > > scRemBuyTrail line and gave them values. After I did that
and > > ran > > > it > > > > again,
I still got the same message "Variable `EnterLong' used > > >
> without having been initialized".> > > > > >
> > Rob> > > > > > > > > >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Stephane Carrasset" > >
> > <nenapacwanfr@xxxx> wrote:> > > > >
Hello,> > > > > > > > > > Try a simple
system like this one below, and if you get again > > > this
> > > > > error "Variable `EnterLong' used without having
been > > initialized"> > > > > that means that
the dll does not return enterlong, so I must > > > upload
> > > > > it again.> > > > > >
> > > > stephane> > > > > > > >
> > Title=Name() + " RemBuy TRAIL" ;> > > > > Buy=
DayOfWeek()==5 ; /* you must convert it to one bar > peak*/ >
> > > > > > > > > Entryprice= Close;>
> > > > StopPrice= Close ; > > > > > Trailstop=
StopLoss= L-3*ATR(20) ;> > > > > Target=
Entryprice+3*ATR(20);> > > > > > > > > >
> > > > > /* KEEP the ORDER*/> > > > >
scRemBuyTrail> > > > >
(Buy,Entryprice,StopPrice,StopLoss,TrailStop,Target);> > > >
> Buy=EnterLong;> > > > > Sell=ExitLong;> >
> > > BuyPrice=Entryprice;> > > > >
SellPrice=SellPr> > > > > > > > > > /*
Plot the # STOPS*/> > > > > > > > > >
Plot(ValueWhen(Sell,SellPrice),"",colorYellow,1);> > > > >
Plot(ValueWhen(Buy,BuyPrice),"",colorWhite,1);> > > > >
Plot(StopLosspr,"StopLoss",colorRed,1);> > > > >
Plot(TrailPr,"Trailingprice",colorGreen,1);> > > > >
Plot(TargetPr,"Targetprice",colorBlue,1);> > > > > >
> > > > PlotShapes(IIf(Buy,
shapeUpArrow,shapeNone),colorGreen,0,L,-> > 20); > > >
> > PlotShapes(IIf(Sell, shapeDownArrow,
shapeNone),colorRed,0,H,-> > > 20); > > > >
> Plot(C,"",1,64);> > > > > > > > > >
> I updated my plugins with your updated Rem, Box, Indicators >
> and > > > > > > TrailingStop dll's. When I
backtest the code below however > I > > > get>
> > > > > the following message: "Variable `EnterLong' used
without> > > > > > having been initialized"> >
> > > > > > > > > > Title=Name() + " RemBuy
TRAIL" ;> > > > > > Buy= DayOfWeek()==5 ; /* you must
convert it to one bar > > peak*/ > > > > >
> > > > > > > Entryprice= Close;> > >
> > > StopPrice= L; > > > > > > StopLoss=
LLV(L,3);> > > > > > 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)));> > > > > > > >
> > > > Target= Entryprice+3*ATR(20);> > > > >
> /* you can disable it with an impossible target ( C*1e10) */>
> > > > > Count=100000;> > > > > >
CloseBars=-1;> > > > > > > > > > >
> /* KEEP the ORDER++++*/> > > > > >
scRemBuyTrail> > > > > > > > > > >
> > > > > > > > > >
(Buy,Entryprice,StopPrice,StopLoss,TrailStop,Target,Count,CloseBars);>
> > > > > Buy=EnterLong;> > > > > >
Sell=ExitLong;> > > > > > BuyPrice=Entryprice;>
> > > > > SellPrice=SellPr> > > > > >
> > > > > > /* Plot the # STOPS*/> > > >
> > > > > > > >
Plot(ValueWhen(Sell,SellPrice),"",colorYellow,1);> > > > >
> Plot(ValueWhen(Buy,BuyPrice),"",colorWhite,1);> > > >
> > Plot(StopLosspr,"StopLoss",colorRed,1);> > > > >
> Plot(TrailPr,"Trailingprice",colorGreen,1);> > > > >
> Plot(TargetPr,"Targetprice",colorBlue,1);> > > > >
> > > > > > > PlotShapes(IIf(Buy,
shapeUpArrow,shapeNone),colorGreen,0,L,-> > > 20); >
> > > > > PlotShapes(IIf(Sell, shapeDownArrow, >
shapeNone),colorRed,0,H,-> > > > 20); > > >
> > > Plot(C,"",1,64);> > > > > > > >
> > > > > > > > > > Any thoughts on what the
problem I'm having could be. It is> > > > > >
pretty much the same code from your updated help file.> > > >
> > > > > > > > Thanks,> > > >
> > > > > > > > Rob> > > > >
> > > > > > > > > > > > > ---
In amibroker@xxxxxxxxxxxxxxx, "bowbie89" <robm@xxxx> > >
wrote:> > > > > > > Stephane,> > > >
> > > > > > > > > > Thanks for your help and
contribution. I was away last > > week > > > >
and > > > > > > > today was the first chance I had to
check the forum. I > > will > > > > > >
> download the new files and go to work with them.> > > >
> > > > > > > > > > Rob> > >
> > > > > > > > > > > > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx, "Stephane Carrasset"
> > > > > > > <nenapacwanfr@xxxx>
wrote:> > > > > > > > > > > > >
> > > Rob,> > > > > > > > > >
> > > > > > I have uploaded the rembuy with a help file in
3rd > section> > > > > > > > the doc is
also below> > > > > > > > ther is only a long
side, I'll do the short side > tomorrow)> > > > >
> > > > > > > > > > >
stephaneSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|