Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information
With heartfelt sorrow, I wish to give my sympathy to those thousands who are injured and to the families that lost family in Indonesia, recently and in the great tidal wave. I noticed that you are from Indonesia. Compassion towards others comes from the heart and bridges all religious and ethnic barriers. I pray that God gives strength and favor to all the people that are struggling now and have lost loved ones in your country of origin.
Firedave, would you politely clarify the following in the setup options:
1) ReverseCondition - Is this the same as green above red, then when a crossover occurs, it is the green below red for trigger sake? It seems this is what it means. If I am wrong, please clarify. Would a 'false' be used for directional trading only.
2) StartHour - Is this simple GMT (0) time, no shifting due to geographical location?
With heartfelt sorrow, I wish to give my sympathy to those thousands who are injured and to the families that lost family in Indonesia, recently and in the great tidal wave. I noticed that you are from Indonesia. Compassion towards others comes from the heart and bridges all religious and ethnic barriers. I pray that God gives strength and favor to all the people that are struggling now and have lost loved ones in your country of origin.
Hi Dave, thank you for your kind words, highly appreciate it.
Quote:
Originally Posted by iscuba11
1) ReverseCondition - Is this the same as green above red, then when a crossover occurs, it is the green below red for trigger sake? It seems this is what it means. If I am wrong, please clarify. Would a 'false' be used for directional trading only.
I'm little confuse with the green and red thing, but I'll try my best to describe the function. We know that MA cross is trend following strategy. So if you set ReverseCondition=TRUE, the EA will trade counter trend strategy, mean when there is a BUY signal (MA cross up) it will go SELL rather than BUY.
Quote:
Originally Posted by iscuba11
2) StartHour - Is this simple GMT (0) time, no shifting due to geographical location?
This setting is using your MT4 broker time which you could check on your MARKET WATCH window.
Hope this could help
__________________ David Michael H
"Trader helps traders with sincerity, honesty and integrity"
Thank you for the clarifications. The EA is simple, yet can be very profitable. It would be nice that in the future as someone has suggested putting a filter such as an RSI or Stochastic as a confirmation of a good crossover taking place. We all should understand that nothing is 100% accurate all the time. I love the flexibility that you have put into this EA. Yesterday was a very profitable day (Wish I was out of test mode then). So far, easy to use and simple to follow. Thanks again for the clarification!!
Thank you for the clarifications. The EA is simple, yet can be very profitable. It would be nice that in the future as someone has suggested putting a filter such as an RSI or Stochastic as a confirmation of a good crossover taking place. We all should understand that nothing is 100% accurate all the time. I love the flexibility that you have put into this EA. Yesterday was a very profitable day (Wish I was out of test mode then). So far, easy to use and simple to follow. Thanks again for the clarification!!
Dave
<><
Hi Dave, if you have any idea to add another filter to the strategy, please post your trading plan, and I will try to add it to the EA. Hope this help
__________________ David Michael H
"Trader helps traders with sincerity, honesty and integrity"
Can you please tell me what are the statements related to your "ONE ENTRY PER BAR" cuz I want to put this option in MACD EA which you made for me.... I mean I want to know that statement do I have to put in EA
Can you please tell me what are the statements related to your "ONE ENTRY PER BAR" cuz I want to put this option in MACD EA which you made for me.... I mean I want to know that statement do I have to put in EA
Thanks
Babar
Hi Babar, for OneEntryPerBar function I just add this code :
PHP Code:
//----------------------- ONE ENTRY PER BAR
if(OneEntryPerBar)
{
if(CheckEntryTime==iTime(NULL,TimeFrame,0)) return(0); else CheckEntryTime = iTime(NULL,TimeFrame,0);
}
And declare CheckEntryTime before start() function. Hope this help
__________________ David Michael H
"Trader helps traders with sincerity, honesty and integrity"
I found one weakness - MinDistCross (A Vital filter but can cause missed opportunities) - - This filter measures the distance from each moving average (gap) to filter out many false signals as a result of the moving averages being too close to each other and barely crossing in both directions (Noise chatter).
The problem: If the program is testing on the current bar for a crossover, and the gap is too narrow, no entry trigger occurs. If the gap grows wide enough to surpass our MinDistCross criteria on the second or third or fourth bar later, the cross is not a current cross anymore, and the program will not trigger a buy or sell. This weakness caused 2 missed opportunities today in trading.
Is there anyway to program the program to allow the program to check for a current cross and still activate if the gap slowly expands past the MinDistCross within so many bars (adjustable) after the recent cross (example: 5 bars). Reason: On long term EA's a missed opportunity like this can cause a 100+ pip lost opportunity profit capture before the moving averages cross again. Since this occurred on 2 EA's today, I would say I lost a total of 200 pips in missed opportunities.
I found one weakness - MinDistCross (A Vital filter but can cause missed opportunities) - - This filter measures the distance from each moving average (gap) to filter out many false signals as a result of the moving averages being too close to each other and barely crossing in both directions (Noise chatter).
The problem: If the program is testing on the current bar for a crossover, and the gap is too narrow, no entry trigger occurs. If the gap grows wide enough to surpass our MinDistCross criteria on the second or third or fourth bar later, the cross is not a current cross anymore, and the program will not trigger a buy or sell. This weakness caused 2 missed opportunities today in trading.
Is there anyway to program the program to allow the program to check for a current cross and still activate if the gap slowly expands past the MinDistCross within so many bars (adjustable) after the recent cross (example: 5 bars). Reason: On long term EA's a missed opportunity like this can cause a 100+ pip lost opportunity profit capture before the moving averages cross again. Since this occurred on 2 EA's today, I would say I lost a total of 200 pips in missed opportunities.
Hi Dave, thank you for the comment and suggestion. I will work on that this weekend. Will let you know if I post the new release. Again thank you
__________________ David Michael H
"Trader helps traders with sincerity, honesty and integrity"
Have you had a chance to figure out how to program a fix for the MinDistCross weakness. I hope you had a nice weekend and everything is ok with you and your family. I am anxious to test out your modification when you have it created.
I have not had a chance to test the EA yet, but I have a suggestion for the third MA based upon my personal trading strategy. As we all know, trends tend to exhaust themselves and reverse as traders collect their profits and new positions are entered in the opposite direction. Thus, it would make sense to have a third moving average setting which would allow for a cross above the 3rd slow moving average to enter a short position instead of just a long position as I understand the EA has now. Therefore, when the price is above the slow MA and the 1st fast MA moves under the 2nd medium period MA, a short position can be enabled instead of just a long position. If, however, the fast MA gives a long signal above the 3rd slow MA, it can be disregarded as a potential slight retracement when this feature is enabled. The opposite would then be true for signals below the third MA. Just an idea based upon price action.