Bollinger bands
-
@shovel52 said in Bollinger bands:
Why is it usually "condition true" ?
Check my example - the condition is true, because 15 is more than 1.1070.
There is no glitch, the program just does what you tell it to do
-
Lol
...
For upper BB:
Condition block Market properties - Ask, Buy, Mid (depends) - tickID 2 is above(>) BB upper.
Condition block Market properties - same choice - tick ID 1 is below (<) BB upper.
So on tick2 price was above, on tick1 was below. (0 is now)
For lower BB put tick2 below, and tick1 above.
This is technique for candle 0 and we don't know how this will end... full body cross, etc. -
@shovel52 No it's not a fxdreema glitch, it's a common mistake that users of fxdreema do. If you compare apples with apples everything works fine. If you compare apples with something else, the results are not as expected. In your condition block you need to compare price with price and not price with pips as @roar already stated above.
Another common mistake is to work on candle ID 0. How can you determine the wick size, if the candle is not closed as candle ID is the current candle?However, the wick size doesn't help you here. Let's take a look at what means a touch of the lower band for instance:
- open price was above the lower band.
- candle low was <= lower band
- candle close (or if you want to stay with candle ID0 current price) is above upper band.
Right?
For the touch condition the wick size is irrelevant as long as your strategy doesn't define a minimum wick size. -
It's not a glitch. It's the exact arithmetical truth of both operands opn your block. You will never get sells because 15 will never be below or equal to 1.1070.