PureBytes Links
Trading Reference Links
|
you may need to add Equity(1,0); line to the code to give the stops values
for scan and plots
see equity in help for the numbers to use inside the brackets
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 11/01/07, Ernie Newman <ewn87544@xxxxxxxxxxx> wrote:
>
> If my script ends with the following code using Sell = 0 as
> I want to use the stops for an exit.
> How does the scan function give me a sell signal the day before
> the signal as I will exit the trade the next day at the open.
> The buy scan works great but there is no sell signals.
> If the trade is 9 days old then I want to exit at tomorrows
> open but scan won't tell me that.
>
> Buy = CondA AND CondB
> AND MA(Volume,50) > 100000;
> Sell = 0;
> ApplyStop( 2, 2, 1.9 * ATR(14), 2,True);
> ApplyStop( stopTypeNBar, stopModeBars,9, True );
>
> Thanks
> Ernie
>
>
>
> 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
>
>
>
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.9/622 - Release Date: 1/10/2007 2:52 PM
|