Bollinger Bands Flag +Stochastic
-
Hi,
somebody know why the EA isn't opening trades correct?
The EA only triggered 1 signal i a while but missed lots of other opportunities.
Somebody got any tips please.Thank you.
Signals are for
Buy -> Lower BB+ Stochastic Crossing back 20 Level from below
Sell -> Upper BB+ Stochastic Crossing back 80 Level from aboveCurrently Using Bollinger Bands as first Trigger if price crosses/touches by Flag
and then EA should look for Stochastic Main Line to cross 10 Level from below for Buy confirmation and 90 level from above.https://fxdreema.com/shared/N21vAQ7N


-
You are using the same variable's value to identify a BB up and a BB down. You should use separate variables.
-
Hi,
do you mean like the crosses up/ down like in the screenshot?
or do you mean by condition block or flag blocks?
Or could you please shortly mark at the screenshot?

-
Just checked code again, could you please explain what you mean different variables.
Seems to me different tho. -
@felix2828 I mean this:

-
Hi,
thank you for your quick reply.
So you mean simply just to change name in the Flag blocks itself,
or do i need to add "variables" in the variables section on left side because you talking variables?

-
You can use flags, but I always prefer to use variables. So in my opinion, you should create 2 separate variables, one for up and another for down trend. Then you need to use 'modify variables' blocks instead of those you are using for flags now.
-
Hi, thank you.
Ok so i should rather remove both set and check flag blocks and put them as variables/ constants inputs.
What do you mean for up and down trend, i mean bollinger bands only defines if prices are relatively high or low to its average right?
You mean something like classic Up trend -HH HL ?
How would you define this in Modify block?
Is it correct, modify block would just check if true like flag before right?
as values as inputs? -
Correct. I mean exactly that. And no, I didn't mean uptrend or downtrend, sorry. I meant BBH and BBL.
-
thank you sir,
so i need to place modify varibales under the Bollinger Bands conditions block, 1 each for Buy and Sell?
ok got it, just asking, you did mean the purple "varibales" one, not the constansts variables, orange right?
What i dont understand is, what do you place in for value?
Looked up for a tutorial on Youtube, but still dont understand,
because Bollinger bands there only period and deviation as number based.
How does it understand from 2 for example as value that it is the deviation?or is the 0 just a " placeholder"?


-
Hi,
testet today with your recommended settings for varibales, unfortunately EA doesnt trigger every signal found correct.


-
Can you please share the link to the last version?
-
Yes sure

thank you for helping.https://fxdreema.com/shared/Nd2vBD4ne
currently testing different exit strategies on the right.
I've changed the inputs for varibales and the flag settings for modify like you said.


-
That should work.
-
Hi,
tested it solo for Bollinger bands trigger today with static take profit.
Unfortunately found that bot still misses lots of signals that would have been triggered.Using the <= for buy and >= for sell, to catch both signals either if touched or market crosses above/below.
Also did backtest to give vertical line when triggered, blue for buy and magenat for sell, but still missed signals.
https://fxdreema.com/shared/9KFU51kZ


-
Then the only reason I can say for that to happen is that the indicator repaints. You should definitely check it doesn't repaint before moving on.
-
-
@felix2828 What are the exact rules of entry and exits for the strategy you are trying to create? Looking through the thread it seems to vary. I may be able to help if you can lay it out more clearly. In one project there is Heiken Ashi and in another earlier in this thread there isn't. I don't know what you're trying to do.
-
Hi,
have come to the conclusion that bollinger bands would give to many falls signals when market is trending.
I really like the idea of bollinger bands and it looks good in hindsight.
Have removed this idea entirely.Because most oven the times only thing to enter on Heiken Ashi is to identify if there is range or impulse/ momentum.
Found this way simplerStill using Heiken Ashi but switched to simple ADX Crossing for Di and ADX Value.
-
Have you used Heiken Ashi system before?