PureBytes Links
Trading Reference Links
|
Hi pm --
You will need to write afl code that includes a loop that looks at the data each bar. Do you know how to do that, or would like an example?
Thanks, Howard
On Thu, Mar 13, 2008 at 6:09 AM, pmxgs < pmxgs@xxxxxxxxxx> wrote:
Hi all,
I would like to implement a "modified trailing stop", that just
trails one time, for example I define the trailing stop to trail by
1%. Then, as soon as the price goes up by 1% the stop is raised to the
entrypoint level (which is the usual way a trailing stop works), but
from this moment on, the stop would stay at that point even if the
price rose 10%.
Can someone give an hint on how I can accomplish this?
thanks
__._,_.___
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
__,_._,___
|