StockFetcher Forums · Filter Exchange · Can anyone find an error in the Heikin-Ashi code I have coded below<< >>Post Follow-up
SAFeTRADE
644 posts
msg #130506
Ignore SAFeTRADE
modified
8/20/2016 12:43:05 PM

Looking to see if I have coded the Heikin-Ashi correctly. I have it overlaid on the
price chart. Or is there a better way to present it?

Fetcher[set{a,open+high}
set{b,low +close}
set{c, a+b}
set{closec,c/4}

set{a1,open 1 day ago +close 1 day ago}
set{openc, a1/2}

set{a3,max(high,open)}
set{highc,max(a3,close)}

set{a4,min(low,open)}
set{lowc,min(a4,close)}
set{buy, count(close crossed above ema(8),1)}
set{sell, count(close crossed below ema(8),1)}


draw highc on plot price
draw lowc on plot price
draw ema(8)
draw macd
draw Slow Stochastics Fast %K(12,3)
draw sell on plot buy

symlist(spy)
]



StockFetcher Forums · Filter Exchange · Can anyone find an error in the Heikin-Ashi code I have coded below<< >>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.