[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: AddToComposite - using PremiumData


  • Date: Sun, 28 Feb 2010 00:07:44 -0000
  • From: "Mike" <sfclimbers@xxxxxxxxx>
  • Subject: [amibroker] Re: AddToComposite - using PremiumData

PureBytes Links

Trading Reference Links

As an aside, you should not be using "flags=3" in your code. Just pass 3.

Better yet, use the constants to make it more readable atcFlagDeleteValues + atcFlagCompositeGroup. Just passing 3 is meaningless to the casual reader, which you will be later on!

Mike

--- In amibroker@xxxxxxxxxxxxxxx, "patsgreatdeals" <patsgreatdeals@xxx> wrote:
>
> Howard,
> 
> What I found was very interesting. I have some AddToComposite code I ran for quite a while. This was on an XP Pro machine. 
> 
> With AMIBroker on Vista the following did not produce any results.
> 
> (mind you this is the final line of code)
> AddToComposite(Over200MA,"~GT_200MA","X",flags=3);
> 
> ...But if I replace the Tilde with and underscore
> AddToComposite(Over200MA,"_GT_200MA","X",flags=3);
> 
> The composite showed up. 
> 
> Finally rebooting the machine, and running it as normal ~GT_200MA showed up. I have no idea what caused this issue. This AddToComp logic I have used for a long time on XP Pro. 
> 
> Regardless, for what ever reason it now works.
>




------------------------------------

**** 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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/