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 [email protected], "patsgreatdeals" <patsgreatde...@...> 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.
>


Reply via email to