Discussions
»
Product and Service Development
»
Formula Assistance
»
How to determine the best EMA parameter for support and resistance?
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 12/30/2005(UTC) Posts: 120
|
I would like to know on how to determine the best EMA parameter for support and resistance.
such as whenever price touch EMA, which would most likely to rebounce with certain parameter.
Does anyone have any suggestions?
Thanks in advance for any suggestions
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
Originally Posted by: oem7110 I would like to know on how to determine the best EMA parameter for support and resistance.
such as whenever price touch EMA, which would most likely to rebounce with certain parameter.
Does anyone have any suggestions?
Thanks in advance for any suggestions
You can use the System Tester to Optimize signal criteria based on entry/exit profitability/performance although this has less to do with the frequency of signals. There are a large amount of numbers that one could optimize for this, so automating that process seems critical, and the System Tester is probably the closest tool we have to automating finding the right combination of numbers to use. Otherwise I would say something like Excel could be used on the time series history of the instrument being tested. But you could certainly sum up the number of times a formula condition is 'true' in a chart and edit those formula parameters manually as well, just using the Indicator Builder and a MetaStock chart.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 12/30/2005(UTC) Posts: 120
|
I would like to know the logical on how to test and find EMA parameter.
Do you have any related example on how to test this kind of condition?
Do you have any suggestions?
Thank you very much for any suggestions (^v^)
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
Originally Posted by: oem7110 I would like to know the logical on how to test and find EMA parameter.
Do you have any related example on how to test this kind of condition?
Do you have any suggestions?
Thank you very much for any suggestions (^v^)
This would just depend on the specific criteria of a bounce. We would have to be able to define the conditions mathematically in order to make a formula from this. There are different ways to approach the issue, but one way would be to simply begin with the most recent bar of the pattern and work backward, such as: Code:L > Mov(C,20,E) AND Ref(L <= Mov(C,20,E),-1) AND Ref(L > Mov(C,20,E),-2)
This is just a simple example where the most recent Low is greater than the 20-period EMA, the prior bar's low was less than or equal to the EMA, and the bar prior to that was greater than the EMA. A very simple "V" shaped bounce. You could of course get more specific with the criteria if you wanted the prices to be within a certain % range of the EMA or to extend the pattern beyond 3 periods.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
How to determine the best EMA parameter for support and resistance?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.