mjj38
- ago
I believe there is a bug in "How many bars ago" option of this building block.

See the below example:




To Code :



I believe the intended logic is

CODE:
if (index - 1 >= 0 && indicator1[index - 1] < indicator2[index - 1])
0
434
Solved
1 Replies

Reply

Bookmark

Sort
Glitch8
 ( 11.94% )
- ago
#1
No, it's as designed. It's intended to allow you to do things like compare the Closing Price to the Closing Price 1 bar ago.

If you want to push the whole comparison back 1 bar, use the Qualifier N Bars Ago.
1
Best Answer

Reply

Bookmark

Sort