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

Re: [amibroker] Tj: Buy delays in settings



PureBytes Links

Trading Reference Links

Anthony,

If you set delay in the Settings and additionally you shift signals
in the code - the delays will ADD.

But...
buy = valuewhen( ref( buy, -1 ), open );

statement is wrong. I think you wanted to say:
buyprice = valuewhen( ref( buy, -1 ), open );

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Anthony Faragasso" <ajf1111@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, April 20, 2002 4:11 AM
Subject: [amibroker] Tj: Buy delays in settings


> Tomasz,
>
> If in settings in AA I have Buy=close, delay=2, and write code in my
> formula that says,
> buy=valuewhen(ref(buy,-1),open);
> which one takes precendence over the other.. It should be the hard code
> in my formula , is this correct.?
>
> Anthony
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>