NexusFi: Find Your Edge


Home Menu

 





Money management code in Multicharts PowerLanguage


Discussion in MultiCharts

Updated
    1. trending_up 4,148 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 FastBull32 
 
Posts: 39 since Oct 2012

Hi all,

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


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
Oil Surges ~18% in One Week as Iran Conflict Disrupts Gl …
Commodities
Coinbase Launches Regulated Crypto Futures Across 26 Eur …
Cryptocurrency
Hormuz Normalization Collapses to 19.5% -- Iran Regime F …
Prediction Markets & Event Contracts
SEC Chairman Calls for New Golden Age of SEC-CFTC Regula …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
23 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
  #2 (permalink)
 
arnie's Avatar
 arnie 
Europe
 
Experience: Advanced
Platform: Jigsaw
Broker: Tradovate
Trading: Equities
Posts: 826 since May 2010
Thanks Given: 763
Thanks Received: 1,048


moses View Post
Hi all,

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!

moses

Hi.

In here you have a couple of strategies.
See if you find anyone that share some light on what you want to do.
TradersXchange • View forum - AutoTrade, Advisory, Strategy & Signal

Also, if you want to request an EL/PL code you should request it in here


If I become half a percent smarter each year, I'll be a genius by the time I die
Reply With Quote




Last Updated on March 18, 2013


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts