I have a lot of lines in my NT7-script-strategies because I do handle all orders with customized buttons.
Is it possible to have all the codes eg "private void btncloseall_Click(object s, EventArgs e)" if(.......................) in a section so that its only "used" by NT when clicking a button. I assume when ""private void..." is on same "level" as onbarupdate then NT has to read it all the time(?) Maybe this is a wrong assumption, and I´m happy if this is not a problem for the CPU.
Can all the "private void..." code concerning the buttons be in a proper section (eg like onorderupdate or onexecution) so that its only used when clicking a button and does not slow down NT7? My NT is frozen very often and I assume this has to do with the many lines in the code.
Thank you!
Tony
Comment