when u are troubleshooting code, try to divide and conquer. try to see it if works with 1 indicator example. provide ur code example and provide what result do you expect, what result that you got and why you think it is wrong. also include what version of amibroker that you are using.
--- In [email protected], "Shweta Shalini" <[EMAIL PROTECTED]> wrote: > > Hi, > > pls read again what i have queried.i dont need to make ten variables > for my buy signal ,i can just use operators to join into one. my > problem is regd erroneous results given by explorer. > > rgds > > --- In [email protected], "murthysuresh" <money@> wrote: > > > > you said u had multiple indicators > > > > so, > > indicator_buy1=indicator code > > indicator_buy2=indicator2 code > > buy=indicator_buy1 or indicator_buy2 > > filter=buy > > add column ....... > > > > --- In [email protected], "Shweta Shalini" <this_is_sav@> > > wrote: > > > > > > Hi Murthy, > > > > > > thns for ur reply. > > > > > > Ref ur BB reply, pls note that u have just given another name to > my > > > buy variable which shows 1 when buy signal is generated.but that > is > > > not my query.What i want it is to show for how many previous days > > the > > > buy signal is coming. for eg- that buy signal might be coming > > > continuosly for last three days or so.how to generate the loop > > which > > > will count the buy signal for last three days? > > > > > > cud u throw sum light in why exploration is unable to give right > > > signal thru writeif when the variable output is correct. > > > rgds > > > > > > --- In [email protected], "murthysuresh" <money@> wrote: > > > > > > > > BB) > > > > Buy4Indicator1=<insert your buyformula> > > > > addcolumn("Buy4Indicator1=<", Buy4Indicator1) > > > > CC) No initialization is needed. > > > > you can do a explore and it will give ur answer > > > > DD) go and change ur preferences in your profile. > > > > > > > > --- In [email protected], "Shweta Shalini" > <this_is_sav@> > > > > wrote: > > > > > > > > > > Hi Enlightened AB Pros, > > > > > > > > > > if u get bugged with my elementary queries, pls execuse > > > me...whole > > > > > nite broke my head and cudnt solve,hence back to spoon > feeding:( > > > > > > > > > > AA)i want to add to my exploration for how many days a > > continuos > > > > buy > > > > > signal is coming? i use tens of indicators and want to > generate > > > > their > > > > > buy signal column appended with no of preceding days the buy > > has > > > > been > > > > > coming (for eg BUY-3 instead of just BUY) > > > > > > > > > > > > > > > > > > > > BB) my buy signal is a cumulation of many indicators with > diff > > > > > weights. i also want to create a column which shows how many > of > > > my > > > > > indicators are a buy. i was trying something like this > > > > > count_signals=0; > > > > > iif(fisherbuy,count_signals++,0); > > > > > iif(t3buy,count_signals++,0); > > > > > But the value of count_signal genrated in exploration is > > > erroneous. > > > > > > > > > > CC) like in VB we need to intialise all variables to NUll for > > the > > > > > second scan so that previous values dont get carried over > while > > > the > > > > > exploration does second scan, do we need also to do same in > AB? > > > > > > > > > > DD) another one- sorry but how in this yahoo group i know if > > > > somebody > > > > > has answered my post? i dont want to recieve all posts in > email > > > and > > > > > ther eis no alert for writer's post replied. do i need to > > search > > > > for > > > > > my posts and check or remember my post no? there must be a > > simple > > > > > solution.... > > > > > > > > > > M/Thnaks......and if u get bugged down pls........more > > questions > > > > will > > > > > soon follow....... > > > > > M/Thnaks > > > > > > > > > > > > > > >
