StockFetcher Forums · General Discussion · Code<< 1 2 >>Post Follow-up
four
5,087 posts
msg #141229
Ignore four
1/21/2018 2:36:34 PM

welcome

davesaint86
725 posts
msg #141243
Ignore davesaint86
modified
1/22/2018 9:23:18 AM

I changed the lsb to sl-var (short/long variance)

Fetcher[
apply to symlist(xiv)

set{E3,dma(8,-5),8)-cma(DMA(8,-5),8) }
set{Longposition, count(E3 > 0,1)}
set{Shortposition, count(E3 < 0,1)}
SET{TRIGGER,0}
draw Longposition on plot
draw Shortposition on plot
draw dma(8,-5),8)
draw cma(DMA(8,-5),8)

set{sl-var, days(Longposition above Shortposition, 250)}


add column sl-var
add column separator
add column Longposition {DMA8}
add column separator

do not draw MACD(12,26)
do not drawn line 0
do not draw MA(250)
do not draw MA(50)
do not draw EMA(250)

chart-time is 75 days
]



StockFetcher Forums · General Discussion · Code<< 1 2 >>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.