OPEN-SOURCE SCRIPT
Cập nhật The Secret Sauce [divonn1994]

Indicates a positive buy signal when:
1) the ema close is about the ema open
2) Weis Waves are positive
3) There is a Green Candle
Indicates a sell signal when:
1) there is a red candle
2) the ema clos is below the ema open
This helps you get in at the beginning of every trend but mitigates losses if a downtrend occurs
I like to use it with 4 hour candles. I haven't tried it with lower scales.
1) the ema close is about the ema open
2) Weis Waves are positive
3) There is a Green Candle
Indicates a sell signal when:
1) there is a red candle
2) the ema clos is below the ema open
This helps you get in at the beginning of every trend but mitigates losses if a downtrend occurs
I like to use it with 4 hour candles. I haven't tried it with lower scales.
Phát hành các Ghi chú
Author @divonn1994Shoutout to LazyBear for the Weis Waves
I like to use this indicator with 45 minute candles for BTC . I haven't tried it with lower scales.
My apologies if the syntax for some of the code is weird. I'm used to c++ and this is the first time I'm coding using PineScript.
This indicator attempts to tell you when you should buy into or sell out of a position. I combined some of my favorite indicators to make the buy signal.
Indicators used: Stochastic RSI , Weis Wave Volume , EMA open, EMA close, and classification of candle size. As well as a few conditional statements I came up with to try my best to get rid of false uptrend signals.
I’m trying to get in at the beginning of every potential uptrend, while mitigating losses during a potential downtrend.
The main idea is that when the indicator switches to 1 that's when you buy, when the signal switches to 0 that's when you sell. If you want an alert i recommend
setting an alarm for when the indicator crosses 0.5, once per bar close. That's what I do.
The settings I have as default are for the 45 minute time interval for BTC . Also this is for more of a bear market at the moment. Increasing the time intervals or a change to a bull market would need an increase in the input settings for timesBigger, crumbSize, crumbSize2 and bigCandleInputSize. This is due to the fact the candles, on average, can be much bigger when these changes occur. I have yet to mess with the settings so I have no recommendations to give. Again, my apologies.
I am currently working on version 3.0
Any ideas to improve my code? I'm all ears. I want to make an indicator that will just tell me when to trade. I want to get rid of the need to be staring at charts all of the time. Isn't that the dream?
I’m trying to find that “secret sauce” that puts me ahead of the game.
*so sorry, I attached my email to my last version which got me a warning*
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.