- Topics: 44
- Replies: 22
- Posts: 66
Thanks for your reply – I have coded quite a simple version – I’ll check out your version this weekend. Mine is based on the fact that Demark is really looking at trends which are based on a 1 period moving average offset by 4 bars. 9 days above this or below this kicks off his trend and exhaustion signals. Here is my code for this:
UP signal = plots an indicator below the charts
a1 = close() < offset(ma(BARS=1), OFFSET=4);
a1 = close() > offset(ma(BARS=1), OFFSET=4);
My chart setup has this 4 period offset 1 period MA and the above indicators. I then check for either 9’s and 13’s days above or below this trend – using a showbar.