NexusFi: Find Your Edge


Home Menu

 





Increase order size based on previous result


Discussion in EasyLanguage Programming

Updated
    1. trending_up 2,885 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

  #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?
What broker to use for trading palladium futures
Commodities
Better Renko Gaps
The Elite Circle
Option : Call and Put increase at same time ?
The Elite Circle
Quantum physics & Trading dynamics
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
  #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


© 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