@jstap
with a good optimization , a grid martingale MM system works amazing . with settings that are profitable yet nearly impossible to get margin call .if you backtest it on 10 years of market history and the drawdown is acceptable , you can be pretty much sure it would work fine for the rest of the years . if you are looking to get a decent amount of money with merely no drawdowns ... I'm curious how you do it ?
Posts made by yousef builder
-
RE: K2 Forex Bot ( Free Downlaod )posted in Tutorials by Users
-
RE: Robot Eaposted in Questions & Answers
@Mbimbim
https://fxdreema.com/shared/Y1z9O83J
here is an old project of mine . it uses grid in its basic form . its one way to do it you can check it out with visuals -
RE: Robot Eaposted in Questions & Answers
@Mbimbim they can last for 10 years or so if you want them to . it depends on your robot . your bot must have a good strategy though its not that important . the best money management for bots is grid I believe. but beware the OPTIMIZATION . sometimes a bot can make you hundreds of bucks with a strategy and get margin call in a week with the same bot but different settings and input
-
RE: Using Multiple Timeframesposted in Questions & Answers
if you select daily option in the dropdown menu . it shows you daily candles on the backtest . also all the blocks in which the time frame is set to current will follow the daily candles and execute operations based on that . for those block you mentioned though 15m and 1h histories are downloaded and will be used as an input for those . so whatever you choose in mt5 will be shown and used for those with current timeframe . those which have different timeframe set for em , will use that no matter what you set in mt5
-
RE: withdraw one third of the profit each month (backtest)posted in Questions & Answers
@jstap
well no . I actually want to backtest it in previous years month by month and write realized profits for each month . after calculating the average profit per month , I'd say withdraw 1/3 of that money each month regardless of profit or loss for that month .but what you said is kind of makes sense . I'll probably set a limit condition before the division operation so like it doesnt do the withdrawal for 10 bucks
-
RE: withdraw one third of the profit each month (backtest)posted in Questions & Answers
@jstap
OK . I don't have a sub right now . But I'll test it out and let you know
about the positive value , you're right . I added a condition that checks that
https://fxdreema.com/shared/rgewByRZd -
withdraw one third of the profit each month (backtest)posted in Questions & Answers
https://fxdreema.com/shared/ASh1W0fDb
is this way optimized and working fine ? . or any suggestions -
RE: Emergency close positions in loss . will it work ?posted in Questions & Answers
@jstap
yeah both would work . what you said though was less complicated
but my real question was with on init event . is this the way it works ? also I have another question .
you see some blocks need some other blocks before them in order to workfor example "modify variable" needs "for each position" before it obviously to modify based on position properties . but what other blocks need blocks before them ?
like I've seen for conditions there are if positions and no position . thats why I added a pass at first and then put my formula . would it work without the pass ? and what about others ? I haven't found much in the docs
-
Emergency close positions in loss . will it work ?posted in Questions & Answers

so as you can see i have a formula on 'on init' event that gets my account equity at the beginning and calculates 90% of it.

now for on tick event i have a condition where 90% of my equity is more than my current equity . so ihave a close positionsmy question is .. will this work ? cuase sometimes things appear normal but dont work the way we intend them to
-
از دوره کالج اسپارک کسی هست؟posted in Questions & Answers
اگر کسی هست به آیدی تلگرام من پیام بده. گروه داریم
اونجا صحبت میکنیم
Skylight_100 -
RE: Buy only Sell only MT5posted in Questions & Answers
wait . you dont even need the connections in between.
but idont understand one thing . although you set the values to numeric , I can still download it with no error . how ? i copied and pasted them to my prj and wrote constants and it didnt work . both of em are strings right ?
-
RE: Buy only Sell only MT5posted in Questions & Answers
@jstap
thats a good idea actually .
though it doesn't work
it gives me error when i want to export . i think in the condition part you must set it to text . then it works
the urge to connect buy to sell
-
RE: Automatic opened positions in "For each position" step - not availableposted in Questions & Answers
give your automated trades a group number . in their buy and sell blocks . then here in 'For each position' you can set the group number to identify only those
-
RE: Buy only Sell only MT5posted in Questions & Answers

for 3 it sells only
for 2 it buys only
you can have another checkflag connected to both conditions that activates for 4 .
thats for either of em -
RE: Buy only Sell only MT5posted in Questions & Answers
well i guess you can you can make it work with set flag true false .. like you define a bool constant and set it for 'set flag' then before ur strategy for buy you can use a check flag . now for example for "true" it buys only and for false it sells only
-
RE: close all trades at the end of each month and start again next day!posted in Questions & Answers
@jstap thanks buddy that should do it 🤍
-
close all trades at the end of each month and start again next day!posted in Questions & Answers
Wanna close trades at the end of each month and start again next day!
I tried many techniques using flags and time filters alongside variables .
it doesnt work when I backtest itcan you guys show me a way to do so ?
also how can I close trades at the end of each month and
shut downthe robot for 1 day or so ?here's the link : https://fxdreema.com/shared/qhaZs6Sdb
it def looks a little weird . it didn't at the beginning I swear
i have 2 block in On init tab . not sure if this is the way it works
also there is one constant I used to identify the start of my backtest month
