Support Board
Date/Time: Wed, 22 Jan 2025 15:37:44 +0000
Post From: Optimize or speed up code.
[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
|