Support Board
Date/Time: Wed, 22 Jan 2025 15:55:29 +0000
[Programming Help] - Optimize or speed up code.
View Count: 1165
[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
|
To post a message in this thread, you need to log in with your Sierra Chart account: