NexusFi: Find Your Edge


Home Menu

 





Money management code in Multicharts PowerLanguage


Discussion in MultiCharts

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




 
Search this Thread

Money management code in Multicharts PowerLanguage

  #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?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
About a successful futures trader who didnĀ“t know anyth …
Psychology and Money Management
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
 
  #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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts