[amibroker] Re: Is there any way to get the last signal (buy or sell) and the last order price?

 

But how can i do it if my own formula depends on the previous values of buy? it is recursive.
at one point i have to initialize the first one at the first candle.

would a


Buy[BarCount-1]=0;
Sell[BarCount-1]=0;

let me see




Yep it works. Being recursive i need to feed the first one.

Thanks so much man, you have helped me a lot,

Cheers ;-)

__._,_.___

Posted by: dpellon@gmail.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (14)
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___


EmoticonEmoticon