PureBytes Links
Trading Reference Links
|
Hi Isaac try add this to your code
It from a piece of code submitted to the group by ralf w
it calculates 8% profit from buy or 3% stop loss
Hope it helps
Regards David
/* referencing buy price
by ralfw@xxxx */
buyprice = valuewhen( buy, ref(open, 1), 1);
minGrowth = (close > buyprice * 1.08);
stopLoss = (close < buyprice * 0.97);
----- Original Message -----
From: <dimyon@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, May 24, 2001 6:39 PM
Subject: [amibroker] trailing stop
> Hi,
>
> Can anyone tell me how to activate the trailing stop on automatic
> analysis, settings?
>
> Thanks,
>
> Isaac.
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
|