How to have the blocks activate one at a time
-
Hey everyone, I'm having a little trouble figuring out how to set up what I want to do and would appreciate the help. What I would like to do is have a 30 SSL (the thicker line) be my baseline direction guide and to take trades off of it. The 10 SSL (the smaller line) must be in the same direction of the 30 SSL, give an opposite color, and then take an entry when the indicator flips back to the original trend direction. I've attached a picture of what I am looking for. As you can see the thick SSL is blue, the smaller SSL was blue, flipped to the opposite signal, and then an entry happened when it changed back to blue. Do I need to set my blocks up differently in order to achieve this?

-
The problem is that changing colour action. Did you check if that change is repainted by the indicator? Because if it is then the bot is doomed.
-
It is not repainting at all. It also has clearly defined buffers that work perfectly fine in Fxdreema. I just want to know how to set up the blocks so that my strategy can be automated, or if I have to use a different function that just linking the blocks together
-
Ok. Can you please share the link to your current project?
-
shared/aDvAsDc6e
-
ssl-channel-chart-alert-indicator.mq4
Here is the indicator that I am using -
https://fxdreema.com/shared/aDvAsDc6e
Shared the link wrong -
In your image I see two lines, one thick and the other one thin. Apparently one is the 30 period and the other the 10 period. However, your indicator is using two lines. That means we should see 4 lines and not 2 in your image. I don't understand what you exactly need.
-
I want the 30 SSL to act as the main trend. The 10 SSL must be in the same direction as the 30 SSL, reverse direction, and then enter a trade when the SSL 10 flips back to the original trend direction. For an example, the 30 SSL is blue, the 10 SSL turns blue, then flips pink, and then enters a trade when it flips back to blue. I can make normal strategies with Fxdreema but I don't know how to set up a sequence of events that must take place before the next step is undertook
-
I understand that but my question is still unanswered. Why aren't we seeing 4 lines instead of two as per your image?
-
That's just something I put together in hopes that it would be correct, it clearly is not as it is shows 4 lines when put through the strategy tester and is clearly not what I would like to do and would like some help with the program. The 2 lines image is what I would like to put into FxDreema and coded.
-
In that case we need the correct indicator configuration. Otherwise the bot will not be able to distinguish that specific scenario. I can help with the fxDreema logic if the indicator is working as expected. However, if you need some code changes in the indicator to make it look as per your image, I'm afraid I cannot help. Are you sure there is no way to make the indicator look as per your image?
-
Are you referring to the candle color and the visual of the moving average? The indicator that I am using in my current project that I shared is a different indicator that lacks the colors but is easier to set up in the "My Indicators" section, but I wanted to use the colors to better illustrate for you what I am looking for. It is still the same indicator signal wise and I am able to take trades with the 2 buffers, it is working as expected
-
To elaborate, I don't have the MQL4 source file for the indicator in my picture and I find it hard to import them into my indicators with just the ex4 file, however the indicator is the exact same I just have the source file for it, making it easy for me to put into FxDreema