StockFetcher Forums · View by Author: (521 messages)  [ Display By: Date / Subject ]<< 1 2 3 4 5 ... 53 >> 
General Discussion · NEVER LOSE AGAIN!!
snappyfrog
msg #159607
9/20/2022 6:25:37 AM

I stand corrected!

General Discussion · Follow Line Indicator
snappyfrog
msg #159589
9/15/2022 10:35:05 AM

"The FollowLine indicator is a trend following indicator. The blue/red lines are activated when the price closes above the upper Bollinger band or below the lower one.

Once the trigger of the trend direction is made, the FollowLine will be placed at High or Low (depending of the trend).

An ATR filter can be selected to place the line at a more distance level than the normal mode settled at candles Highs/Lows."

So, this shouldn't be so hard to make a scan after all. I will give it a try later tonight - after trading session.

General Discussion · Follow Line Indicator
snappyfrog
msg #159588
9/15/2022 10:28:18 AM

I am terrible at coding, so I was hoping some of you would be able to convert this to
something usable in SF. This is a tradingview code.

// © Dreadblitz
//@version=4
study(shorttitle="FLI", title="Follow Line Indicator", overlay=true)
//
BBperiod = input(defval = 21, title = "BB Period", type = input.integer, minval = 1)
BBdeviations = input(defval = 1.00, title = "BB Deviations", type = input.float, minval = 0.1, step=0.05)
UseATRfilter = input(defval = true, title = "ATR Filter", type = input.bool)
ATRperiod = input(defval = 5, title = "ATR Period", type = input.integer, minval = 1)
hl = input(defval = false, title = "Hide Labels", type = input.bool)
//
BBUpper=sma (close,BBperiod)+stdev(close, BBperiod)*BBdeviations
BBLower=sma (close,BBperiod)-stdev(close, BBperiod)*BBdeviations
//
TrendLine = 0.0
iTrend = 0.0
buy = 0.0
sell = 0.0
//
BBSignal = close>BBUpper? 1 : close//
if BBSignal == 1 and UseATRfilter == 1
TrendLine:=low-atr(ATRperiod)
if TrendLine TrendLine:=TrendLine[1]
if BBSignal == -1 and UseATRfilter == 1
TrendLine:=high+atr(ATRperiod)
if TrendLine>TrendLine[1]
TrendLine:=TrendLine[1]
if BBSignal == 0 and UseATRfilter == 1
TrendLine:=TrendLine[1]

//
if BBSignal == 1 and UseATRfilter == 0
TrendLine:=low
if TrendLine TrendLine:=TrendLine[1]
if BBSignal == -1 and UseATRfilter == 0
TrendLine:=high
if TrendLine>TrendLine[1]
TrendLine:=TrendLine[1]
if BBSignal == 0 and UseATRfilter == 0
TrendLine:=TrendLine[1]
//
iTrend:=iTrend[1]
if TrendLine>TrendLine[1]
iTrend:=1
if TrendLine iTrend:=-1
//
buy:=iTrend[1]==-1 and iTrend==1 ? 1 : na
sell:=iTrend[1]==1 and iTrend==-1? 1 : na
//
plot(TrendLine, color=iTrend > 0?color.blue:color.red ,style=plot.style_line,linewidth=2,transp=0,title="Trend Line")
plotshape(buy == 1 and hl == false? TrendLine-atr(8) :na, text='💣', style= shape.labelup, location=location.absolute, color=color.blue, textcolor=color.white, offset=0, transp=0,size=size.auto)
plotshape(sell == 1 and hl == false ?TrendLine+atr(8):na, text='🔨', style=shape.labeldown, location=location.absolute, color=color.red, textcolor=color.white, offset=0, transp=0,size=size.auto)
//
alertcondition(sell == 1 ,title="Sell",message="Sell")
alertcondition(buy == 1 ,title="Buy",message="Buy")
alertcondition(buy == 1 or sell == 1 ,title="Buy/Sell",message="Buy/Sell")

Filter Exchange · McClellan Oscillator and SPY
snappyfrog
msg #159586
9/13/2022 10:35:16 PM

Agreed

Filter Exchange · McClellan Oscillator and SPY
snappyfrog
msg #159570
9/8/2022 8:31:47 AM

Bought on Aug 19th at $889 will sell at open today at approximately $2800.

Filter Exchange · McClellan Oscillator and SPY
snappyfrog
msg #159526
9/1/2022 8:33:10 AM

Have not back tested it except for looking at the chart over the last year.

It does give some head fakes when used alone, but RSI helps in those cases.

I recently bought $425 puts on the 19th of Aug
when McClellen made a head and shoulders pattern with RSI oversold.
I am still holding the puts.

Filter Exchange · 1-Bar Reversal
snappyfrog
msg #159491
8/25/2022 6:32:11 AM

I opened this up by removing the BB, ATR and changed RSI < 5 to RSI < 10.

This give more hits and I must say, some make good day scalps, but also longer runs.

Fetcher[
market is not OTCBB

set{v1,min(open,close)}
set{v2,max(open,close)}
set{v3,v2 - v1}
set{v5, v1 - low}
set{v4, v3 * 2}
set{v6, high - v2}

set{a1, count(v5 is greater then .2,1)}
set{a2, count(v5 is greater then v4,1)}
set{a3, count(v3 is greater then 0,1)}
set{a4, a1+a2}
set{a5, a4+a3}

/*enable the line below for increased accuracy*/

a5 > 2

set{c1, close 1 day ago}
set{o1, open 1 day ago}
set{c2, close 2 days ago}
set{o2, open 2 days ago}
set{rc1, c1-o1}
set{rc2, c1-o2}
set{x1, c1*0.02}
set{x2, c2*0.02}

set{b0, count(rc2 is below 0,1)}
set{b1, count(rc1 is below 0,1)}
set{b2, count(abs(rc1) is above abs(x1),1)}
set{b3, count(abs(rc2) is above abs(x2),1)}
set{b4, b1+b2}
set{b5, b4+b3}
set{b6, b5+b0}

b6 > 3
COG(5) > COG(5) 1 day ago

volume > 100000
close > open
rsi(2) < 10

do not draw b6
]



Filter Exchange · McClellan Oscillator and SPY
snappyfrog
msg #159480
8/22/2022 9:47:23 AM

I pull my buy / sell Criteria in the original post.

One thing I didn't mention is watching RSI(14). Depending on the
Strength (above 53) or weakness (below47) makes a difference
On if and when I buy / sell also.

General Discussion · Where are these Forum people?
snappyfrog
msg #159419
8/8/2022 8:25:29 PM

Summer is typically slow anyway (sell in May and go away).
I think the downturn has hurt participation also.

The way I see it, there is always something to trade.

General Discussion · Missing Data for VRAX
snappyfrog
msg #159388
modified
8/2/2022 12:26:46 PM

For those that don't know about this, go to Account > settings > Results



StockFetcher Forums ·  · << 1 2 3 4 5 ... 53 >>

*** 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.