I seem to recall that someone had a strategy with a sliding tab. If I understood it correctly, one could move the tab and that would alter the decision parameter that controls the Buy/Sell points. This would be good in optimizing a strategy. Is this tool available on WL7?
Rename
Parameter sliders (as in WL6 i.e. re-running the strategy as you drag them with mouse) aren't available in WL7.
Parameter sliders are there in the Strategy Settings. There you call manually adjust strategy parameters. Unlike WL6 though, it doesn’t automatically run the strategy every time you move a slider.
Hi,
for understanding. I only have "AddParameter" in WL7 to get the same result as in WL6? Because in WL6 I needed a constructor and a private variable, see pictures. Is that correct?
That means I save myself a step.
for understanding. I only have "AddParameter" in WL7 to get the same result as in WL6? Because in WL6 I needed a constructor and a private variable, see pictures. Is that correct?
That means I save myself a step.
Hi,
Yes, you're right. Then you can refer to a parameter using the Parameters list by its index...
...or by its name:
Yes, you're right. Then you can refer to a parameter using the Parameters list by its index...
CODE:
Parameters[0].AsInt
...or by its name:
CODE:
Parameters.FindName("LB_LG").AsInt...
Thanks Eugene.
Your Response
Post
Edit Post
Login is required