NexusFi: Find Your Edge


Home Menu

 





ACSIL Changing indicator parameters according to selected chart timeframe


Discussion in Sierra Chart

Updated
    1. trending_up 1,925 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

Can you help answer these questions
from other members on NexusFi?
Zytrade: Devin Brady, CEO - Ask Me Anything (AMA)
Brokers
White House Drops First Alien Files Today -- Market Says …
Prediction Markets & Event Contracts
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #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