Sending e-mail using ACSIL - futures io
futures io futures trading

Sending e-mail using ACSIL

Discussion in Sierra Chart

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

Welcome to futures io: the largest futures trading community on the planet, with well over 125,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)

Search this Thread

Sending e-mail using ACSIL

(login for full post details)
  #1 (permalink)
Ostrava, Czech Republic
Posts: 98 since May 2013
Thanks: 18 given, 38 received

Hello, how do you (if you do) control e-mail alerts in ACSIL? I need to send an e-mail on execution etc ...


Reply With Quote

Can you help answer these questions
from other members on futures io?
Work with historical tcks data on MUltichart NET PowerLa …
COTbase for quant trading?
Elite Algorithmic NinjaTrader Trading
If ES tracks SPX, why do support/resistance, Level 2, vo …
Emini and Emicro Index
Where can I find Cost to Trade and Book Depth info?
Emini and Emicro Index
Trading Reviews and Vendors
Best Threads (Most Thanked)
in the last 7 days on futures io
Selling Options on Futures?
109 thanks
Battlestations: Show us your trading desks!
108 thanks
Rank your Futures vs Stocks trading priority
55 thanks
Want your NinjaTrader indicator created, free?
27 thanks
Whats this confusion with margins?
23 thanks
(login for full post details)
  #3 (permalink)
Boulder, Colorado
Experience: Advanced
Platform: Sierra
Broker: IB/various
Trading: es
Posts: 6 since Nov 2013
Thanks: 6 given, 8 received

Global Configuration/General Settings Check send email when alert is triggered and fill in the email.

Use sc.SetAlert() in ASCIL code to trigger the alert.

Reply With Quote
(login for full post details)
  #4 (permalink)
Ostrava, Czech Republic
Posts: 98 since May 2013
Thanks: 18 given, 38 received

I tried to send execution price via email alert but I get zero values in email for both variables (sc.GraphName and quantity) and dunno why. Can you have a look at the code? Thx

// Set default position size
			int quantity = 1;

			// Create new market order object
			s_SCNewOrder NewOrderLong;
			NewOrderLong.OrderType = SCT_MARKET;
			NewOrderLong.OrderQuantity = quantity;

			// Send order and get result
			OrderResult = sc.BuyEntry(NewOrderLong);
			if (OrderResult > 0) {
				// Get actual position data
				s_SCPositionData InternalPositionDataOnEntry;
				sc.GetTradePosition(InternalPositionDataOnEntry) ;
				// Send alert by e-mail
				SCString alertMessage;
				sc.FormatString(alertMessage, "%s -> %d(at)%f", sc.GraphName, quantity, InternalPositionDataOnEntry.AveragePrice);
				sc.SetAlert(1, alertMessage);

Reply With Quote

futures io Trading Community Platforms and Indicators Sierra Chart > Sending e-mail using ACSIL

Last Updated on February 4, 2014

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Battlestations! Show us your trading desk - $1,500 in prizes!


Importance of Finding Your Own Way w/Adam Grimes

Elite only

Journal Challenge w/Jigsaw


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