Hi,
For some unknown reason, the following two lines of code cannot be interchanged in one of my strategies because they provide different running results:
CODE:
Please log in to see this code.
CODE:
Please log in to see this code.
I supposed that these statements should be equivalent, but it looks like they are not!
Thanks,
Nick
Size:
Color:
Hi Nick,
They are not interchangeable. If you take a look in the QuickRef (F11 key) and start typing in the first letters of "CrossOver", you'll quickly find out what it means. CrossOver is a built-in function that is well documented. It's a separate condition which is more than a price dipping below a moving average.
Size:
Color: