NexusFi: Find Your Edge


Home Menu

 





Increase order size based on previous result


Discussion in EasyLanguage Programming

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




 
Search this Thread

Increase order size based on previous result

(login for full post details)
  #1 (permalink)
 skiman721 
North Bay
 
Experience: Intermediate
Platform: NT, ToS, MulitCharts
Broker: NT, TD
Trading: ES, CL
Posts: 39 since Nov 2011
Thanks Given: 10
Thanks Received: 9

What I would like is to reference the past result and bases on the result determine my next trade size. Simple example - If the last closed trade was a loss, then double the trade size for the next entry.

Does anyone know a simple code for this? I can't find any functions to reference the last result and last trade size.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trader Dale [email protected] or Scammer Dale
Trading Reviews and Vendors
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Tao te Trade: way of the WLD
30 thanks
GFIs1 1 DAX trade per day journal
27 thanks
Supertradersams Thread Journal on NQ/MNQ
26 thanks
Deaddogs Stock Trading
25 thanks
Daytrading ES & NQ
12 thanks

(login for full post details)
  #3 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690



skiman721 View Post
(...)
I can't find any functions to reference the last result and last trade size.

See PosTradeProfit and PosTradeSize respectively.

Reply With Quote
The following user says Thank You to Jura for this post:
(login for full post details)
  #4 (permalink)
 skiman721 
North Bay
 
Experience: Intermediate
Platform: NT, ToS, MulitCharts
Broker: NT, TD
Trading: ES, CL
Posts: 39 since Nov 2011
Thanks Given: 10
Thanks Received: 9


Jura View Post
See PosTradeProfit and PosTradeSize respectively.

Thanks! Is there a document that lists all the functions and reserved words? All I have is an old tradestation doc.

Started this thread Reply With Quote
(login for full post details)
  #5 (permalink)
 skiman721 
North Bay
 
Experience: Intermediate
Platform: NT, ToS, MulitCharts
Broker: NT, TD
Trading: ES, CL
Posts: 39 since Nov 2011
Thanks Given: 10
Thanks Received: 9


skiman721 View Post
Thanks! Is there a document that lists all the functions and reserved words? All I have is an old tradestation doc.

Answered my own question. MultiCharts PowerLanguage Keyword Reference

Started this thread Reply With Quote





Last Updated on June 2, 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