My breakout strategy doesn't work
-
I wanted to know if you could help me make my strategy work since I don't know why it doesn't work correctly. Thanks in advance.
I explain my strategy:
-
In a 15-minute chart, the maximum price and the minimum price will be sought from the opening of the London session to the closing of the New York session.
-
When closing the 15-minute candle at the end of New York time, a Buy Stop will be created at two pips to avoid the spread in the maximum price of the explained range and a Sell Stop at the minimum.
-
With SL at 25 pips and TP at 75 pips.
-
When one of the Stops is opened, the other will be eliminated.
-
If at the close of the next New York session none of the previous stops have been opened, they will be eliminated.

-
-
Before I try to work out what is/isn't working, you can tee off no pending (if you only want 1 trade at a time), you cannot tee off once per bar, you will need 2 running in the line up to buy/sell. By splitting you are confusing the logic
-
Thanks for answering. I have already made changes, however now it only opens Buys and does not take into account the highs and lows of the marked range, I think it is because on my server the opening time in London is at 11:00 and the NY closing time is at 01:00, and since it's two different days, it doesn't work well, but I don't know how to solve it.
-
Add your latest shared link
-
-
That's is the builder page, not your project
-
@jstap Oh sorry! https://fxdreema.com/shared/IQ0Dj1lV
-
You are right crossing days can cause time problems, You would have to use a candle ID range if you set it to start at 01:00 then go back the amount of candles, this would change depending on your TF
-
@jstap I understand that instead of time period, put candle period in all places, but how would I mark the candles so that it is the period that interests me, the TF is 15 minutes?
-
There is no day shift in the time filter block, but you can use other blocks to achieve this range:
https://fxdreema.com/shared/PxIKqrqYc -
@jstap I'm sorry, but I don't know how I have to do it, if you can guide me a little more I would appreciate it...
-
It is in the link of my last post
-
@jstap I have seen it but it is not clear to me how to apply it to my strategy
-
Run it and you will see between the lines it will either say within, or outside, for what you are doing put the conditions for within in the place of the time filter block, and EA should only work within those hours
-
@jstap And how do I make it buy and sell at the maximum and minimum of this range?
-
Try using the date with the block:

-
@jstap But if I put the date, won't it only be done on that date and not in future days?
-
You can do this: https://fxdreema.com/shared/L9WnTOdEb