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

RE: [amibroker] Random Data Generator



PureBytes Links

Trading Reference Links









Hi John –

 

AmiBroker already has a random number
generator.  If you want to add random noise to existing data, try
something like this:

 

Rc = C + random();

 

And then compute your moving averages, or
whatever, using Rc instead of C.

 

The AmiBroker Help system will tell you
all about using random.  It generates from a uniform distribution, in the
range of 0 to 1.  If you need some other distribution (normal,
exponential, etc), post back to the forum and someone will help you.

 

Howard

 



-----Original Message-----
From: John
[mailto:jea55129@xxxxxxxxx] 
Sent: Friday, October
 17, 2003 <span
 >7:53 AM<font size=2
face=Tahoma>
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Random Data Generator

 

<font size=2
face="Courier New">Group,<font
size=2 face="Courier New">

I am looking for a random data generator. I have
looked at Ami 
function and in excel. But neither produce
o/h/l/c. I want to be able 
to import the data into Ami and backtest on the
same data. My 
thinking is to backtest over several sets of data
and if the results 
are close maybe I have something.

Any thoughts 

Thanks

John





 
  
  <font size=2
  color="#003399" face="Times New Roman">Send
BUG REPORTS to bugs@xxxxxxxxxxxxx<font size=2
face="Courier New">
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx

(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html


Your use of
Yahoo! Groups is subject to the Yahoo!
Terms of Service. 












Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.