![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
interesting method!!but i am not very good on Math
,need sometime to fully understand it
i will try when i will go back home
my coding skills are only limited to rudimentary visual basic language
mql is still very much alien to me
that's why i was begging timbobo to come back
cijas, can you mod the script?I will try tonight with a TP (on the martingale side which close all orders)
I tooked the example of hbud and add the notion of margin required and total lots A (not martingale side) or b (martingale side).
If you have question, ask.
This is the thing in excel
hbud, in analysing your 20 tests you ran the last 2 weeks
did you notice that bm5 primary weakness is execution at
downtrend rally
the script is moduled in such a way that the buy side gets executed first
the sell side will NOT start until the buy side is accepted.
i've had 20 or so tests on diff. pairs / diff. brokers and had 5 or 6 that
stalled and breakdown
and everyone of them stalled at the buys' losses
and these were in downtrend rally
i think timbobo script is NEAT - but just TOO NEAT!
there are only 3 or 4 of us here you, me, cijas and rifo
can you all confirm my observation and share some thoughts.
thank you all.
Yes my plan is a bit different.
version 1: open 0.1/0.1 as usual, the side that loses doubles as usual
the 0.1 on the win side stays open untill the martgle side tp
or crashes.This is closest to what we have now, but without
open/close at every level.
version 2: open 0.1/0.1 as usual , the side that loses doubles as usual
on the win side we open at each level a new 0.1, but ALL remain
open untill the martgle side tp or crashes.
here is the updated table
I will try tonight with a TP (on the martingale side which close all orders)
thanks cijas, we're looking forward to test.
Azman, the 20 tests were not all bm5. I'm checking a few other EAs simultaneous.
To be honest, I didn't knew that. Would be ok if the 0.1 side didn't start until the martgle side is accepted, but this way it seem to be a slight flaw.
I will take a closer look to the buys and what they did in down moves.
the script gets the first tick and execute the buy
if not accepted it gets the next tick
when accepted it then execute the buy pendings
if not accepted level gets skipped (thus pending gaps)
then only it gets next tick to execute the sell
and then pending sells
in downtrend moves (not necessarily fast ones) the sell
often misses most ticks as prices not accepted so next tick
and next tick . . .
so by then price may have gapped considerably
i notice buys do not suffer such problem on uptrend moves.
you are correct, and since i am true to my word I will code this EA.
Regards,
MikhailHey mate, have you coded it?
Would love to test it on the current day situation with Y
Now I understand (I hope) what you mean. I have detected 2 gaps too,while checking quickly my usd-cad chart and account history.Both on the short side. If the script serves the buy orders first,than this is ok in uptrends.
In downtrends the opposite would be better. Is it possible to reverse the logic in downtrends?? And if so, how to determine the beginning of a move?
Is it something like this what you was thinking about in cijas thread?
hbud
that's right, hbud
rifo's idea of simultaneous open for buy/sell is not practical on our
mt platform and our brokers
even if the script executes in nanosec
mt platform cannot respond as fast
brokers cannot respond as fast
so script waits for next tick
we are only forward testing on demo server
in live trade most brokers have dealers (not computer server) to
process your trade - imagine the delays
i was very interested to know how cijas observed the EA work in live trade
i still think bm5 will lag behind its targets due to execution errors
in cijas thread, i recall bluto post a reply about simultaneous buy/sell order
cijas, do you think you can also look into this? or hbud's idea of reverse logic in downtrend?