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

Re: [amibroker] How raw signals are converted to trades and how then trades are picked based on score in regular backtest mode



PureBytes Links

Trading Reference Links

Tomasz, 

I sent you a direct question about this very simple code (below)to
support 72 hours ago and a follow-up yesterday but have received no
response except for you to tell me in this forum to "RE-READ THE
amibroker-beta group." Is that what you call support?  If it has
reached the point where simple questions get this kind of response I
respectfully suggest you take a vacation.  How about a direct answer
*about the code* please.  

Mark

/*****
** REGULAR PORTFOLIO mode
****/

SetOption("InitialEquity", 500000 );
SetTradeDelays(1,1,1,1);
SetOption("MaxOpenPositions", 20 ); // limit to 20;
PositionSize = -5;
Buy=C>0;//use a buy condition that is true for all stocks
Sell=C<Ref(C,-3);// your sell condition
// now use score to rank equities
PositionScore = StochD(14); // prefer stocks that have high stochd; 

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> 
> 
> 
> > 
> > With that said, the code I posted still doesn't work, LOL.  I'm
> > surprised about that plus the fact that so far nobody has explained
> > what's happening.  I must be missing some nuance.  Anyone care to
> > enlighten me?
> 
> RE-READ THE amibroker-beta group
> http://www.egroups.com/messages/amibroker-beta
> The way how buys are matched with sells in regular mode was
explained there tens (if not hundreds of times) there.
> 
> 
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/