- ago
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?
0
995
Solved
6 Replies

Reply

Bookmark

Sort
- ago
#1
Parameter sliders (as in WL6 i.e. re-running the strategy as you drag them with mouse) aren't available in WL7.
0
Glitch8
 ( 8.38% )
- ago
#2
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.
0
mrsic8
 ( 8.64% )
- ago
#4
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.



0
- ago
#5
Hi,

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...
0
Best Answer
mrsic8
 ( 8.64% )
- ago
#6
Thanks Eugene.
1

Reply

Bookmark

Sort