Dear friends,
is there anyone having some experiences with parameter of optimization?
Look at the afl below:
/////////////////////////////////////////////////////////////
firstvar = Optimize("Firstvar",1,1,20,1);
Secondvar = Optimize("Secondvar",1,1,firstvar,1);
Buy = Sell = True;
/////////////////////////////////////////////////////////////
I need the Secondvar is always less than firstvar, so above I put firstvar as
the maximum of SecondVar optimize definition.
But once optimized, the SecondVar can be bigger than firstvar....
This slowdown the optimization process.....do you think so?
Could you help me how to code efficiently, so the engine just take the firstvar
as the maximum for secondvar instead of 20.
Regards
Kusnadi