NexusFi: Find Your Edge


Home Menu

 





Position sizing codes


Discussion in EasyLanguage Programming

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




 
Search this Thread

Position sizing codes

(login for full post details)
  #1 (permalink)
 ptcm 
Taiwan
 
Experience: Intermediate
Platform: MC
Posts: 77 since Jun 2010
Thanks Given: 8
Thanks Received: 17

running on a 1 min chart, I am trying to achieve 3 things

1) position gets stop out at the entry point

2) 6 minute after the initial entry is taken, if the position profit > $100, buy 2 additional contract at the close,

3) mkt close at 1615, all positions are closed at 1613 (exitlong doesn't work anymore) what is the new reserved word for exitlong or close out whatever position left because sometimes the no. of contract is an unknown number?

For some reason, 2) is not working.

Please help.


if barssinceentry > 1 and positionprofit <= 0 then sell ("Stop") this bar at close;

if barssinceentry =6 and positionprofit >100 then buy ("add 2") 2 contract this bar at close;

if time > 1613 and marketposition = 1 then sell ("Mkt Closed") this bar at close;


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Searching for CurrentMonthOHL Indicator
NinjaTrader
Trader Dale [email protected] or Scammer Dale
Trading Reviews and Vendors
Wicked Renko Bars
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Tao te Trade: way of the WLD
37 thanks
GFIs1 1 DAX trade per day journal
27 thanks
Deaddogs Stock Trading
27 thanks
Supertradersams Thread Journal on NQ/MNQ
24 thanks
Leaving CFD trading and learning futures
11 thanks

(login for full post details)
  #3 (permalink)
 
BDawg's Avatar
 BDawg 
Seattle, WA
 
Experience: Advanced
Platform: Tradestation, C#
Broker: Tradestation,TD,Tradier
Trading: Options, ETFs, VIX, Indices
Posts: 15 since Oct 2010
Thanks Given: 64
Thanks Received: 11


(TradeStation? Not sure about MC???)

Did you enable the checkbox (and max entries field) that allows for multiple entries in the same direction?
This is found under Format/Strategies/Properties for all

HTH-

Reply With Quote





Last Updated on January 2, 2011


© 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