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

[amibroker] Re: Some Code help Reqd...



PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, "murthysuresh" <money@xxx> 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 amibroker@xxxxxxxxxxxxxxx, "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 amibroker@xxxxxxxxxxxxxxx, "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 amibroker@xxxxxxxxxxxxxxx, "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
> > > >
> > >
> >
>




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
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:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto: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/