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

Re: [amibroker] my trades



PureBytes Links

Trading Reference Links

 
 
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)+0.04;
 Sell = L < Ref (L,-1);
//Sellstop = Ref (L,-1);
 SellPrice = Min ( Open, Ref (L,-1));
Buy = ExRem(Buy,Sell);
 Sell = ExRem(Sell,Buy);
 
 
 
 
hallo,
 
 
why AB buys only the first line?
if I remove it AB buy the next line?

Attachment: Capture-1.gif
Description: GIF image

Attachment: Capture-2.gif
Description: GIF image