Thankyou very much droskill for your quick response. I really appreciate your help. I am testing your code and its very near to what I want. I am trying to modify it a little bit and will post the modified code if succesful.
Thank once again. --- In [email protected], "droskill" <[EMAIL PROTECTED]> wrote: > > Ok - you want to create an exploration: > > //Calculate your ranking method - here's an example > //based loosely on what you described. > > Voladd = iif(Volume>3*MA(Volume,25),10,0); > MyScore = ROC (C, 25) + Voladd; > MAScore = MA(5,MyScore); //Calculate a moving average of MyScore > > > Filter = Status("lastbarinrange"); > //Show only the current rankings for today > > //Show the values > AddColumn( C, "Close"); > AddColumn( V, "Volume"); > AddColumn( MyScore, "Score"); > AddColumn( MAScore, "MAScore"); > AddColumn( Ref(MyScore,-1), "Score Yesterday"); > SetSortColumns(-5); //Sort based on the 3rd column descending > > > > --- In [email protected], "subratabera1" <subratabera1@> wrote: > > > > Hello friends, > > > > This is my first post in this group. I am new to this group and > > Amibroker too. I want to design a system (screener) which ranks the > > stocks based on certain criteria. I know very little about > > programming so I am here for your help. Let me explain my > > requirements. > > > > 1) I want to develop a system which Ranks the stocks by giving it > > some points based on how much it advances(%) in a day with increased > > volume(%). (1 point for every % increase) > > 2) The system only work on last 25 bars. > > 3) The ranking should change (+ or -) with every passing day. > > 4) The system must list stocks along with its ranking on a daily > > basis showing previous rankings also. > > 5) It will be great if MA can be calculated on ranking variable. > > > > Please help me developing this system. It will be a great help to me. > > > > Thanks in advance. > > > > SB. > > > > (Sorry for my poor English) > > >
