NexusFi: Find Your Edge


Home Menu

 





Money management code in Multicharts PowerLanguage


Discussion in MultiCharts

Updated
    1. trending_up 4,254 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?
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Four New E-mini Futures Launch June 29 -- Russell 3000, …
Emini and Emicro Index
Iran and Israel Stand Down: What $9M in Peace Contracts …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
1 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 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