Murray Ruggiero
Sponsor
Quote from invertednz:
I understand the 2MA vs the 3MA I was just wondering whether the best course was to choose which was better out of the break out and the 3MA before filtering or after.
Interesting about the adaptive giveback, can you give an example of this?
How would you go about coding divergence in MACD and price using tradersstudio?
When building systems I really like to limit filtering. Every trading methodology needs filter to make it tradable, the problem is if you overfilter the system might lose money when the core system without filters actually made money.
Filter are just that , filters. If I have two core trading methods a gauge hem on there core , or code + 1 fundementally sound filter , like a volatility filter.
In terms of divergence here an example using a moving average difference. This can get replaced by MACD. This is an example which ships with the product.
'Simple system To test divergence , prints results Of Function To Print Log.
'TradersStudio(r) (c) 2006-2007 All Rights Resevered.
Sub TestDivergence()
Print FormatDateTime(Date)," ","Bear"," ",BearishDivergence(Close,Average(Close,5,0)-Average(Close,35,0),5,125)
Print FormatDateTime(Date)," ","Bull"," ",BullishDivergence(Close,Average(Close,5,0)-Average(Close,35,0),5,125)
End Sub
adaptive equity curve giveback uses statisical analysis to decide on exit signals. For example , in a give market what percentage retracement can you have without violating an uptrend. What is the average RSI value at a 20 bar swing high ?. What is the standard deviation of those values ?. When we reach these points we use classic protective exit methods.
I gave you enough to get the idea as you can tell this is valuable research.
