Job finished
Specification
This is a very simple EA based on two different strategies it does not use any indicator just Renko. You can make them 2 different strategies or or 2 different EA's
The First strategy or EA will open a buy position when the last closed brick was a bullish brick and will open a sell position when the last closed brick was a bearish brick. This means it will open a position on every brick that opens. As soon as a new brick is formed the EA would have read what the color of the last brick was either bullish or bearish and open a position and set a SL and TP in milliseconds because there can be a fast jump in prices and the Wick might have passed my TP. If for some reasons my TP was not hit because maybe the broker increased the spread, the EA will remain on the trade until the brick closes when the brick closes as a bearish brick and I was already in sell position, it stays on the trade until the TP is hit or until the second brick closes. Same goes for buys. If the take profit is not hit on the current brick and I was in a buy position, it stays on the trade until the brick closes, if it closes as a bullish brick, it stays on the trade until the TP is hit or until the current brick closes. IF the stop loss is hit on the previous trade, that brick is done. Note that in this scenario there can be 2 position opened at one time, a position for the current brick and a position from the previous closed brick. Also note that once a TP is hit on a brick, that brick is done and the EA waits for the opening of the next brick.
The Second strategy or EA opens a buy position after the close of 2 consecutive bullish bricks. The trade will be on just that one brick with a TP and SL sets as soon as the brick opens. It will open a sell position after the close of 2 consecutive closed bearish bricks. As usual very important that a SL and TP is set as soon and the new brick is formed. The EA will start counting the bricks from the last brick that closed that will be the number 1 brick, the next brick that closedwill be the number 2 brick and the next brick will be the entry brick assuming bricks 1 and 2 were the same color. Hope this is simple enough
INPUTS.. Default should be user selected before adding EA to chart
brick size 20
TP15
SL50
The first picture is the first strategy... The captain and the second pic is the second strategy or EA. As u can see from the second pic, it busy and 2 cosecutive bricks, it does not buy or sell on every brick that opens like the first strategy