NexusFi: Find Your Edge


Home Menu

 





Position sizing code ( Money deploy rule )


Discussion in MultiCharts

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




 
Search this Thread

Position sizing code ( Money deploy rule )

  #1 (permalink)
FDZL
Hong Kong
 
Posts: 6 since Feb 2019
Thanks Given: 1
Thanks Received: 1

Hi all,

New to code position sizing and frankly do know where to start with below idea. Would much appreciate if can get some assistance on this in MT / PT backrest environment .

Money deployment rule per trade is fixed : Portfolio Equity * 75% / Initial Margin of contract )

------------
Assume account start with $ 10,000 , Initial Margin for 1 CL Future is $5,000 ;

So strategy begins with only 1 contract ( $10000*0.7/ $5000 ) = 1.4 = 1 contract

and when the overall Portfolio surge up to $15,000 the strategy will open 2 contracts ( $15000 * 0.7 / $5000 = 2.25 ), so on so forth;
------------

Would anyone shed some light in kind?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
What broker to use for trading palladium futures
Commodities
Trade idea based off three indicators.
Traders Hideout
 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

FDZL,

welcome to Futures.io. You can accomplish this within the money management signal in the Portfolio Trader as it allows setting the size for each entry. To make the margin available you could for example send the value stored in QuoteManager using the entry signal or keep a list of margin values within the money management signal yourself.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
  #3 (permalink)
FDZL
Hong Kong
 
Posts: 6 since Feb 2019
Thanks Given: 1
Thanks Received: 1


ABCTG,

Would you kindly give an example or screenshot on this ?

Reply With Quote
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

FDZL,

check out the Portfolio Trader strategy examples and explanations, they should get you going: https://www.multicharts.com/trading-software/index.php/Portfolio_Trader_Strategy_Examples

Regards,

ABCTG

Follow me on Twitter Reply With Quote




Last Updated on May 7, 2019


© 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