NexusFi: Find Your Edge


Home Menu

 





Increase order size based on previous result


Discussion in EasyLanguage Programming

Updated
    1. trending_up 2,999 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?
NinjaTrader indicator for last bar percentages
NinjaTrader
Has anyone taken The Mentor Program from The Trading Gam …
Trading Reviews and Vendors
Need help Heiken Ashi system
NinjaTrader
Seeking Insights on Day Trading Options on Futures
Options
Creating global variables for Ninjatrader
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Vinny E-Mini & Algobox Review TRADE ROOM
8 thanks
Futures spread trading grains education sources?
6 thanks
Wheres the videos?
3 thanks
Just another trading journal: PA, Wyckoff & Trends
3 thanks
Blue wave trading review
2 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


© 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 - Sitemap - Downloads - Top
no new posts