PureBytes Links
Trading Reference Links
|
Could someone help me with the syntax for ParamOptimize? It is not really in the function guide, just a comment by TJ under optimize. Here is the stated syntax:
function ParamOptimize( name, default, minv, maxv, step )
{
return Optimize( name,
Param( name, default, minv, maxv, step ),
minv, maxv, step );
}
Here are the 2 statements I am trying to combine:
//EntryBars = Param("Entry Bars", 15, 1, 100, 1);
//EntryBars = Optimize("Entry Bars", 15, 1, 100, 1);
And here is where I stand right now:
function ParamOptimize( EntryBars, 15, 1, 100, 1)
{return Optimize (EntryBars, Param EntryBars, 15, 1, 100, 1),1, 100, 1);};
which is not working. I have tried variations but obviously
I am not a programmer.
Thank you,
James
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.19/663 - Release Date: 2/1/2007 2:28 PM
|