Scanner Problem TOS Question

S

Shmandull

New member
Hello,

I am building an indicator with TOS condition wizard and cannot seem to get my scanner to work. However, when I look back to see the "spikes" that generate, the indicator correctly marks.

Here is the code sequence...

***
close is less than close from -1 bars ago and close from -1 bars ago is less than close from -2 bars ago and close from -2 bars ago is less than close from -3 bars ago and close from -3 bars ago is less than close from -4 bars ago
***

When I change the (-) numbers to positive, it works, but i get more "fluff" and incorrect signals...ugh

Any help would be greatly appreciated!

Thank you in advance!
 
MerryDay

MerryDay

Member
VIP
Are these the results that you got? These look like they fit your conditions. Can you provide a screenshot?
 
S

Shmandull

New member
Yep. I just figured out that we my (-) numbers are looking to future bars not looking back. I dont know what i was thinking...

So everything is behind at least 3 bars before confirmation spike. No wonder it wa to good to be true ha.

Thank you for your response!
 
Thread starter Similar threads Forum Replies Date
Rose Investing Scanner is using older candles than what is intended Questions 0
M Weekly scanner for %change and RS rating Questions 0
S Within 1 bars in scanner Questions 3
D Hurst scanner with 200sma filter Questions 4
MBF Multiple conditions in one scanner Questions 2

Similar threads

Top