NexusFi: Find Your Edge


Home Menu

 





Increase order size based on previous result


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #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?
Iran Talks Final Stages -- Two VLCCs Exit Hormuz, Record …
Traders Hideout
CFTC Approves First US Bitcoin Perpetual Futures -- Kals …
Traders Hideout
Zytrade: Devin Brady, CEO - Ask Me Anything (AMA)
Brokers
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
20 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
5 thanks
  #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
Thanked by:
  #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
  #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


© 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