Best posts made by bk7
-
RE: Trading costs toolposted in Tutorials by Users
@roar
maybe the average spread of the last 5 10 or 15 bars would be nice as well? -
RE: Strategy Results, Good? Bad? Okay?posted in General Discussions
@jsauter86
nice approach! I have kind of a similar situation an ea that creates nice profits but just on a single type of market didn'T figure out by now how to quantify that fitting condition^^^
you can go for a vps. costs like 8-9 Euro a month and works fine for just testing. if you want to have some details on that just write me a pm because i am not sure if it is allowed to post such links here...
-
RE: sell stop and buy stop ?posted in Questions & Answers
if you want to do this you need to work with tick data or range bars, but be aware that you will run into huge slippage on live accounts if you are trading spikes...
-
RE: how can out every number ?posted in Questions & Answers
you need to use the block custom code and decide how you want to put in the length of the pair and generate enough variables for that ....
-
RE: how can out every number ?posted in Questions & Answers
as i said before you have to decide on how to determine the amount of numbers first. then i can show you a quick example...
-
RE: how can out every number ?posted in Questions & Answers
@moon
no i asked about how to determine the length of the numbers. your example has a lenght of 6 symbols, but that can be different from symbol to symbol.
that would be the first step... -
RE: How do I loop my EA?posted in Questions & Answers
if you dont know (understand properly) the math behind grids better stay away from it...
many made grids, by now i just saw 2 grids that actually work (sure there are more that work, but you most likely will never see the logic/calculation behind it)
its way easier to understand supply demand and some other strategies...
-
RE: ZIG ZAG problem please help im new to fxdreemaposted in Questions & Answers
ZigZag as an indicator lags 2-5 bars depending on the indicator you use.
if you have a good definition/ruleset of buying selling its no problem. I think miro did some tutorials with zig zags and also supply demand... -
RE: How to check if the last 30 candles are closed above moving average?posted in Questions & Answers
- i didnt check your logic in detail, i just saw that this hardly will work and made for you a solution that works
- up counter is the number of bars that close above the ma and dn counter vice versa (this way you just have to loop once for the upper and lower close)
- in your Problem you didnt mention anyhting about buy or sell, however making such things isnt tricky at all and the forum has plenty of posts regarding this issue. If there are any advanced tasks surrounding buy and sell, you can post your problem here and someone will give you a hint
-
RE: Create a pending every new trade at fixed distanceposted in Questions & Answers
pending test 2
you would have to loop for the last open order, grab the price add and/or subtract 1 point and place the pending orders based on this calculation.
-
RE: Create a pending every new trade at fixed distanceposted in Questions & Answers
@TipsyWisdom meant that brokers dont like to get that much orders within short period of time, so they slow your order execution by some seconds which gives you slippages on open and close (or lets say the brokers lp).
the solution should work, just check that the min distance of pending orders isnt bigger, otherwise you can open market orders if the price is matched...
-
RE: PARTIAL CLOSEposted in Questions & Answers
you DONT HAVE TO WRITE ALL IN CAPITAL LETTERS...
you can check the full code in your mq4/mq5 file and adjust the rulset to your needs, so there are no limits!
-
RE: 98% WIN rate - Looking for expert to partner with.posted in Questions & Answers
the question is what happens in the time you not win (2%) and if you have a win ratio of 98% but your average gain is 1 and the average loss is 100 you still have a big problem!
-
RE: Close pending order before midnight and Reopen it after Midnightposted in Questions & Answers
@didymario7
i just reread the whole task and i saw it is about pending orders so the solution is even a bit easier. I recommend that you move the order away by a certain number of pips before 23:30 and move it back at a certain time like 00:25 or whichever time you choose. I recommend using a timespan and run once (23:25-23:30) because if there are no ticks at a certain time it can't run. You can also make it run at a fixed time (23:30) if that is super important for you.here is a sample for buys:
-
RE: Help with MQL block and variables pleaseposted in Questions & Answers
@alphaomega
whats missing for me after a quick check is a logic that starts and ends where you have many loose blocks and loop many times first i would think what could i take from one, better use more variables and make calculation after the loop then looping that often and custom code double is just inside the block, so if you want to use the value of a variable you better make it as variable on variables tab not just within a single custom block.
Another thing i could recommend you, is null your variables before the loop, so sure they have no value, just after the loop...

