NexusFi: Find Your Edge


Home Menu

 





Can someone please explain the i_ series keywords to me


Discussion in MultiCharts

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




 
Search this Thread

Can someone please explain the i_ series keywords to me

  #1 (permalink)
 
Sinatra Fan's Avatar
 Sinatra Fan 
Orlando FL
 
Experience: Intermediate
Platform: MultiCharts, Ninja
Trading: Emini ES
Posts: 66 since May 2019
Thanks Given: 7
Thanks Received: 9

So, I've been seriously frustrated about the fact that there are keywords that can only be used by strategy code, but not by indicators. Like MarketPosition, CurrentContracts, AvgEntryPrice, etc. However, I was just reading in the EasyLanguage essentials and they made mention of keywords that may be used in similar manner in indicators. This is the first I heard of it. Then, I stumbled upon an example of code (EL std code: Strategy Equity). Within the code was a keyword "i_OpenEquity". When I looked it up, I found several other "i_" keywords. In fact, many of them would seem to be the indicator counterparts of their strategy keyword brethren. So here's my question...

The explanation for i_OpenEquity is "Returns the current equity" Does that mean it returns the equity for the strategy that is loaded and turned on within the chart? Or something else. Please clarify.

Thank you for the help in advance.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Could it be that currency futures are way easier to trade?
Currencies
NexusFi Journal Challenge - May 2024
Feedback and Announcements
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

Sinatra Fan,

in general the reserved words starting with "i_" can provide values from a strategy applied to the same chart.

Regards,

ABCTG


Sinatra Fan View Post
So, I've been seriously frustrated about the fact that there are keywords that can only be used by strategy code, but not by indicators. Like MarketPosition, CurrentContracts, AvgEntryPrice, etc. However, I was just reading in the EasyLanguage essentials and they made mention of keywords that may be used in similar manner in indicators. This is the first I heard of it. Then, I stumbled upon an example of code (EL std code: Strategy Equity). Within the code was a keyword "i_OpenEquity". When I looked it up, I found several other "i_" keywords. In fact, many of them would seem to be the indicator counterparts of their strategy keyword brethren. So here's my question...

The explanation for i_OpenEquity is "Returns the current equity" Does that mean it returns the equity for the strategy that is loaded and turned on within the chart? Or something else. Please clarify.

Thank you for the help in advance.


Follow me on Twitter Reply With Quote
Thanked by:




Last Updated on March 22, 2021


© 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