Daveatt

Candles - Cheat Sheet

What is up y'all ? (french trying to sound American)

I found that in my script archives, way back in an old cave. I think this might be useful as a few really asked me how to define a green/red candle, how to capture the wick value, the body, etc..

This is not a fancy script as usual and I'm sure they're plenty of candles pattern scripts out there but I saw no one sharing a simple candle cheat sheet for pinescript coding

Being able to define candles using codes is an essential skill to have for any Pinescripter

Still on the train so won't write a roman as usual... Kidding... I actually did it here What-is-an-Hard-Exit-and-a-few-notes-on-trading-management/
It won't bring me as many likes as any magic p**p cannon accounts promising the moon at each trade but if I can help at least 1 trader a day not losing his/her money, I'll be happy and my daily goal will be fulfilled

All the best
Dave

____________________________________________________________

Be sure to hit the thumbs up

- I'm an officially approved PineEditor/ LUA /MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python
Sürüm Notları: - Bug fixed
Sürüm Notları: - The proof that drinking too much wine and sharing a scirpt is not compatible. another bug fixed
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu komut dosyasının yazarı açık kaynak olarak yayınladı, böylece yatırımcılar bunu anlayabilir ve doğrulayabilir. Yazara tebrikler! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları tarafından belirlenmektedir. Bir grafikte kullanmak için favorilerinize ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?
💰 Results/Blogs: https://bit.ly/2ULUtjo

⏩ Signals/Pricing: https://best-trading-indicator.com/pages/pricing

🐦 Twitter: https://twitter.com/bti_trading

👉 Get a $30 discount on TradingView: https://bit.ly/2UM5OA0

📺 Youtube: https://bit.ly/3bKvnZu

Yorumlar

Dave, why do I only have green candles? No red candles. And can this script be used as a signal? If the green candle, then this is a buy signal?
Cevap Gönder
Daveatt AlexKeys
@AlexKeys, because I only plotted one of the pattern. I did the script when I was travelling so I was a bit lazy to do more
You'll need to copy the script and update the alerts yourself on that one. Should be easy enough... Let me know
2/ this script must not be used as signals in its current state. I made it for educational purpose first and foremost. The candles patterns at the very bottom of the scripts aren't real patterns, I invented them to show that you can capture any sequence of candles and use that a signal for your own indicator/strategy
+2 Cevap Gönder
AlexKeys Daveatt
@Daveatt, Added 2 lines ***. It is right? I got red candles :)

ThreeGreenCandles = GreenCandle and GreenCandle and GreenCandle
***ThreeRedCandles = RedCandle and RedCandle and RedCandle

barcolor(ThreeGreenCandles ? color.lime : na, offset=-2)
***barcolor(ThreeRedCandles ? color.red : na, offset=-2)
Cevap Gönder
Daveatt AlexKeys
@AlexKeys, not totally but that's a good start
ThreeRedCandles = RedCandle and RedCandle and RedCandle
Calling "RedCandle" without the bracket will only refer to the last candle of the sequence. FYI RedCandle is the same as RedCandle. To access the previous RedCandle before RedCandle, we use RedCandle, and so on and so forth
Cevap Gönder
AlexKeys Daveatt
@Daveatt,
Sorry. I do not understand what needs to be changed?
Cevap Gönder
Daveatt AlexKeys
@AlexKeys, tradingview removed the brackets from my comment lol....
***ThreeRedCandles = RedCandle and RedCandle and RedCandle
Cevap Gönder
Ana Sayfa Hisse Senedi Takipçisi Forex Takipçisi Kripto Takipçisi Ekonomik Takvim Hakkında Grafik Özellikleri Ücretlendirme Tanıdık yönlendirme Kurallarımız Destek Merkezi Web Sitesi & Aracı Kurum Çözümleri Görsel Bileşenler(Widget) Grafik Çözümleri Hafif Grafik Kitaplığı Blog ve Haberler Twitter
Profil Profil Ayarları Hesap ve Ödemeler Tavsiye edilen arkadaşlar Koinler Destek Kayıtlarım Destek Merkezi Özel Mesajlar Sohbet Çıkış