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

[amibroker] Re: Optimization by Standard Error of Equity Line



PureBytes Links

Trading Reference Links

I made it work, Ron.
Glad to help,
Bob

-----Original Message-----
From: doedau [mailto:don.edwards@xxxxxxxxxxxxxx]
Sent: Sunday, May 09, 2004 2:10 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] I cant get this to work


Hi,
Could you help please, I ought to be able to code this but cant make
it work.

1. set an initial value = 1.1*Close
2. hold that value constant until Close>value
3. then reset value (or some other variable) to new higher 1.1*C
4. hold that new value constant until again Close> new value
5. keep repeating steps 3 and 4

Its something like a trailing stop but above the close (I dont want
to use applystop() even if it would do the job, as this is only part
of the code I am developing).

Many thanks in advance, Regards Don.




Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links







------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

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