@Omar323232 this one is pretty random
https://fxdreema.com/shared/MfoxIhiac
Posts made by roar
-
RE: Random eaposted in Questions & Answers
-
RE: Martingale principlesposted in Questions & Answers
@Abade69 that makes sense in a world where history data from long ago indeed doesnt tell anything about the present. I think the jury is still out about that.
I could say, for example, that support and resistance levels have been a real thing in the past, and they also have significance in the present. If we lived in that world, it would be more attractive to find the S/R strategy inputs that work throughout the history.
Who knows, ultimately your bank account will tell if you were right. Do you have any live trading results on the WFA system?
-
RE: Martingale principlesposted in Questions & Answers
@Abade69 to play devils advocate: the statistical metrics for walk-forward system tells how good the EA is fitting different strategies (parameter combinations) to sections of history data, right? There is less evidence that the latest strategy will work today and tomorrow
-
RE: Martingale principlesposted in Questions & Answers
@Abade69 maybe I will try it sometime, its just difficult to abandon the idea of statistical proof...
-
RE: Martingale principlesposted in Questions & Answers
@Abade69 but if you use walk forward optimization, how can you get a reliable track record for the EA when the strategy keeps changing?
How can you know the expected average profit is positive? -
RE: Martingale principlesposted in Questions & Answers
@Abade69 @NZEFILI to add to the discussion, grid strategies work fine as long as the market is mean reversing. Is it though, thats debatable.
I would say most markets are mean revesing most of the time, but never all the time. And this is why grid strategies break, and this is why their effectiveness is often exaggerated.
Its much easier to make a good-looking EA than a good EA. This is why most EAs found in the internet fall to the former category.
-
RE: Protection EAsposted in General Discussions
@sktsec well its the general section, maybe its fine to ask such a thing.
But: EAs are run locally, the source code (the strategy) will never reach the broker. And even if the broker gets the source code, 99.99999% of EAs are pure garbage. No broker in the world can afford to hire 10,000 developers and financial analysts to go through the millions of EAs, finding the remotely good ones. It will never be good business for the broker.
-
RE: Is possible to use a mql5 indicator in an EA?posted in Questions & Answers
@gery https://www.mql5.com/en/docs/constants/indicatorconstants/prices
it must be exactly "ENUM_APPLIED_PRICE"
-
RE: How do I calculate it trendline time 2 value?posted in Questions & Answers
@Bandito7 I dont know what your whole project is about. From the picture I can see the 2 lines correctly extend until the next candle, and that was your original question. So problem solved.
-
RE: How do I calculate it trendline time 2 value?posted in Questions & Answers
Try setting A -> Yes, B -> No
-
RE: How do I calculate it trendline time 2 value?posted in Questions & Answers
Just dont update your object, now you are updating your objects continually
-
RE: How do I calculate it trendline time 2 value?posted in Questions & Answers
@Bandito7 try this: TimeCurrent() + PeriodSeconds()

-
RE: How much is TOO much?posted in Questions & Answers
I dont understand the specifics of your system, but technically its always possible to change the symbol in a loop.
Group numbers are meant to identify different trades on SAME symbol. If you dont have many trades on same symbol, there is no need to use groups. It just makes your life harder - miss the group setting in one block, and everything breaks. Just filter by the symbol, that option is available in every block. The filtering is done automatically with "set current market for next blocks", so it saves you from editing each block.
-
RE: Easy way to make ENUMposted in Tutorials by Users
@sktsec there is a function, clicking on the "folder" will hide a section of the inputs list. I haven't got it working on fxdreema, though
-
RE: Which is better to use>?posted in Questions & Answers
You need to re-calculate your variables for each market in the loop. In the case of martingale, take the latest trade with the selected currency, see its lot size, calculate next lot size.
-
RE: MT5 backtest Set current market blockposted in Questions & Answers
@vhager you are using ATR and some other indicators, they need some history data before 2020/01/01 in order to get the indicator value for 2020/01/01.
For single symbol backtests, Metatester is smart enough to compensate for the indicator history requirement, but the additional symbols might not load the data into tester (even though you have the data on your hard drive).Try running the loop in the "On Init" tab, getting the indicator values there, so the EA has a chance to preload the necessary history data. Maybe it works, maybe doesnt
