[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: help with trading system



PureBytes Links

Trading Reference Links

ok I see now that a change from SetTradeDelays(0,0,0,0); to 
SetTradeDelays(1,0,0,0); can not be seen in the chart but is visible 
in the back test .... the buy signal in the chart stays at the same 
place.


--- In amibroker@xxxxxxxxxxxxxxx, "ed2000nl" <pablito@xxxx> wrote:
> hi Jayson,
> 
> I started with such a simple system in order to be able to track 
what 
> is going on.
> 
> 1) I start with   
> 
> SetTradeDelays(0,0,0,0);
> Buy = Cross(RSI(),30);  
> 
> then I look in the chart (standard Price chart) where the buy 
signals 
> are.
> 
> 2) now I make a change: 
> 
> SetTradeDelays(1,0,0,0);
> Buy = Cross(RSI(),30);
> 
> and again I look where the buy signals are: nothing changed?
> 
> I think I am missing something ...
> 
> 
> Indeed "Buy = Ref(Buy, -1);" is not the proper thing to use for my 
> purposes although it seems to move the moment of purchase 1 day 
> forward.
> 
> Seems I am lost here. If I make a change from SetTradeDelays
> (0,0,0,0); to SetTradeDelays(1,0,0,0); and no difference can be 
seen 
> things get complicated.
> 
> Maybe you can point me to a similar example somewhere in the 
archive 
> which does similar things as my example. I am not really interested 
> in systems like: 
> Buy = Cross(RSI(),30);
> Sell = Cross(70,RSI());
> I want to closely monitor a buy signal and then find an exit point 
> like in my example.
> 
> thanks,
> 
> rgds, Ed 



------------------------ 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/mOAaAA/3exGAA/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/