The strength of BE system | Page 9 | Forex Factory

HeroPoker_HeroPoker扑克_HeroPoker德扑圈官网

Attachments: The strength of BE system

The strength of BE system

{quote} {image}
Reverse is better, just reduce the losing trade.
Attached Image (click to enlarge)
Click to Enlarge

Name: Dukascopy MetaTrader 4.png
Size: 66 KB
Please excuse the bad English via Google Translate.
the thread gone quiet. Ive been running the EA "MT4 strength of BE thread EA" version 1.. on demo and its been relatively good. i have modified the setting though have to running the optimizer against it
Hi Redsub

That is great to hear. Please keep us posted.

I finally was able to get the EA running on my desktop at start of yesterday.

I will be posting results ......good or bad.

@Realblank...this is a robust engine you have built us...thank you.

Chris
the thread gone quiet. Ive been running the EA "MT4 strength of BE thread EA" version 1.. on demo and its been relatively good. i have modified the setting though have to running the optimizer against it
that抯 true the thread was active and we all was really enjoying it and we can make it better please keep it up
I try many different channels with BE system, I check hundreds of indicators I have to make it more effective, the my only issue is when the market trending , about the bot it抯 great work honestly so good but I will try different setups?please let抯 share any details because it will help so much
Please tell me how you are dealing with this trend. Are you trading manually or using EA? At what times? What are your results?
This is an interesting system and EA.

Does anyone have the capability of converting the EA to MT5? I have attempted to do it myself, I usually use chatgpt, but unfortunately this codebase is too many lines for it to handle!

Looks there is a lot of lines of code in the EA that aren't used in the original ruleset, maybe someone has a stripped down MQ4 file for me to work with?
This is an interesting system and EA. Does anyone have the capability of converting the EA to MT5? I have attempted to do it myself, I usually use chatgpt, but unfortunately this codebase is too many lines for it to handle! Looks there is a lot of lines of code in the EA that aren't used in the original ruleset, maybe someone has a stripped down MQ4 file for me to work with?
Post 142
Whew! I have improved the EA it now has proper visuals and panel. As well as some new stuff, mainly/most importantly the filter/lockout cfudge/Chris explained in Post 138 (at least how I understood it), some daily loss and profit limits, trading hours, swing high/low SL placement, and some more. I have also provided an improved and updated input settings documentation. January now looks pretty good in the Strategy Tester if you play around but December 2025 (per se) still needs some work. If you haven't already noticed I use AI for my code and the...
Hi Realblank

Testing is still moving forward...
I have noticed a few anomalies and will post them below. There are trades that are not taken and do not seem to be because of any rules.

It almost seems that once a trade is opened on a dot with a candle fully outside the bands it stops any other similar trades. and waits for one to close inside the bands. It is acting the same as if a SL had been hit on a dot with a candle fully outside the bands.
Chris
Attached Image (click to enlarge)
Click to Enlarge

Name: missed trades.jpg
Size: 101 KB
{quote} Post 142
Ah excellent, I saw that one but wasn't sure if it contained the same core functionality. Thanks!
{quote} Hi Realblank Testing is still moving forward... I have noticed a few anomalies and will post them below. There are trades that are not taken and do not seem to be because of any rules. It almost seems that once a trade is opened on a dot with a candle fully outside the bands it stops any other similar trades. and waits for one to close inside the bands. It is acting the same as if a SL had been hit on a dot with a candle fully outside the bands. Chris {image}
Hi Chris,

Yeah, I think I know what's going on, this is my bad for not fully explaining that Dot Lockout feature further. I am aware that your initial vision of that feature (as seen in post 138) is different than the one implemented.

Essentially you specified that this "lockout" would happen after the "SL" of the outer-bands trade is hit, unfortunately I ended up implementing it a little different. Instead of activating this lockout after the SL is hit, the EA instead activates it immediately after that trade is taken (if TakeActivationTrade is true) or immediately after that dot/candle is seen outside the bands (if TakeActivationTrade is false, where that trade isn't even taken to begin with). This means that all proceeding trades outside the bands are not taken.

Now the reason I did it in this way was because of the chart below, where it would be beneficial to start the lockout immediately after that first trade (right away without waiting for that SL) as otherwise the two proceeding trades would have been taken and there would have been a total of 3 consecutive losses.

However, I now realize that this was a bad decision. I will implement a "3rd" lockout activation input that will make it so that lockouts are initiated after the SL is hit.

By the way should I make it so that the "SL hit" is exclusively for the First Trade or can it be any of the proceeding trades as well (I'm envisioning a situation where one of the proceeding trades might go higher/lower than the first trade and thus might get its SL hit before the first trade if price reverses)? Also, what should happen after that SL is hit (of course the lockout is activated (so no more same color dot trades are taken) but do we immediately close all current trades (if any) or leave them (i.e. let them close by SL or the other exits))? Should I simply make all these options inputs?

Please let me know what you think.

By the way if anyone is seeing that the EA is not trading (either in the tester or live) and you are getting "INVALID SL/TP", the most likely reason lies in the PIP Calculation and the fact different brokers have different decimal places. Please use the PipValueOverrides to set on which place value you define a "pip" as, for this specific thread we are using "150 pips as the SL" so the pip value would be "0.1," for whatever reason I am used to "15" pips (so my pip value would be "XAUUSD:1.0" for example).
// - XAUUSD:0.1 = Each pip = $0.10 (so 150 pips SL = $15 distance)
// - XAUUSD:1.0 = Each pip = $1.00 (so 15 pips SL = $15 distance) Same thing just changing your definition of "pip".
Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 19 KB
{quote} Hi Chris, Yeah, I think I know what's going on, this is my bad for not fully explaining that Dot Lockout feature further. I am aware that your initial vision of that feature (as seen in post 138) is different than the one implemented. Essentially you specified that this "lockout" would happen after the "SL" of the outer-bands trade is hit, unfortunately I ended up implementing it a little different. Instead of activating this lockout after the SL is hit, the EA instead activates it immediately after that trade is taken (if TakeActivationTrade...
Thanks for the explanation Realblank.

My personal approach would be to have the Lock Out happen on any instance of a SL hit on a candle outside the bands. This could be the first or third...whichever.

I also would leave any open trade to exit naturally.

I will defer to you on how to code it...

Thank You again.
Chris

PS: I have noticed the situation highlighted in your pic...I think that is just a part of the game. We are gonna get that once in a while.
Attached Image (click to enlarge)
Click to Enlarge

Name: IMG_0351.png
Size: 796 KB
Attached Image (click to enlarge)
Click to Enlarge

Name: IMG_0352.jpeg
Size: 235 KB
Attached Image (click to enlarge)
Click to Enlarge

Name: IMG_0353.png
Size: 675 KB
Attached Image (click to enlarge)
Click to Enlarge

Name: IMG_0350.png
Size: 806 KB
Attached Image (click to enlarge)
Click to Enlarge

Name: IMG_0349.png
Size: 788 KB
{quote} Thanks for the explanation Realblank. My personal approach would be to have the Lock Out happen on any instance of a SL hit on a candle outside the bands. This could be the first or third...whichever. I also would leave any open trade to exit naturally. I will defer to you on how to code it... Thank You again. Chris PS: I have noticed the situation highlighted in your pic...I think that is just a part of the game. We are gonna get that once in a while.
Hi Chris and realblank and thank you for the opportunity to be with you here I would like to share what I have for last days . I trade ustec (Nasdaq) please see the attached
Hi Chris and all,

Here is the updated EA with the addition of proper SL Lockout activation (post 138 and 172).
Inputs are pretty straightforward, choose your lockout activation mode.

If you choose "Activate when dot Appears..." and you have the bottom input ("Take The Activation Trade") FALSE then the EA initiates the lockout right when a proper out of bands dot trade is detected (and that trade isn't taken).
If TRUE then the trade IS taken and the lockout initiated right after.

If however, you choose the new mode "Activate After Stop Loss Hit" then the inputs with the "SL Mode" name will be used where "Only first trade SL triggers lockout" TRUE means only the first out of bands trade's SL hit will be used to activate.
If FALSE then ANY (first or proceeding) trades' SL can also activate.
IF you have "Close All Same Color Trades On Lockout" TRUE then all remaining trades (that happened after the first) will be closed.
If FALSE then they will be kept and will be closed as normal/naturally.

Enjoy!
Attached File(s)
File Type: ex4 MT4 STRENGTH OF BE THREAD EA V2.ex4   236 KB | 126 downloads
File Type: mq4 MT4 STRENGTH OF BE THREAD EA V2.mq4   386 KB | 196 downloads
Hi Chris and all, Here is the updated EA with the addition of proper SL Lockout activation (post 138 and 172). Inputs are pretty straightforward, choose your lockout activation mode. If you choose "Activate when dot Appears..." and you have the bottom input ("Take The Activation Trade") FALSE then the EA initiates the lockout right when a proper out of bands dot trade is detected (and that trade isn't taken). If TRUE then the trade IS taken and the lockout initiated right after. If however, you choose the new mode "Activate After Stop Loss Hit"...
Brilliant.....Cheers my friend...
So here we go...day 1 of the EA test with the new version.

I just want to thank Realblank again for this wonderful tool.

63 Total trades

38 winners + $6903.00

25 SL - ($3617.00)

total earned + $3286.00

This is a great and encouraging result. Even on a day with 2 good trends (which is the achilles heel of this system).

I will keep posting the results all week.

I am hoping some others will too...c'mon people...contribute.

Chris
Does someone knows why am I getting "ordersend error 130" ? I am leaving the default settings and trying on the strategy tester but it doesn磘 take any trades.
Attached Image (click to enlarge)
Click to Enlarge

Name: error.png
Size: 57 KB
So here we go...day 1 of the EA test with the new version. I just want to thank Realblank again for this wonderful tool. 63 Total trades 38 winners + $6903.00 25 SL - ($3617.00) total earned + $3286.00 This is a great and encouraging result. Even on a day with 2 good trends (which is the achilles heel of this system). I will keep posting the results all week. I am hoping some others will too...c'mon people...contribute. Chris
if possible could you please share the setting as well.
So here we go...day 1 of the EA test with the new version. I just want to thank Realblank again for this wonderful tool. 63 Total trades 38 winners + $6903.00 25 SL - ($3617.00) total earned + $3286.00 This is a great and encouraging result. Even on a day with 2 good trends (which is the achilles heel of this system). I will keep posting the results all week. I am hoping some others will too...c'mon people...contribute. Chris
hi Chris I keep running the ea from the first version but it end up with loss , would you mind if you share what you trade and the settings please so we can see the differences thank you for you and realblank
Does someone knows why am I getting "ordersend error 130" ? I am leaving the default settings and trying on the strategy tester but it doesn磘 take any trades. {image}
A search gives this text:

The expert advisors that work on one broker can stop working on another; the problem with them often lies in the OrderSend Error 130. If you see Error 130 in the log of the Experts or Journal tabs in your MetaTrader platform when your expert advisor should be opening a position, then that means that the stop-loss or take-profit levels are set too close to the current market price. In the MQL4 documentation, this error is called ERR_INVALID_STOPS (Invalid stops). Some Forex brokers set the minimum distance between the current price and the stop-loss/take-profit levels to prevent scalping or abusing the quote delays. That isn't a real problem for the majority of expert advisors that aren't used for scalping. To prevent this error from occurring, you need to change the expert advisor's code.
MetaTrader 4 - so many advantages.