StockFetcher Forums · Filter Exchange · normalize macd(12,26,9)??<< >>Post Follow-up
kb4444
24 posts
msg #48277
Ignore kb4444
12/1/2006 4:58:29 AM

Hi, is there a way to normalize macd fast line(12,26,9) in order to compare it to rsi(2)? thanks for any help!


TheRumpledOne
6,407 posts
msg #48297
Ignore TheRumpledOne
modified
12/1/2006 7:57:02 PM

Fetcher[
/* NORMALIZE MACD */

set{macdval, INDPOSITION(MACD(12,26,9), 60) * 100 }

DRAW RSI(2)
DRAW macdval on plot rsi(2)
DRAW MACD(12,26,9)

close > 40
volume > 10000000
market is nasdaq

add column rsi(2)
add column macdval
add column macd(12,26,9)

sort column 6 descending

]



HTH.


kb4444
24 posts
msg #48306
Ignore kb4444
12/2/2006 9:46:05 AM

TRO,
Thank you, you are the man. One thing I haven't figured out is why prophet.net's normalized indicators look different (different values?) than stockfetcher..I can't figure it out...


TheRumpledOne
6,407 posts
msg #48307
Ignore TheRumpledOne
12/2/2006 11:51:21 AM

One of the reasons is because of the different data sources.

When I was first working with the WARM filter, BIDU was a new issue. In less than a week the Accumulation/Distribution values were different.

But since all the indicators at SF use the same data, they are in sync with each other even if they are out of sync with Prophet or other sites.

The other reason maybe be in how SF calculates the indposition. If it is a ONE pass calculation, then the values will be different than a TWO pass calculation.

In a one pass calculation you will have multiple highs and lows, in a two pass calculation, there will (usually) only be one high and one low. In the two pass calculation, on the first pass the high and low are determined and on pass two, each position is assigned a value based on it's relative position to the high and low. Understand?

HTH.


kb4444
24 posts
msg #48479
Ignore kb4444
12/8/2006 9:02:04 PM

TRO, one more favor! Is there a way to create a weekly version of this filter? in other words comparing a normalized weekly rsi(2) with weekly macd(12,26,9). Thanks,

KB


kb4444
24 posts
msg #48482
Ignore kb4444
12/9/2006 8:50:48 AM

ok, I think I got it...I put weekly before the indposition??

set{macdval2, weekly INDPOSITION(MACD(12,26,9), 60) * 100 }


kb4444
24 posts
msg #48483
Ignore kb4444
12/9/2006 8:57:26 AM

Guess what TRO, those weekly nomalized macd values actually match perfectly with prophet's weekly normalized macd values...Nice...




TheRumpledOne
6,407 posts
msg #48491
Ignore TheRumpledOne
modified
12/9/2006 12:29:05 PM

Fetcher[
set{wmacdval2, INDPOSITION( weekly MACD(12,26,9), 60) * 100 }
add column wmacdval2
close above 40
volume above 10000000

draw weekly MACD(12,26,9)
draw wmacdval2

]



I think you need weekly macd but if it's working...









TheRumpledOne
6,407 posts
msg #48492
Ignore TheRumpledOne
12/9/2006 12:29:47 PM

Fetcher[
set{wmacdval2, INDPOSITION( weekly MACD(12,26,9), 60) * 100 }
set{macdval2, weekly INDPOSITION( MACD(12,26,9), 60) * 100 }

add column wmacdval2
add column macdval2

close above 40
volume above 10000000

draw weekly MACD(12,26,9)
draw wmacdval2
draw macdval2 on plot wmacdval2

]



Learned something new... it doesn't matter where you put WEEKLY in this case... you get the same plot!




StockFetcher Forums · Filter Exchange · normalize macd(12,26,9)??<< >>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.