I am trying to code a trailing stop level of a
support line that changes over time and need to use the "volatile" perameter in
ApplyStop function.
The problem I have, my Support line formula
computes an absolute value, therefore I must subtract the support value from the
highest high.
The catch is that ApplyStop provides the
information I need to the Sell array ... so I am in a catch22. I need the sell
bar number to compute the proper value of buy price for ApplyStop and I need
ApplyStop to run first to give me the Sell array.
So what I need, is to be able to compute the buy
price before running ApplyStop OR somehow be able to use absulute values with
ApplyStop.
Any suggestions? Do I need to gog to Custom
Backtester?
Tx
Ara
__._,_.___
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
__,_._,___
|