Welcome to NexusFi: the best trading community on the planet, with over 200,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I am coding some strategies for ToS, and I am wondering if it is possible to optimize the strategy within the code to just output the best parameters.
Lets say it is a simple MACD crossing. Would it be possible to code the strategy in a way it will test for different values (using a for loop) get the total strategy P/L for each value and then only display the best P/L parameters set?
Or, on the other hand I have to do this by hand?
Thanks for any tip
Can you help answer these questions from other members on NexusFi?
Would be nice but I don't think there are that many options for strategies in thinkorswim. I do it manually changing the variables on the studies, but it is all very basic.