NexusFi: Find Your Edge


Home Menu

 





Open Position Profit


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one ABCTG with 2 posts (1 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 jmoreno127 with 1 posts (0 thanks)
    4. looks_4 jessehhhh with 1 posts (0 thanks)
    1. trending_up 3,840 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
jessehhhh
Montclair
 
Posts: 17 since Nov 2018
Thanks Given: 0
Thanks Received: 0

When I have a strategy that says if openpositionprofit>100 buy a second entry (in a pyramid entry strategy) will that apply to all charts or just the chart I have up?

For example I want my chart to buy another lot if the ticker I am looking at has a position up 100 not if another ticker on another chart is up 100. Will openpositionprofit refer only to 1 chart at a time or do I need to use a different code so it doesn't buy again if another trade on another chart is up 100.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trump Media to sell instant access to market-moving soci …
Traders Hideout
Datafeed for Atas
Platforms and Indicators
EA
Platforms and Indicators
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
My Rant with AMP Futures
Trading Reviews and Vendors
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Mes vs MNQ
6 thanks
NexusFi site changelog and issues/problem reporting
5 thanks
BERN ALGOS algo trading journal
3 thanks
Johnnys Journal
2 thanks
TopStep Trader disappointment
2 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643


jessehhhh,

it will only return the open position profit for the chart that the strategy is applied to.

You can test this by using the print reserved word within your code, so you can see what value the reserved word returns within your code.

Regards,

ABCTG


Follow me on X Reply With Quote
Thanked by:
  #4 (permalink)
jmoreno127
Bogota/Colombia
 
Posts: 2 since Apr 2017
Thanks Given: 0
Thanks Received: 0

Open Position Profit value is calculated by the Multicharts or just displayed the value from the Broker?


Reply With Quote
  #5 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

jmoreno127,

it's computed based on the entries from the chart (which in turn, depending on your settings, can match the entries at the broker) in case you are referring to the reserved word OpenPositionProfit.

Regards,

ABCTG


jmoreno127 View Post
Open Position Profit value is calculated by the Multicharts or just displayed the value from the Broker?


Follow me on X Reply With Quote




Last Updated on January 21, 2020


© 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