Login Page - Create Account

Support Board


Date/Time: Thu, 20 Nov 2025 02:00:44 +0000



Post From: ASCIL Custom Study Calculation Order and Precedence

[2025-11-19 20:43:11]
Gradient - Posts: 180
Hi,

I have a study, "Study A", that works fine. I wanted to make my system more modular so I copied some functionality from Study A and pasted it into a new study, "Study B".

No changes to logic have been made.

Both Study A and Study B have a Standard Calculation Precedence.

Study B has a higher calculation order than Study A. Again Study A continues to work per usual.

However, Study B is not producing the same outputs of Study A despite having the same calculation precedence and a significantly higher calculation order.

I'm monitoring both studies live and I notice that the values of Study A update with each new event in the market as usual. However, Study B values, of which should be identical to that of Study A because the code is identical, is not updating with each event. The outputs are static almost as if it's updating only at the close of the current bar.

Both Study A and B have UpdateAlways=1 and are using AutoLooping.

Can someone advise as to why this may be happening? Thanks