thank you very much :D Both answers are useful for me :)
-- Best regards raskoks On Mon, Sep 7, 2009 at 3:15 PM, Herman <psy...@magma.ca> wrote: > > > There is no such thing as a stupid question :-) > > > exrem(), flip(), and equity(1) can all be used to remove redundant > conditions or signals. > > > btw, If you just want to remove repetition in a single variable you can > also detect positive or negative changes using: > > > PosConditionChange = Condition > ref(Condition,-1); > > NegConditionChange = Condition < ref(Condition,-1); > > > herman > > > > Monday, September 7, 2009, 8:52:38 AM, you wrote: > > > > Hi, > > > I've got stupid problem - but i can't solve it. > > > I've got situation like that: > > > Condition,Condition2 - some condition with value true/false > > > > And i need to have array which value is set 0 after Condition ==true and > be 0 until Condition2 change to true. > > > But important for me is only change conditions from 0 to 1 not current > value. > > > For example > > > Condition 0000000110001100 > > > Condition1 0000000000000010 > > > Exit 1111111000000011 > > > > Thanks for help. > > > > -- > > > Regards > > > > > > ------------------------------------ > > > > **** 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/ <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/ <http://www.amibroker.com/devlog/> > > > > Yahoo! Groups Links > > > > http://groups.yahoo.com/group/amibroker/ > > > > Individual Email | Traditional > > > > http://groups.yahoo.com/group/amibroker/join > > > (Yahoo! ID required) > > > > > > mailto:amibroker-dig...@yahoogroups.com<amibroker-dig...@yahoogroups.com> > > > > > > mailto:amibroker-fullfeatu...@yahoogroups.com<amibroker-fullfeatu...@yahoogroups.com> > > > > amibroker-unsubscr...@yahoogroups.com > > > > http://docs.yahoo.com/info/terms/ > > > > > -- Nawet woda czasem śpi ...