Scripting in Think Or Swim #ToS

Implementing EMA Clouds in ThinkScript

#Multiple EMA Cloud input ema1low = 5; input ema1high = 13; input ema2low = 34; input ema2high = 50; input ema3low = 72; input ema3high = 89; def ema5 = ExpAverage(close, ema1low); def ema13 = ExpAverage(close, ema1high); AddCloud(ema5, ema13, Color.DARK_GREEN, Color.RED); def ema34 = ExpAverage(close, ema2low); def ema50 = ExpAverage(close, ema2high); AddCloud(ema34, ema50, Color.green, Color.light_gray); def ema72 = ExpAverage(close, ema3low); def ema89 = ExpAverage(close, ema3high); AddCloud(ema72, ema89, Color.blue, Color.yellow); def buycross = (ema5 > ema13) and (ema34 crosses above ema50); def buycrossAdditional = (ema72 crosses above ema89); AddOrder(OrderType.BUY_TO_OPEN, buycross, tickColor = GetColor(1), arrowColor = GetColor(1), name = "Buy", tradeSize = floor(10000 / close)); def sellcross = ema5 crosses below ema13 and (ema34 < ema50); AddOrder(OrderType.SELL_TO_CLOSE, sellcross, tickColor = GetColor(0), arrowColor = GetColor(0), name = "Sell"); AddLabel(yes, "EMA5 & EMA13 = Dark Green & Red", Color.DARK_GREEN); AddLabel(yes, "EMA34 & EMA50 = Green & Light Grey", Color.GREEN); AddLabel(yes, "EMA72 & EMA89 = Blue & Yellow", Color.BLUE); read more

Now that the dust has settled … NFT’s & Me

Understanding emerging technologies even if it is legitimately part of a consumer hype is something I have always enjoyed getting involved in. Like financial investments, buying the rumor and selling the news, is a mantra I have lived by when it comes to new opportunities. NFT’s as part of the larger Web3 stack were one of these hyped booms no different than the Metaverse and Quantum Computing, all hype, thanks to the media. Now that the dust has settled a little, the trough of disillusionment is set in, here are a few of my experiences and insights from my journey with the technology.

Most expensive NFT ever sold? EVERYDAYS: The first 5000 Days @ $69.3M

No different to the other emerging technologies, I like to familiarize myself with applications, solutions or use-cases that these technologies can offer through learning and experimenting – and based on my experience, needs or scenarios, how I could build something to help me gain an understanding – just enough so I can pitch it to my friends or kids 🙂 During the NFT hype I spent some time minting my own original artwork of yes, you guess it, the simplest of art I am capable of … stick figures. The process is quite straight forward, and if it was not for the cost (at the time around $200 per contract) I probably would have created a few more. My primary concern with NFT’s was, and still is, the value of “binary code” is $0. Thanks to binary, and the underlying foundation of computing, anything rendered on a display can also be copied, cached, downloaded, cloned and subsequently modified, in essence, digital art, graphics and photos are reproducible and it’s no different with NFT’s. There is no stopping you, right clicking, downloading and minting the exact same NFT from my artwork, sure it might not be original, but you could claim it is, and you may have a higher marketing budget to reach a larger audience, and I am out … Physical artwork is much harder, while clones, reproductions and replicas do exist, authenticity is relatively easier to guarantee to your buyers. How do art based NFT’s overcome this? Is there a solution in the near future? Is this only my concern, or a common one? Would you pay for NFT art?
read more

Golf Shaft Labels

This was a short lived, fun start up idea I had around creating personalized and custom stickers for golf clubs. The idea was spurred as a culmination of three problems:

First, leaving a club out on the course somewhere is very common and easy to do, but getting the club back … is not as easy. Often you only find out that you lost it days, or weeks later, and then having to call the golf course, describe the club, day, and location that it was lost, is a tedious and stressful job. when a set of clubs can cost well over $1,000 and a replacement often costing around $120. By having at least your name, and optionally your phone number on the club, it dramatically increases the chances of you getting your lost item back. read more

Apple Shortcuts Gallery

Siri Shortcuts deliver a quick way to get things done with your apps with just a tap or by asking Siri. The Shortcuts app on your phone enables you to create personal shortcuts with multiple steps from your favorite apps. Shortcuts are powerful tools and easily shared.

The Apple Shortcut Gallery is a simple web application with a user created collection of Apple Shortcuts, or Siri Shortcuts. Start from hundreds of examples in the Gallery or drag and drop to create your own. This gallery is a way to share those you find valuable for others.

[This idea was generated by my previous manager, and I think it was a solid idea or concept to build, but I think internally to an organization, these types of applications generally don’t get or receive the attention they deserve.] read more

Travel: Daufuskie Island, GA

Daufuskie Island, located just off the coast of South Carolina is a picturesque barrier island renowned for its natural beauty, rich history, and unique culture. With a population of under 500 residents, the island offers a serene escape from the mainland, boasting pristine beaches, lush maritime forests, and abundant wildlife. Notable for its Gullah Geechee heritage, Daufuskie Island has preserved the traditions and language of the African descendants who settled there during the 18th and 19th centuries.

My Grocery Shopping List

FOODSTUFFSHOUSEHOLD
Fresh vegetablesBaked goodsSnacksDairyPersonal careMonday
· Carrots· Bagels / Croissants· Cookies· Butter / Margarine· Antiperspirant / Deodorant
· Cauliflower· Buns / Rolls· Crackers· Milk· Bath soap / Hand soap
· Corn· Fresh bread· Dried fruit· Sour cream· Cotton swabs / Balls
· Cucumbers· Pita bread· Granola bars / Mix· Yogurt· Facial cleanser
· Lettuce / Greens· Muffins· Nuts / Seeds· Drinking Yoghurt· Facial tissue
· Mushrooms· Wraps· Oatmeal· Eggs· Feminine productsTuesday
· Onions· Popcorn· Orange Juice· Floss
· Peppers· · Apple Juice· Lip balm
· Potatoes· · English muffins· Moisturizing lotion
· SpinachSeafood· Heavy Cream· Mouthwash
· Squash· SalmonBakingkombucha · Razors / Shaving creamWednesday
· Zucchini· Shrimp· Baking powder / Soda· Shampoo / Conditioner
· Tomatoes· Tuna· Bread crumbs· Toilet paper
· Butternut· · Cake / Brownie mix· Toothpaste
· · · Flour· Vitamins / Supplements
· Sugar· 
· Yeast· Thursday
Fresh fruitsCondiments / Sauces· Cheese
· Apples· BBQ sauce· · Cheddar
· Avocados· Honey· Cottage cheeseKitchen
· Bananas· Jam / Jelly / PreservesMeat· Cream cheese· Aluminum foil
· Berries· Ketchup / Mustard· Bacon / Sausage· Feta· Napkins
· Cherries· Mayonnaise· Beef· Mozzarella· Non-stick sprayFriday
· Grapefruit· Pasta sauce· Chicken· Parmesan· Paper towels
· Grapes· Salad dressing· Ground beef / Turkey· Provolone· Plastic wrap
· Kiwis· Syrup· · Swiss· Sandwich / Freezer bags
· Lemons / Limes· · · · Wax paper
· Melon· · 
· Nectarines· Saturday
· OrangesDry FoodPets
· Peaches· CerealBeverages· Cat food / TreatsCleaning products
· Pears· Mac & cheese· Beer· Cat litter· Air freshener
· Strawberries· Pancake / Waffle mix· Bathroom cleaner
· Blackberries· Pasta· Bleach / Detergent
· Mango· Peanut butter· Dish / Dishwasher soapSunday
· Rice· Garbage bags
DeliVarious groceries· Glass cleaner
· Ham· Tea· Mop head / Vacuum bags
· HotdogsCanned foodsFrozen· Vegetable oil· Sponges / Scrubbers
· Lunchmeat· Baked beans· Fries / Tater tots· Vinegar· 
· Turkey· Tuna / Chicken· Ice cream / Sorbet·  Taco Kit· 
· Rotisserie Chicken· Soup / Chili· Vegetables· 
· Tomatoes· Garlic BreadWhen you go…
· Veggies· Pancakes· Take reusable bags!
· · Pies· Plastic bags to recycle?
· Waffles· Coupons
· Use customer reward card?
· Need to return anything?