NexusFi: Find Your Edge


Home Menu

 





Automatically testing a range of variables for an automated ACSIL strategy


Discussion in Sierra Chart

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




 
Search this Thread
  #1 (permalink)
 
LittleFinger's Avatar
 LittleFinger 
Denver Colorado/USA
 
Experience: Intermediate
Platform: SierraChart
Broker: AMP
Trading: ES
Posts: 116 since May 2017
Thanks Given: 135
Thanks Received: 145

Hello,

I am currently backtesting and optimizing some strategies in SC. I was wondering if anyone knows of a way to repeatedly run backtests that go through a range of values for variables in your strategy. So, instead of running a test, waiting for results, tweaking parameters, and re-running the test, I could just specify a range of parameters for a given variable in my code that will be tested on each backtest iteration. I've heard other programs have this functionality and was wondering if anyone had created something like this for SC or if there's something built in.

Thanks!

LF


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
CPI Eve: Fed Hike Odds Hold at 52% for the First Time, I …
Prediction Markets & Event Contracts
Trump Media to sell instant access to market-moving soci …
Traders Hideout
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: EdgeClear, FCM:Phillip, Data:Denali, Routing:Teton
Trading: YM RTY ES NQ
Posts: 480 since Nov 2009
Thanks Given: 222
Thanks Received: 608

There is no native backtesting optimization in Sierra Chart but it is offered by this 3rd party:
https://profsoftware.com/


Reply With Quote
Thanked by:
  #3 (permalink)
 swandro 
England
 
Experience: Advanced
Platform: SierraChart
Posts: 70 since Jul 2009
Thanks Given: 9
Thanks Received: 80


The good old-fashioned way would be to use a loop structure and feed a unique variable into each iteration.

Here is the ACSIL documentation example that does it:

for (int Index = sc.UpdateStartIndex; Index < sc.ArraySize; ++Index)
{
// fill in the first subgraph with the last values
sc.Subgraph[0][Index] = sc.BaseData[SC_LAST][Index];
}

Rob


Reply With Quote
Thanked by:
  #4 (permalink)
 
LittleFinger's Avatar
 LittleFinger 
Denver Colorado/USA
 
Experience: Intermediate
Platform: SierraChart
Broker: AMP
Trading: ES
Posts: 116 since May 2017
Thanks Given: 135
Thanks Received: 145


tomgilb View Post
There is no native backtesting optimization in Sierra Chart but it is offered by this 3rd party:
https://profsoftware.com/

Have you tried this? It looks like there is a free trial.

A little pricey, but this could save a lot of time if it's functional enough


Started this thread Reply With Quote
  #5 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: EdgeClear, FCM:Phillip, Data:Denali, Routing:Teton
Trading: YM RTY ES NQ
Posts: 480 since Nov 2009
Thanks Given: 222
Thanks Received: 608


LittleFinger View Post
Have you tried this? It looks like there is a free trial.

A little pricey, but this could save a lot of time if it's functional enough

No, I haven't tried it. Just passing it along.


Reply With Quote




Last Updated on April 9, 2019


© 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