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 1,069 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Automatically testing a range of variables for an automated ACSIL strategy

  #1 (permalink)
 
LittleFinger's Avatar
 LittleFinger 
Denver Colorado/USA
 
Experience: Intermediate
Platform: SierraChart
Broker: AMP
Trading: ES
Posts: 116 since May 2017
Thanks Given: 132
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?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Quant vue
Trading Reviews and Vendors
Better Renko Gaps
The Elite Circle
Cheap historycal L1 data for stocks
Stocks and ETFs
REcommedations for programming help
Sierra Chart
 
  #2 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: Stage5, FCM:Dorman, Data:Denali, Routing:Teton
Trading: YM ES NQ
Posts: 474 since Nov 2009
Thanks Given: 219
Thanks Received: 603

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: 132
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: Stage5, FCM:Dorman, Data:Denali, Routing:Teton
Trading: YM ES NQ
Posts: 474 since Nov 2009
Thanks Given: 219
Thanks Received: 603


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


© 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