I have some code that uses a profit target and a
trailing stop:
Sell = iif(condition,1,0); // profit
target
ApplyStop( stopTypeTrailing, .... );
It seems that ApplyStop overwites the Sell array when run sequencially as shown above.
Would this be correct, or am I doing something else
wrong?
Thanks
Ara
__._,_.___
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL 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
*********************************
__,_._,___
|