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,740 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?
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
Hormuz Normalization Collapses to 19.5% -- Iran Regime F …
Prediction Markets & Event Contracts
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
Prediction Markets & Event Contracts
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
$4.5M Floods Russia Nuclear Contract in 24 Hours -- Krem …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
15 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 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