When programmers create an EA receiving signals from indicators, they should always decide on whether to use a reference to the indicator or relocate the indicator code to the EA? Reasons may vary. Programmers might want to keep applied indicators and the whole strategy in secret, distribute the EA as a single file, reduce the number of performed operations in case not all indicator signals/buffers are used, etc. Of course, I am not the first and, I believe, ...
Trend following strategies are very popular and easy-to-use, especially for beginners. However, current markets have become more dynamic, while trend movements are less distinct (in terms of both range and duration). By not using the possibility of trading in flat or sideways markets, we lose potential profits. Trend following trading rules are simple: identify the signs of a trend and try to capitalize on it. Trading in flat periods differs much from that. During sideways movement, the price is ...
Contents General theoryProbabilistic EA modelApplying the theory Profit robustness against random scatterProfit robustness against drawdownProfit distribution robustness against price nonstationarityConclusionAttached files more...
ATR Trend Envelopes - indicator for MetaTrader 5 The reason why the ATR is used is the following - the % change works OK for middle term timeframes. But for short timeframes and long timeframes it tends to be either too slow or too fast. Here is a comparison of this indicator (upper) and the "classical" version (lower) on daily timeframe. It is obvious ...
Having compiled the indicator, we will only need upload to the terminal chart the statistics of the selected signal and attach our indicator to one of the charts. Now we can study and analyze trades. Table of Contents Introduction1. Setting the goals for our future work2. Collecting trades statistics2.1. Class for keeping information on the order2.2. Collecting information from the charts2.3. Creating the timeseries of the balance and funds on each symbol ...