Skip to main content

183 posts tagged with "TradingView"

Blog posts related to the TradingView

View All Tags

Pine Script: Closing Positions at End of Day

· 6 min read

You know that feeling when you're holding a position overnight and can't sleep because you're worried about what might happen while the markets are closed? Yeah, I've been there too. That's why I started automatically closing my day trades before the market closes.

If you're using Pine Script on TradingView, there are some pretty straightforward ways to set this up. Let me walk you through how I do it.

Pine Script day trading example

Pine Script Colors Guide

· 5 min read

So you're getting into Pine Script and want to make your charts look better? One of the easiest ways to do that is by using colors smartly. I used to just throw random colors at my indicators until I learned there's actually a method to this madness.

Pine Script Colors Example

How to Change Candle Colors in Pine Script (It's Easier Than You Think!)

· 5 min read

Ever looked at your TradingView charts and thought, "Man, these candles all look the same"? I totally get it. When you're staring at hundreds of candles trying to spot patterns, having them change colors based on what's actually happening can be a game-changer.

Today I'm going to show you how to make your candles change colors in Pine Script. We'll start with a simple example using volume (because let's be honest, volume tells us a lot about what's really going on), but once you get the hang of it, you can make them change based on pretty much anything.

Changing Candle Color in Pine Script

Using ATR Stop Losses in Pine Script - A Practical Guide

· 6 min read

Let's talk about something that probably frustrates every trader at some point: getting stopped out of a perfectly good trade because you set your stop loss too tight. Or worse, watching a trade go against you way more than it should have because your stop was too loose.

I've been there, and honestly, it took me a while to figure out that the problem wasn't my entries or exits - it was that I was using the same stop loss distance regardless of how crazy or calm the market was acting.

Pine Script ATR Stop Loss: Enhancing Trading Strategies