ACSIL: Execute only On Removal of a Study - futures io
futures io futures trading



ACSIL: Execute only On Removal of a Study


Discussion in Sierra Chart

Updated by yonatan
    1. trending_up 781 views
    2. thumb_up 1 thanks given
    3. group 1 followers
    1. forum 3 replies
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Thread Tools Search this Thread
 

ACSIL: Execute only On Removal of a Study

  #1 (permalink)
Haifa Israel
 
Experience: Beginner
Platform: sierra chart
Broker: Optimus Trading Group/Rithmic
Trading: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 70 received

ACSIL: Execute only On Removal of a Study

I wish to add to an ACSIL study a few lines that will be executed only when the study is being removed from the chart. Any idea about how to do this ?

Reply With Quote

Can you help answer these questions
from other members on futures io?
Convert NinjaTrader NT7 indicator to Tradestation EasyLanguage and RADARSCREEN
Platforms and Indicators
Issue meeting order entry conditions
Elite Automated NinjaTrader Trading
Last 5 minutes Label
ThinkOrSwim
Moving average with Lag reduction
NinjaTrader
Linux?
ThinkOrSwim
 
 
  #3 (permalink)
glostrup, denmark
 
Experience: Advanced
Platform: Custom platform
Broker: CQG
Trading: Futures, Options, Stocks
 
ktrader's Avatar
 
Posts: 249 since Aug 2011
Thanks: 152 given, 275 received



yonatan View Post
I wish to add to an ACSIL study a few lines that will be executed only when the study is being removed from the chart. Any idea about how to do this ?

you can check the boolean value of sc.LastCallToFunction which is set when the study is called the last time before being removed.

By the way sierra have pretty good api docs:
Sierra Chart - Definitions of Advanced Custom Study/System Interface Members

--ktrader

Reply With Quote
The following user says Thank You to ktrader for this post:
 
  #4 (permalink)
Haifa Israel
 
Experience: Beginner
Platform: sierra chart
Broker: Optimus Trading Group/Rithmic
Trading: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 70 received

Thanks Ktrader, looks like this is exactly why I need.

Yes, I always try to find solutions in the SC documentation before I post here but sometimes I just don't fins it (probably because I don't lnow what to look for).

This SC programming section of futures.io (formerly BMT) is invaluable for me and I am grateful for all the help that I get here.

Reply With Quote



futures io Trading Community Platforms and Indicators Sierra Chart > ACSIL: Execute only On Removal of a Study




Upcoming Webinars and Events
 

Free BloodHound Licenses to everyone!

June
 

Every journal equals ten meals for the hungry

June
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts