Forums › ProRealTime English forum › ProOrder support › Inconsistency (bug?) between ProBuilder and Proorder. Please advise. › Reply To: Inconsistency (bug?) between ProBuilder and Proorder. Please advise.
04/13/2020 at 9:29 AM
#125871
Does ProOrder DEFPARAM PRELOADBARS = 0 mean no prior data before Bar=1 get loaded? Is there a hidden bar=0? How otherwise does the data pull occur from the previous close?
Why do you think a data pull occurs from a previous bar?
If for example, a System is using Average[20](Close) then the System has to wait until bar 21 before the MA gets calculated (with DEFPARAM PRELOADBARS = 0 ).
If we do not specify DEFPARAM PRELOADBARS = 0 or xxxxxxx then the default is 2000 (max we can use is 10000).