Inside Bar
-
Good afternoon! Dear Administrators, help me to solve this scenario: I want to make a couple of blocks which will help to find "inside bar" https://yadi.sk/i/OnU-b-5Wkhw3b https://yadi.sk/i/aOZKczBykhw5H condition. And do something after, but I have a problem to make it...
I am attaching a link to the project:
https://fxdreema.com/shared/FtIouBsjdThanks in advance!
-
And what is the problem?
By the way in blocks 6 and 7 you are working with candles 0 and 1, while in all other blocks you work with 1 and 2.
-
Logically I understand, what I want to make: I want to find any kind of this setup (screenshot: https://yadi.sk/i/2v-0R-n6kjBD7). When (Open[1]>Open[2]&Close[1]<Close[2]&High[1]<High[2]&Low[1]>Low[2] for bull after bull, and bear after bull) and (Open[1]<Open[2]&Close[1]>Close[2]&High[1]<High[2]&Low[1]>Low[2] for bear after bear, and bull after bear).
But in real EA does this: (screenshot: https://yadi.sk/i/1pK4UBtskjE4d)What I'm doing wrong? Project: https://fxdreema.com/shared/DaBUO72Bd
Thanks!
-
P.S. I try to switch between 0,1 and 1,2 but still do not get what I want...
-
And what is wrong in the screenshot? From what I can see, all conditions are working fine
The newest candle is the opposite type and inside the previous candle.