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

Re: [amibroker] Re: HighestValueThatDay



PureBytes Links

Trading Reference Links

DT, I drank too much coffee today, but it has now worn off, so I will go to bed now.   I have never used Max(          before, but I know it will work after reading about it in the user manual.  I have developed a very rapid way to do repetitive coding, so I will code it tomorrow. Thanks for the great suggestion. Ron D   
  ----- Original Message ----- 
  From: DIMITRIS TSOKAKIS 
  To: amibroker@xxxxxxxxxxxxxxx 
  Sent: Thursday, September 23, 2004 2:32 AM
  Subject: [amibroker] Re: HighestValueThatDay


  One idea is
  line1=...
  line2=...
  line3=...
  line4=...
  maxvalue=max(line1,max(line2,max(line3,line4)));
  [the example was written for 4 lines]
  Dimitris
  --- In amibroker@xxxxxxxxxxxxxxx, "mrdavis9" <mrdavis9@xxxx> wrote:
  > 
  > 
  > I have an indicator which plots 46 lines. I want to plot an 
  additional line which will be made constructed using the value of 
  whichever line happens to have the Highest value on that day.   
  > 
  > If on Thursday, the line #24 has the highest value, (lets assume it 
  is 32), then this one day HHV line will be plotted with a value of 
  32.  Now lets assume that  on Friday, the line #27 has the highest 
  value which happens to be 39, then the one day HHV line will be 
  plotted  with a value of 39.   This one probably has a Duh answer, 
  but right now I am having difficulty thinking of how to do it.  Ron D
  > 
  > 
  > 
  > 
  > ---
  > Outgoing mail is certified Virus Free.
  > Checked by AVG anti-virus system (http://www.grisoft.com).
  > Version: 6.0.766 / Virus Database: 513 - Release Date: 9/18/2004
  > 
  > [Non-text portions of this message have been removed]




  Check AmiBroker web page at:
  http://www.amibroker.com/

  Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Yahoo! Groups Links



   


  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.766 / Virus Database: 513 - Release Date: 9/19/2004

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> 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/