StockFetcher Forums · Filter Exchange · Zerolag MACD<< >>Post Follow-up
emwalker
35 posts
msg #142455
Ignore emwalker
modified
2/25/2018 5:14:54 PM

Has anyone worked with zerolag MACD? I tried to code it, but it seems i need the advanced subscription.

Fetcher[

Close above 5
Average volume above 200000
set{double_ema, cema(ema(12),12)}
set{2ema, ema(12) * 2}
set{fastlag, 2ema - double_ema}

set{double_emalong, cema(ema(26),26)}
set{2emalong, ema(26) * 2}
set{slowlag, 2emalong - double_emalong}

set{zerolag, fastlag - slowlag}

set{signal1, cema(zerolag, 9)}
set{signal2, cema(signal1, 9)}
set{signal3, signal1 * 2}
set{signal, signal3 - signal2}

draw zerolag
draw signal on plot zerolag
]



graftonian
1,089 posts
msg #142473
Ignore graftonian
modified
2/26/2018 6:33:24 PM

Have not heard of zero lag. Going to take a flyer at creating a zerolag, volume weighted macd

Fetcher[
/*zerolag MACD*/
Close above 5
Average volume above 200000
set{double_ema, cema(ema(12),12)}
set{2ema, ema(12) * 2}
set{fastlag, 2ema - double_ema}

set{double_emalong, cema(ema(26),26)}
set{2emalong, ema(26) * 2}
set{slowlag, 2emalong - double_emalong}

set{x, fastlag - slowlag}
draw x
set{sig, cema(x, 9)}
draw sig on plot x
draw x line at 0
set{hist, x - sig}
plottype{hist, zerobar}
draw hist on plot x
set{trigger, count(x crossed above sig, 1)}
draw trigger
]



graftonian
1,089 posts
msg #142475
Ignore graftonian
2/26/2018 7:26:38 PM

Fetcher[
/*volume weighted, zero lag MACD*/
symlist(spy,qqq,iwm,tlt,jnk,gld)

set{vma12, vma(12)}
set{2vma12, vma12 * 2}
set{2vma12_1, cema(vma12, 12)}
set{vwDEMA12, 2vma12_1 - vma12}

set{vma26, vma(26)}
set{2vma26, vma26 * 2}
set{2vma26_1, cema(vma26, 26)}
set{vwDEMA26, 2vma26_1 - vma26}

set{fast_line, vwDEMA26 -vwDema12}
set{slow_line, cema(fast_line, 9)}
set{hist, fast_line - slow_line}

set{trigger, count(fast_line crossed above slow_line, 1)}
draw trigger
set{exit, count(fast_line crossed below slow_line, 1)}
draw exit
draw fast_line
draw slow_line on plot fast_line
plottype{hist, zerobar}
draw hist on plot fast_line

/***************/
draw MACD Fast Line(12,26,9)
]



StockFetcher Forums · Filter Exchange · Zerolag MACD<< >>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.