Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 10:16:59 +0000



[Programming Help] - Optimize or speed up code.

View Count: 1063

[2018-09-25 23:50:31]
User701453 - Posts: 176
Currently coding an ASCIL auto trader which is currently running at 479ms.
There is really no hard number/data crunching.
I make use of a lot of "If" statements, persistent variables and chart arrays.

I don't make use of any "For" or "While" looping.

I was wondering if the code could be faster I place data I use(other then chart price data ie high, low and close) in variables or arrays instead of having them inline the "If"(ie If Sc.??) decision statements when I need the data.

I'm using a 6 tick flex renko chart and auto trader needs to run as fast as possible.
Date Time Of Last Edit: 2018-09-25 23:50:57
image479ms.PNG / V - Attached On 2018-09-25 23:49:47 UTC - Size: 1.16 KB - 247 views

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account