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 2,949 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Open Position Profit

  #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?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Better Renko Gaps
The Elite Circle
Futures True Range Report
The Elite Circle
 
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623


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 Twitter 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,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623

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 Twitter Reply With Quote




Last Updated on January 21, 2020


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