Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 9/13/2004(UTC) Posts: 673 Location: Salt Lake City, UT
|
It seems she uses multiple time frames and actually uses the ADX and a custom MACD to "setup" the Moving Average retracement. She does not clearly define how soon after the "setup" the retracement needs to occur. The way you are referring to the moving averages is not comparing them to anything, you are just calling the moving average value itself. You need to compare the moving average to something, i.e.
Cross(C,Mov(C,20,E));
This would look for the moving average to be crossing down below the close. To look for the "setup" condition to be happening X number of bars ago, you could use something like this:
X:=10;{Lookback Periods} Cross(C,Mov(C,20,E)) AND Alert(Cross(ADX(14),30),X)
There is also no clear definition of how far back to look for her custom MACD to be looking back for a new momentum high. Again an arbitrary number could be assigned, but this may work better as a visual system rather than a scan. If you wanted to assign another lookback value for the custom MACD you could do something like this:
X:=10;{Setup Lookback Periods} Y:=20;{Oscillator New Momentum High Lookback} Cross(C,Mov(C,20,E)) AND Alert(Cross(ADX(14),30),X) AND Alert(Mov(Mov(C,3,S)-Mov(C,10,S),16,S) > Ref(HHV(Mov(Mov(C,3,S)-Mov(C,10,S),16,S),Y),-1),X)
Keep in mind this is quite subjective. I'm not too strong in formula writing plus the setup time frames are not clearly defined. I am sure a more experienced formula writer could do better.
|