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

[amibroker] Re: my trades



PureBytes Links

Trading Reference Links

I draw a line "Study UP"
do backtest and AB buy correctly
 
I draw a second line "Study UP"
do backtest and AB buy just the first line?
 
i Delete the first line, AB buy the second line?
 
AB works always with the line i draw first?
but I would like to work with multiple lines,
there are my trades and i look for different stopps.
SetTradeDelays( 0, 0, 0, 0 ); // buydelay, selldelay,shortdelay,
coverdelay

Risiko = -0.25 ; //risiko auf das depot

RisikoimWert = Ref (H,-1) - Ref (L,-1) ; // risiko im wert

PositionSize = ( Risiko / RisikoimWert) * BuyPrice;

Buy = Cross (H, Study( "UP",1000) );

BuyPrice= Ref (H,-1);

Sell = L < Ref (L,-1);

//Sellstop = Ref (L,-1);

SellPrice = Min ( Open, Ref (L,-1));

Buy = ExRem(Buy,Sell);

Sell = ExRem(Sell,Buy);




------------------------------------

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/