i just started with some basic stuff and gradually improved it over time. especially my "main project" got really big (codewise) in the last weeks, which caused to keep loading slower and slower the more code i added.
now, while every common indiactor loads within seconds, this one needs around 4-5 minutes for a decent amount of data, wich is painful enough if you just wanna work with it. but if ur actually working ON it and need to check ur changes on the chart, this waiting time is a pain in the ***.
not to mention that i have technically a really strong pc.
i was wondering if there is any information out there
what code is actually very calculationheavy or how to optimize code so it requires the least amount of resources.
i dont know, its not really i problem that i can tackle by browing through the help center.
also, since my onbarupdate part is already 300 lines long, would it help to split this into diffrent indicators and access it with boolseries
ninjatrader wuld still have to do the same stuff on every bar tho, so i guess not?
any help is welcome.
Comment