NexusFi: Find Your Edge


Home Menu

 





Finding Symbol from chart using ACSIL


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one ondafringe with 1 posts (1 thanks)
    2. looks_two bobwest with 1 posts (1 thanks)
    3. looks_3 Trembling Hand with 1 posts (0 thanks)
    4. looks_4 Anka Software with 1 posts (1 thanks)
    1. trending_up 2,815 views
    2. thumb_up 3 thanks given
    3. group 5 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Finding Symbol from chart using ACSIL

  #1 (permalink)
TheDuke
Houston Texas/USA
 
Posts: 11 since Feb 2018
Thanks Given: 2
Thanks Received: 1

When I try to access the current symbol using the following:

 
Code
SCString symbol = OrderDetails.Symbol;
I get m_1000889345739845 RTY-21CME in the contents. How do we convert this to a string?

Is there a cleaner solution?


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
23 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
ondafringe
Albuquerque, NM, USA
 
Posts: 124 since Jul 2012
Thanks Given: 87
Thanks Received: 117


TheDuke View Post
When I try to access the current symbol using the following:

 
Code
SCString symbol = OrderDetails.Symbol;
I get m_1000889345739845 RTY-21CME in the contents. How do we convert this to a string?

Is there a cleaner solution?



A good way to find answers to your ACSIL questions is to use Google and configure your search query something like this:

sierra chart acsil "whatever you are looking for"

So for the question you asked:

sierra chart acsil get symbol from chart

That should return a number of links to pertinent SC documentation, as well as posts by others on the SC Support Board who have asked a similar question and *may* have gotten a response from SC (assuming SC was in the mood to answer questions that day!) lol

Give it a shot. I think you will find your answer.

Reply With Quote
Thanked by:
  #3 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,168 since Jan 2013
Thanks Given: 57,452
Thanks Received: 26,278



ondafringe View Post
A good way to find answers to your ACSIL questions is to use Google and configure your search query something like this:

sierra chart acsil "whatever you are looking for"

So for the question you asked:

sierra chart acsil get symbol from chart

That should return a number of links to pertinent SC documentation, as well as posts by others on the SC Support Board who have asked a similar question and *may* have gotten a response from SC (assuming SC was in the mood to answer questions that day!) lol

Give it a shot. I think you will find your answer.

This is excellent advice for finding the answer to any Sierra Chart question, not just ACSIL ones. SC has extremely detailed Help pages and everything is covered, IF you can just find it. But their search facility is terrible and whatever ideas they have about organizing the Help topics are known only to them. I hit on using Google to find the SC Help page I needed, and it works very well. And as @ondafringe says, you can sometimes get a hit on your exact issue in the Support Board, which is a pleasant surprise when it happens. The Support Board can be very valuable, and is close to unsearchable without Google.

Just a general note for SC users who have tried to find things in their documentation and been frustrated. Which is probably all of us.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
Thanked by:
  #4 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
Posts: 246 since Jun 2011
Thanks Given: 28
Thanks Received: 360


TheDuke View Post
When I try to access the current symbol using the following:

 
Code
SCString symbol = OrderDetails.Symbol;
I get m_1000889345739845 RTY-21CME in the contents. How do we convert this to a string?

Is there a cleaner solution?


That would work if you have ensured that the s_SCTradeOrder OrderDetails is correctly populated but since you have provided no code as to what you are doing its impossible to tell why you are not getting the outcome you want.

Follow me on Twitter Reply With Quote
  #5 (permalink)
 Anka Software   is a Vendor
 
Posts: 19 since Jan 2013
Thanks Given: 0
Thanks Received: 9

symbol.GetChars() may work.

Reply With Quote
Thanked by:




Last Updated on November 16, 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