MACD – Moving Average Convergence Divergence. The MACD is calculated by subtracting a 26-day moving average of a security's price from a 12-day moving average of its price. The result is an indicator that oscillates above and below zero. When the MACD is above zero, it means the 12-day moving average is higher than the 26-day moving average. This is...
Everyone wants a short-term, fast trading trend that works without large losses. That combination does not exist. But it is possible to have fast trading trends in which one must get in or out of the market quickly, but these have the distinct disadvantage of being whipsawed by market noise when the market is volatile in a sideways trending market. During...
Script of strategy component to setup the backtext lookback. You setup the maximum days back in the history, which will be used for backtest.
This is the main strategy that I will be forward testing on demo for a month or two, then making it an EA in MetaTrader4 You can see the code for yourself this time, all the strategy is, is a crossover of various moving averages. Commission included, $10,000 account. Results over the past 3 months, beginning in January 2017.
This is backtesting script. This System was created from the Book "How I Tripled My Money In The Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies. The strategy buys at market, if close price is higher than the previous close during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50. The strategy sells at...
This is only a slight modification to the existing "MACD Strategy" strategy plugin! found the default MACD strategy to be lacking, although impressive for its simplicity. I added "year>2014" to the IF buy/sell conditions so it will only backtest from 2015 and beyond ** . I also had a problem with the standard MACD trading late, per se. To that end I modified the...
Included adaptive lot size based on ATR, and also ATR based stop and take profit levels. Risk/reward increased to 1:2 and should work in all ranging FX pairs as long as they are not trending. Once the market starts trending it'll eat this bot alive. Cheers, Ivan Labrie Time at Mode FX
Here's the last version...quick hack job. I'm sure it can be improved, but this is a rough sketch, code wise. The strategy works in range bound enviroments, so cointegrated pairs like AUDCAD will shine with it. Cheers, Ivan Labrie Time at Mode FX