- June 18, 2013
- Posted by: Forex Wiki Team
- Category: FX Ind
Name: |
|
||
Author: | tflores (2010.09.22 10:58) | ||
Downloaded: | 4866 | ||
Download: |
|
||
This code is following the idea of MA Profit, except that it is using a single Moving Average instead of the cross moving average system. Using only a single moving average speeds up optimization, it can check all moving averages between 10 and 1000 in nearly no time. Trading with single moving average gives three signals. Usually it works with large moving averages like 150 or even 500 or more.
By switching the period everything is re-calculated, you can check if different time frames (minute, hour, day and so on) show the same signal. Usually a signal is stronger if displayed by by multiple time frames. Also you can switch to lower time frame in order to find an entry point into a long or short trade. The indicator draws 4 kinds of triangles
If a new signal is available the indicator can display an alert or use voice output. In this case you need the speak.dll, for example from http://codebase.mql4.com/5036. The indicator dispays the status and the number for good and wrong signals in its status line. The optimization can be in two modes:
Parameters: (look source code also) extern bool bOptimize=true; // True: Find the best single MA by optimizing (switch time frame to re-optimize) Moving average trading gives some very good signal but also a lot of false signals. I am currently seeking more ideas of filtering the false signal in order to publish my moving average expert advisor. Plese use at your own risk! |
|||
This indicator has errors when attempting to compile it. If you manage to fix it please post it in full code post.
15.12.2010 03:07 FXIA
24.09.2010 17:40 WHRoeder
1. Time Filter 2. Daily average range
|