Block Condition (Lowest Point - Candle Period) not work
-
Hi please verify condition "SIGNAL UP"
Not work correctly and not BUY
https://fxdreema.com/shared/PCHsRLqZd
......
fxdreema-buy.JPG -
You use the lowest price between candles 0 and 199. Candle 0 is the current candle. Candles are built from the Bid price, so you actually see history of Bid prices. The lowest price in "Condition" is alco calclated from those Bid prices.
Mid is Ask-Bid/2, which means that as a value it's bigger than Bid.
So, what happens is that you can never have a moment when Mid is below the lowest Bid price when you work with Candle 0. Bid can fall deeper and deeper, but in the same time the lowest price is actually the same thing, it's that Bid price. And you even have Mid, which is above Bid.
The answer is to calculate lower price starting from older candle, but not Candle 0.
Everything works with Sells, because Mid is > Bid. Even if the current highest price is the current Bid price, Mid will be bigger with half spread.
-
Thanks for the explanation ..
I think I have found the solution in this way ..
......
fxdreema-solution.JPG