NexusFi: Find Your Edge


Home Menu

 





ACSIL: Execute only On Removal of a Study


Discussion in Sierra Chart

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




 
Search this Thread

ACSIL: Execute only On Removal of a Study

  #1 (permalink)
 yonatan 
Haifa Israel
 
Experience: Beginner
Platform: sierra chart
Broker: Optimus Trading Group/Rithmic
Trading: es
Posts: 91 since Apr 2012
Thanks Given: 50
Thanks Received: 71

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 ?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Request for MACD with option to use different MAs for fa …
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
Battlestations: Show us your trading desks!
43 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #3 (permalink)
 
ktrader's Avatar
 ktrader 
glostrup, denmark
 
Experience: Advanced
Platform: Custom platform
Broker: CQG
Trading: Futures, Options, Stocks
Posts: 249 since Aug 2011
Thanks Given: 152
Thanks Received: 275



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)
 yonatan 
Haifa Israel
 
Experience: Beginner
Platform: sierra chart
Broker: Optimus Trading Group/Rithmic
Trading: es
Posts: 91 since Apr 2012
Thanks Given: 50
Thanks Received: 71

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.

Started this thread Reply With Quote





Last Updated on November 5, 2012


© 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