NexusFi: Find Your Edge


Home Menu

 





ACSIL Changing indicator parameters according to selected chart timeframe


Discussion in Sierra Chart

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




 
Search this Thread
  #1 (permalink)
 
AMGT's Avatar
 AMGT 
Curitiba, Brazil
 
Experience: Intermediate
Platform: ProfitChart Pro
Broker: CM Capital
Trading: DOL, WDO
Posts: 43 since Aug 2015
Thanks Given: 59
Thanks Received: 35

One of the setups I use, it has different moving average periods according to the timeframe. So, in the 1 minute charts, the periods are 21 and 42. In the 5 minute charts, 17 and 34. The 15 and 60 minute charts use yet another combination.

I know this can be managed via chart templates, save a template for 1min, another for 5min and yet another for 15 and 60min charts. And then load the appropriate template when changing the timeframe. However, I would like to know if it's possible to automate this via ACSIL (either auto-loading the proper template or directly changing the periods of the MA indicator).

For example, on MetaTrader, using MQL4 I was able to write a "custom moving average" indicator that whenever I change the time-frame of a chart, the moving average periods are changed automatically. Would it be possible to do the same thing using ACSIL?


Started this thread Reply With Quote

 
  #3 (permalink)
 crazybears 
Alesia E.U.
 
Experience: Intermediate
Platform: Sierra chart
Trading: Futures
Posts: 168 since Feb 2011
Thanks Given: 146
Thanks Received: 115


Hi

take a look here :

ACSIL Interface Members - Variables and Arrays - Sierra Chart

ACSIL Interface Members - Functions - Sierra Chart

P.S.

share the code sound interesting


Reply With Quote




Last Updated on September 9, 2015


© 2026 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 - Downloads - Top
no new posts