WORKING GREAT BUT ONE LITTLE GLITCH
-
So to BUY my CCI X> -40 and then to close when it is => 185.
So testing was running along great until it his a condition when the cross of -40 and hitting 185 were on the same candle, resulting in multiple open/closes and draining of the account.
This is more of a strategy question than technical...and this is for FXDreema or any other traders out there.
Any ideas on what block or added condition I could use to avoid this.
Like something that says, if a trade was just opened on this candle, close on next candle.
Everything is running great except for this little glitch.
-
"Condition" does not give single signals!!! It only compares two values and depending on that comparison one of the outputs is active. And if this block runs on every tick, then that output will be active once on every tick while the comparison between both values is true.
There is a whole category of blocks designed to work with indicators. They are in the category called "Indicators". Look at them. Or put "Once per bar" after (or before, it depends) "Condition".