Re: [amibroker] carry buyprice or shortprice forward

 



hello,

Did you try that ?

// Price bought at BuyPrice

PriceBought = ValueWhen(Buy, BuyPrice );
Plot( PriceBought , "BP ", colorYellow, styleLine );

// To keep trace of all buyprice ( fx gave a loop)

https://groups.yahoo.com/neo/groups/amibroker/conversations/messages/179996

Best regards

Le 01/03/2016 19:11, normer dude coblehill@yahoo.com [amibroker] a écrit :
> Hello
> I seem to have found a blonde moment. I am not able to carry (store) forward either my buyprice or shortprice for later use. That is when I have my day and buyprice the value keeps changing as I move the cursor forward. I want it stay the same ... until, in this case, I have my sell or short condition....
> Good day and thanks
> norm
>
>
> ------------------------------------
> Posted by: normer dude <coblehill@yahoo.com>
> ------------------------------------
>
> **** 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/
>
>
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>

__._,_.___

Posted by: reinsley <reinsley@yahoo.fr>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
**** 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