Sep
20

Length of Variable Names Does Not Matter

We’ve got quite a number of support questions every day. One of the questions is very interesting,

“Does the variable name affect its computation speed / performance in real-time?”

Here is the answer,

The variable names used in quote formula, indicator formula, and scripts are pre-processed and they do not affect computation speed in anyway for any computers that you can buy today. So do not worry about that and feel free to write your indicators with more descriptive variable names.

If you have read any articles I have written (being posted here or published in the magazines), you will find that I do not save the effort of writing the indicators with very short and encrypted names. I always use longer and more descriptive names for the variables within the example indicators. More descriptive names promote better readability and better maintenance of the indicators.

So, for your next indicator or trading system project, feel free to write your indicators with longer variable names!

Leave a Comment

Blog Developed
By ContentRobot