Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am gavstah on github.
  • I am gavster (https://keybase.io/gavster) on keybase.
  • I have a public key ASDnQ9kWI9Xr-kD4bMiKNDej_AVLGEZ7d4COsf3rWsws5Ao

To claim this, I am signing this object:

<div align="center">
<div>
<a class="donate-with-crypto" href="https://commerce.coinbase.com/checkout/76e1f473-fd14-4738-ae55-19186d30f3c1">
<span>Tipping Is Good =0)</span>
</a>
<script src="https://commerce.coinbase.com/v1/checkout.js?version=201807">
</script>
</div>
</div>
@gavstah
gavstah / TOS Squeeze Scan
Created November 1, 2020 19:08
ThinkOrSwim Squeeze Scan
TTM_Squeeze()."SqueezeAlert" == 0
and
TTM_Squeeze().SqueezeAlert[1] == 1
@gavstah
gavstah / squeeze_play.ts
Created October 30, 2021 15:57
TOS Squeeze Play
#Hint: SqueezePlay - stacked EMAs (8,21,34,55,89), Upward momentum on TTM_Squeeze, in a squeeze, and price over the 21 EMA
input price = close;
# define the EMAs
def ema8 = ExpAverage(price, 8);
def ema21 = ExpAverage(price, 21);
def ema34 = ExpAverage(price, 34);
def ema55 = ExpAverage(price, 55);
def ema89 = ExpAverage(price, 89);
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation",
"s3:ListAllMyBuckets"
],
"Resource": "arn:aws:s3:::*"
@gavstah
gavstah / Outline Server Setup
Created January 7, 2024 14:14
Step By Step Outline Server Setup
With a fresh ubuntu install - run the following commands as root:
apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y; apt-get autoremove -y; apt-get autoclean -y
curl -sS https://get.docker.com/ | sh; systemctl start docker; systemctl enable docker
wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh > outline_install_server.sh
chmod 755 outline_install_server.sh & sh outline_install_server.sh