Ichimoku Cloud Breakout
-
Greetings all!
Fairly new to building and was looking for some help
Trying to build an EA using the Ichimoku cloud and focusing on breakouts from the cloud and ignoring the other components.
Simply if the candle crosses and closes above the cloud a long trade is placed, and if it crosses and closes below the cloud a short is placed.
Here is what I have so far, any help in completing this would be much appreciated!
-
This is a good initial approach. In order to get what you want you should use two condition blocks instead of one. The first block should specify where candle 1's close should be (above the cloud) ans a second one telling where the open price should be (below it) for a buy. Then the EA will be more accurate.
-
@l-andorrà thanks my man I’ll try adding that now! Do you know of any possible way to make the trade close when a candle closes inside of the cloud? Not sure if it would be a crossed and closes or entering a zone
-
Technically it is possible, but the problem is defining what is 'inside' the cloud. You need to tell the bot to check for the first line of the cloud to be crossed while not having crossed the opposite one AND both are supposed to be in the correct positions (ie, one on top of the other. You will need several condition blocks, one for each part of the scenario.
-
If ID1 closes <top cloud line and >bottom cloud line, then it has closed inside, you can do this with 2 condition blocks
-
How can you define a candle close outside a green komo or red komo?