hello everyone,
Can someone tell me why this value came out from the screener, when the condition C0 is false In the blue circle ?
a=BollingerBandWidth[20](close)
b=highest[20](a)
c=lowest[20](a)
d=(a-b)/(b-c)
abcd = average[2](d) +1
condiotnABCD = abcd > 0.2
C0 = Highest[20](condiotnABCD[1]) = 0
CloseUpBB = Close > BollingerUp[20](close)
C1 = Highest[20](CloseUpBB[1]) = 0
OpenUpBB = Open > BollingerUp[20](close)
C2 = Highest[20](OpenUpBB[1]) = 0
CloseDownBB = Close < BollingerDown[20](close)
C3 = Highest[20](CloseDownBB[1]) = 0
OpenDownBB = Open < BollingerDown[20](close)
C4 = Highest[20](OpenDownBB[1]) = 0
C5 = Open = Close AND High = Low
Signal = 0
AllCondition = C0 AND C1 AND C2 AND C3 AND C4 AND NOT C5
IF AllCondition Then
Signal = 1
ELSE
Signal = 0
ENDIF
SCREENER[Signal]
I suspect that the condition was true at some point and has not been reset in the last 1024
Best Reguards,
ZeroCafeine
It’s a screener, while the circle in the pics is on an indicator… I can’t understand what you mean.
tks you for your answer Roberto,
I include the same indicator in my screener code, that is my way to work, every time I use the indicator I need in my screener for draw and crontrol for undertsnad what I’m doing
the indicator I’m using here it’s just the line 1 to 5 of my screener, and I draw the line “abcd” and add to level of 0.2 and 0.8
now the problem is I want to my screener give me the result with condition of the value of “abcd” in line 5 < 0.2, but you can see in the blue circle the condition of (abcd < 0.2) is False but the screener give me this share
I hope I'm clear
I had no problem detection while using the screener and check with the indicator. Do you have live data feeds? (not a free “end of day” account).
that is the problem, so sorry again, I haven’t the real time that is why,
so the question is, what is the market with free real time cotation for testing my screener ? only Currencies is free in real time ?