Buy/Sell/Short/Cover as arrays on the Watch window?

Buy/Sell/Short/Cover should be arrays and every bar has one value,
but I cannot see them on the Watch window, please help, thank you very much.

The variable type in AFL is dynamic (i.e. can change) if you assign a different value. For example:

Buy = Close > Open; // now Buy is an array
Buy = 0; // now Buy is a number (scalar)

For more information see:


This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.