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 jessehhhh with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 jmoreno127 with 1 posts (0 thanks)
    1. trending_up 3,625 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?
$24.5 Billion Record Month: Prediction Markets Shatter A …
Prediction Markets & Event Contracts
CFTC Launches Innovation Task Force for AI Trading Syste …
Traders Hideout
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
Iran Ceasefire Surges to 19.5% on US 15-Point Plan -- 82 …
Prediction Markets & Event Contracts
March Jobs Report Update: 178K Beat vs 59K Expected, Wag …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Hello Im new here
5 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639


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,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

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