StockFetcher Forums · Filter Exchange · MACD HISTOGRAM & DMA MAGIC VOL II<< 1 2 3 4 5 ... 6 >>Post Follow-up
chetron
2,817 posts
msg #62905
Ignore chetron
modified
5/21/2008 4:43:54 PM

i was using what SF calls out for in the Help. it says to use some type of length.

your version would produce this.
ultimately this filter is to satisfy WSG's needs. please use which fits.

Fetcher[




/* NORMALIZE DMA(28,-14) */

set{dmaval, INDPOSITION(DMA(28,-14))}
set{mhis,indposition(macd(15,60) histogram)}
set{mfl,indposition(macd(15,60) fast line)}
set{msl,indposition(macd(15,60) slow line)}
set{vema5,indposition(ema(5))}
set{vslope,indposition(2 day slope dma(28,-14))}

add column dmaval

DRAW MACD(15,60,9)
draw mhis
DRAW dmaval on plot mhis
draw mfl on plot mhis
draw msl on plot mhis
draw vema5 on plot mhis
draw vslope on plot mhis

MARKET IS NASDAQ 100

]





WALLSTREETGENIUS
983 posts
msg #62907
Ignore WALLSTREETGENIUS
modified
5/21/2008 5:56:47 PM

- DELETED BY THEMIGHTYRIGGS HIMSELF -

nikoschopen
2,824 posts
msg #62908
Ignore nikoschopen
5/21/2008 6:02:09 PM

I ain't too sure that the above filter is identical to the previous one since each spits out different numbers.

Fetcher[
/* NORMALIZE DMA(28,-14) */
set{dmaval1, INDPOSITION(DMA(28,-14),60) }
set{dmaval2, INDPOSITION(DMA(28,-14))}

add column dmaval1
add column dmaval2

MARKET IS NASDAQ 100
]



One more thing is that when you plot "dmaval" on MACD as you've done in both filters, ure really plotting the DMA of price on the MACD. As I understand it, it should be the DMA of the MACD, no?

WALLSTREETGENIUS
983 posts
msg #62909
Ignore WALLSTREETGENIUS
modified
5/21/2008 6:18:02 PM

- DELETED BY THEMIGHTYRIGGS HIMSELF -

nikoschopen
2,824 posts
msg #62912
Ignore nikoschopen
5/21/2008 7:53:21 PM

IndPosition

ParametersIndicator
Length
Usageindposition(indicator,length)td>
DescriptionThis measure returns the current position of an indicator with respect to the min and max of the measure over the specified number of days.The value returned will be between 0 and 1. Values closer to 0 indicate the measure is closer to the lower bound in the given period of time. Values closer to 1 indicator the current value of the measure is closer to making a high over the specified period of time.
Examples
Fetcher[
indposition(OBV,50) is between 0.45 and 0.55
and draw OBV
and draw OBV 50 day high
and draw OBV 50 day low
]


What the "IndPosition" does is to find the highest and the lowest point of the range that you specify. In ure case, the range is 60 days. In that range, the highest value would be assigned a value of 1 and the lowest 0. Suppose, within the last 60 days, MACD had a high of 95 and the low of 5. The 95 would then be "normalized" to 1 and 5 to 0. Hence, a reading of 75 would be 0.7894 (75 divided by 95).

The main difference between INDPOSITION(DMA(28,-14),60) and indposition(macd(15,60) histogram,60) is that one uses DMA(28,-14) and the other uses MACD as the indicator.

alf44
2,025 posts
msg #62922
Ignore alf44
modified
5/21/2008 11:21:27 PM

"Nobody on this site knows more about the MACD-H than I do. Maybe AS well, but certainly not better. "

------------------------------------------------------

Welcome back, Riggs !!!

I had actually forgotten how full of it you really are !!!

Sheeesh !!!

ROFL !!!

WALLSTREETGENIUS
983 posts
msg #62924
Ignore WALLSTREETGENIUS
modified
5/22/2008 12:32:24 AM

- DELETED BY THEMIGHTYRIGGS HIMSELF -

nikoschopen
2,824 posts
msg #62927
Ignore nikoschopen
5/22/2008 1:54:15 AM

I would like to add my own worthless 2-cents in that I don't deserve the honor of being the "best" of anything (except as a daytrader notwithstanding). I just like to take the challenge and pick on other's brain. But thanks all the same.

TheRumpledOne
6,407 posts
msg #62938
Ignore TheRumpledOne
modified
5/22/2008 9:39:51 AM

Fetcher[
/* NORMALIZE DMA(28,-14) */

set{dmaval, INDPOSITION(DMA(28,-14),60) }
set{mhis,indposition(macd(15,60) histogram,60)}

set{mhist,macd(15,60) histogram}
set{mhisb,days(mhist is above 0, 100)}
set{mhisa,days(mhist is below 0, 100)}
set{hstxhst, mhisa - mhisb}

add column hstxhst

Draw DMA(28,-14)

DRAW MACD(15,60,9)
draw mhis
DRAW dmaval on plot mhis
]





WALLSTREETGENIUS
983 posts
msg #62974
Ignore WALLSTREETGENIUS
modified
5/22/2008 5:17:36 PM

- DELETED BY THEMIGHTYRIGGS HIMSELF -

StockFetcher Forums · Filter Exchange · MACD HISTOGRAM & DMA MAGIC VOL II<< 1 2 3 4 5 ... 6 >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.