Welcome to NexusFi: the best trading community on the planet, with over 150,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 -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Money management code in Multicharts PowerLanguage
I'm trying to write some code for a money management method in powerlanguage, for example like this:
1. if drawdown goes above 15%, then exit all positions and stay out for 30 days
2. when the 30 days pass, enter again with a maximum of 4 positions, until drawdown returns to, say, 10%.
2a. if drawdown returns to 15%, do the same.
2b. if drawdown increases to 25%, stop trading again for 30 days.
etc
The above is just a very rough idea.
I was wondering if such code, or any code related to money management, exists anywhere on the nets, or if anyone is willing to share their own.
It would be great if we could share some code here.
I am working on something simple now, when I get my head around it, I will post it here for reference by anyone pulling their hair like I am doing now!
FastBull32
Can you help answer these questions from other members on NexusFi?
I thought it would be a good idea to create a new thread specifically for EasyLanguage -- TradeStation / MultiCharts / OEC -- requests to get your indicator created for free.
If you have a request to …
If I become half a percent smarter each year, I'll be a genius by the time I die