Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Alerts you when the price enters the range - set the upper and lower boundaries.
CodersGuru,
I really love your XPMA EA (and thanks for the above changes), but have the same concerns as CEO above where he states, "I really need it to send a signal every bar close because sometimes it will get in a sell and immediately reverse and the EA will not close the sell and buy, but I dont know enough about MQl to do this."
I have come to the same conclusion with my backtesting of this EA using the ATM_XPMA indicator. When this happens you only get your entry closed when it is finally stopped out with the SL in the opposite direction.
When the EA looks at the ATM_XPMA indicator and it turns to yellow, then red or blue, it triggers the entry/exit immediately. By the time the bar closes the color can change back to the previous color (let's say blue), while during the bar it signals red. Unless my thinking is flawed I believe the EA would be more profitable if the entry/exit triggers were generated at close of bar or it would be nice to at least have the option to do this. If you look at an ATM_ XPMA indicator line there are times that the line is continuously blue or red and there are false signals generated which take you out of a trade prematurely or enter you into one in the wrong direction. Would it be possible to code this as a selectable parameter?; such as, "Do not enter/exit position unless color confirmed on bar close" It would function as follows:
For example, you are in an up trend with a buy position in place and the indicator line is blue. A down spike in the current bar signals yellow and then red, triggering the buy exit and a sell entry. The bar then retraces back and closes back to blue and the up trend continues. You lost your buy position and you are holding a sell position in a continuing uptrend. You are then stopped out with your SL.
My thinking is that if your position was dependent on the close of the bar that this would be more indicative of the trend, while helping to eliminate some of the false entries and early exits. In the example above, if the close of bar was red, then the trend may be reversing and the sell position would have a better chance. Any help you could lend on this coding would be appreciated. I will also PM this to you.
I have just come across the XPMA and after messing around with it (them) for awhile, I have only a 6 Simple and a 34 Simple on my chart and have removed all other indicators.
I have not put pen to paper as far as backtesting goes, but it looks very evident that there are plenty of pips to be had by entering when both MA's turn the same color and/or minding the respective MA's across multiple time frames. Simple. Simple. Simple.
Now I gotta see about catching those sleepy-time and work-time pips. Would anyone be willing to construct an EA around this?
Do you mean that you have changed the value on the XPMA to 6, and then added another XPMA and made it 34? And then your entry is when they both turn the same color?
Is that correct?
Quote:
Originally Posted by RandyG67
I have just come across the XPMA and after messing around with it (them) for awhile, I have only a 6 Simple and a 34 Simple on my chart and have removed all other indicators.
I have not put pen to paper as far as backtesting goes, but it looks very evident that there are plenty of pips to be had by entering when both MA's turn the same color and/or minding the respective MA's across multiple time frames. Simple. Simple. Simple.
Now I gotta see about catching those sleepy-time and work-time pips. Would anyone be willing to construct an EA around this?
Up to now I have been experimenting with a system using different combos of RVI/Stochastics/CCI/ADX. Upon coming across the xpma I realized that identified the same signals (mostly entry...still working with exit) as all those other indicators.
The default is the 6 period T3 I believe, which I changed to a Simple. I then added the 34 Simple to identify a broader trend. After awhile it seemed obvious that I didn't need all those other indicators though I may end up including something to help with exits. The RVI cross was/is looking good.
I'm also currently making my through the MQL4 Tutorial which I began all of 2 hours ago! If anyone decides to take up the cause to develop an EA for me/us, I would sure like to be included with the development as I progress through the tutorial.
Randy
P.S.- I hope it still matters though its been said so often but I very much appreciate the efforts of CG and everyone else who is taking the time to help so many
Up to now I have been experimenting with a system using different combos of RVI/Stochastics/CCI/ADX. Upon coming across the xpma I realized that identified the same signals (mostly entry...still working with exit) as all those other indicators.
The default is the 6 period T3 I believe, which I changed to a Simple. I then added the 34 Simple to identify a broader trend. After awhile it seemed obvious that I didn't need all those other indicators though I may end up including something to help with exits. The RVI cross was/is looking good.
I'm also currently making my through the MQL4 Tutorial which I began all of 2 hours ago! If anyone decides to take up the cause to develop an EA for me/us, I would sure like to be included with the development as I progress through the tutorial.
Randy
P.S.- I hope it still matters though its been said so often but I very much appreciate the efforts of CG and everyone else who is taking the time to help so many
Thanks for the explanation; I am definitely interested in an EA for this as well, and hopefully someone will help with this.
It would be nice if someone could post the exact settings they would use on this, and I would be glad to test it; I just can't figure out what settings to use.
When a second moving average is plotted on the chart, the arrows of the first moving average disappear and are replaced with the new moving average arrows. Is it possible to modify the indicator to keep all arrows on the chart.
i ve been looking at your indicator using SATL as the ma type and it places an arrow for buy and sell when the indicator is showing the same value as the previous value.
Any idea why that is
bubble
May I ask what are you looking for with SATL ?
Arrows show us the start of new colors except yellow. Yellow means the difference between current value and previous value are within dMA
dMA = average of last Step_Period value (default are last 4 values)