[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The next week(s)



PureBytes Links

Trading Reference Links

Tom,
thank you for the interesting note.
There are many reliable Market Indicators [not only individual ones] 
to show that the trend is still here and not interrupted and it is 
OK, stay Long untill the next turning point.
I will take a look to apply your observation to the whole market and 
revert.
DT
--- In amibroker@xxxx, "Tom Baird" <tbaird1@xxxx> wrote:
> Dimitris,
> 
> Its only at the close of market Qct 22 do I see a couple of 
indicators
> that show a short term reversal. The Detrend oscillator and the
> StochCCI(14) show identical crosses as the Aug 22nd
> reversal. But these signals give too erratic behavior in a ragged
> market. 
> 
> Here is the code I used for the detrend oscillator.
> 
> Regards Tom B
> 
> // DPO = Close - Simple moving average [from (n / 2 + 1) days 
ago] 
> 
> 
> 
> n = Optimize ("n",12, 20,30,5);
> 
> Days = Optimize ("days",7, 4,20,4);
> 
> 
> 
> dpo = C - MA(C,n);
> 
> MAvg = MA(dpo,Days);
> 
> slopedpo = ROC(dpo,2);
> 
> Filter = Cross (dpo,MAvg) OR Cross (MAvg,dpo) ;
> 
> bsig = Cross (dpo,MAvg) AND MAvg < -2;
> 
> ssig = Cross (MAvg,dpo) AND MAvg > 1;
> 
> Buy = bsig;
> 
> Sell = ssig;
> 
> Short = Sell;
> 
> Cover = Buy;
> 
> Plot(dpo,"detrend",5,1);
> 
> Plot (MAvg, "MA DPO 7 days ", 7,1);