
place this on init tab

place this on chart tab
do it like this

place this on init tab

place this on chart tab
do it like this
Here is updated solution, i dont know some metatrader can not work with bucket
@DragonZueloTrends nevermind i found it here and i share this , maybe someone have same problem like me,
@OntradingX it works, but how to calculate total lots if we have several open order?, i cant get it.
Initial Volume or Current Volume ? What to do with this? Any one have solution?
It works but for volume sometimes not working
try put RR only instead of RR*100
use buy sell block with martingale with mulitiplcation 4 for mt4. mt5 u should make it manually with variable and manual mutlipication
Hi Guys,
I want to backtest support and resistance similar to donchian with my own horizontal line, but i can not get it working crosses above or bid>= trendline or ask<=trendline for sell.
Here it is
Any help or suggestion will help, thanks
https://fxdreema.com/shared/XQfjGllF
after doing all step, and compile gave error to include files, maybe because i use mql4
you should use custom indicator for this, example use eabuilder.com and upload as custom indicator
Write * DrawDownPercent / 100
double DrawDownPercent = 102
let me play around alittle bit, because of error zero divide its dead end
@Alan-paredes2 how to save the bucket closed profit in variable, i have tried and its not working
@fxDreema can you remake the link? I can not see it