Net Profit Code - futures io
futures io

Net Profit Code

Discussion in EasyLanguage Programming

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

Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Search this Thread

Net Profit Code

(login for full post details)
  #1 (permalink)
Experience: Intermediate
Platform: Ninjatrader
Posts: 1 since Aug 2020
Thanks: 0 given, 0 received

Hi guys,

does anyone know how to write a code in esaylanguage like this:

"If trade-netprofit of the previous trade is higher than the trade-netprofit of the trade before the previous trade then buy two contracts next time at market"

"If trade-netprofit of the previous is lower than the trade-netprofit of the trade before the previous trade then buy one contract next time at market"



Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
help with take profit several targets
Big Mo Indicator for NT8
Market on Close data within IB
Platforms and Indicators
Multi Time Frame High/Low/Median levels
NT8 Order Management Strategy
The Elite Circle
(login for full post details)
  #2 (permalink)
 ABCTG   is a Vendor
Posts: 2,361 since Apr 2013
Thanks: 426 given, 1,578 received

Hi Luke,

take a look at the reserved word "PositionProfit". However, keep in mind that you might need another routine that gets you into the first two trades.



Follow me on Twitter Reply With Quote

futures io Trading Community Platforms and Indicators EasyLanguage Programming > Net Profit Code

Last Updated on July 1, 2021

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Copyright © 2023 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, 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.
no new posts