@robertk said in Shrink stop / minimum TP issue:
If i leave this box empty "0" will be used, if i put 50 the 50 will overwrite any TP's <50.
Isn't using 0 value the solution here? Or do you have negative TPs? Use a big negative number, like -10000?
@robertk said in Shrink stop / minimum TP issue:
If i leave this box empty "0" will be used, if i put 50 the 50 will overwrite any TP's <50.
Isn't using 0 value the solution here? Or do you have negative TPs? Use a big negative number, like -10000?
@paragorundu For managing bad trades, it's often useful to just use a trage age filter: your wins are usually fast trades, and loses take a longer time.
This naturally depends on your strategy, but should work well with that bb system you described
Hi! Here's an example project with the functions you need 
https://fxdreema.com/shared/k8meOTbce
And here's my arrogant opinion:
You should use less leverage, even 0.01 lot per 100 usd is enough leverage to make you richer than Warren Buffet after your career
Hi. All I can say is that the custom indicator has some bugs in its code, or perhaps the whole code is outdated.
I'm not an expert on custom indicators, in fact I never use indicators built by some random dude, because of problems like this 
@khalids222
I think the adjust here should be *lots

@josecortesllobat
Well, those numbers can be fixed by using smaller lot size. What concerns me, though, is the profit curve. As you said, majority of trades are loses and they are covered with rare big wins. There is a very high probability that the strategy tester is too optimistic with the trading costs - those small losses can actually be 2-10x bigger, making losses too big to be covered with those wins.
Later in the video the tester reaches ridiculous numbers, which somewhat confirms my doubts.
Youtube is not a very good place to find actual knowledge.

@ajr
https://fxdreema.com/forum/topic/6803/saving-lot-size-in-variable
This topic should get you started, read it through
@seb-0 They are smooth because so many trades. In reality, trading costs would be so big that it's not even reasonable to expect such smoothness. Boils down to the sharpe ratio: profit/volatility. A curve like this is more reasonable:

@hasnifx You are comparing gross number with net number
Why this happens: the strategy tester doesnt use accurate data. It will slightly overstate the probability of a TP hit. The effect is bigger when making more and quicker trades. There's nothing interesting here..
Going forward, I recommend building your strategy with "once per bar" block at the top, so the tester is more true to life.
Heres mine. Should fit well into MyFxbook and mql5 marketplace, lol

@thekidfromcagnes I dont trade fifo, but using the mt4 version should work (with some mods at least). You can copy the blocks from mt4 to mt5 in fxdreema, with two browser windows.
@cyang00 Its quite common bug in the tester - youre not George Soros yet lol 
One reason can be super quick trades with open price testing, is that it?
@slickkon This should do the trick...
https://fxdreema.com/shared/sW0GMLNKd
Note the extra blocks in OnTrade tab
Maybe the "slide order" function helps.. Here's an example
https://fxdreema.com/shared/eldrdmecb
Such precision trading will come with some problems:
@nande-designs Where does the 0.5 seconds come from?
I think you need a loop of some kind
@svenw8 Hmm, you might want to use a variable to address that. There are other solutions as well, but variables are the general solution to everything, lol.

You can copy the blocks from my example, but you have to set up the variable by yourself, according to the picture above.
https://fxdreema.com/shared/AK0KcrCrb

@khalids222 said in How I can open the same number of long positions in the sale, and vice versa in the BUY with a ONE increase:
@roar As you can see, it works well without bass, in testing and the market is closed
No, a block will not execute without a connection.
Luckily, in this particular case the OnInit tab doesn't actually do anything, because the variable gets value 0.01 when its first declared.

@svenw8
Create a parallel copy of your confirmation block, and set the candle ID to 2 (when the first confirmation uses ID 1)
https://fxdreema.com/shared/XcD5FgRdc
