All in One Strategy

True improvement over my previous script. This script adds in all of the complementary indicators, makes it truly easy to adjust the inputs, and has produced a real world net gain using the TradingView bots paired with any broker's API that is supported.

It has a selection for which strategy you'd like to use and due to limitations in Pine I cannot program in logic to make sure you only pick one, so you need to make sure you are only picking one.

To tweak the Connors option - it only depends on the RSI length variable, everything else is hard coded and tweaked for Crypto.

To tweak the MACD - play around with the min and max values of the RSI for lookback and the amount of candles to lookback. Then tweak the fast and slow MA lengths. I have found that a fast length of 3 or 4 and a slow length between 6 and 10 will yield the highest gains.

Also, when I was a young Noob I thought using a chart timeframe of 5 minutes was the it wasn't. I lost my ass. Don't lose yours. I highly suggest sticking with a 30 minute timeframe, you will minimize losses caused by false triggers, have less trades and higher profits. More is not always better, trades that may sell one day and then buy six days later are normal. Leave it do its magic and you'll be very happy in the end.
Phát hành các Ghi chú: Have you ever wished for a Really Stupid Indicator (RSI) strategy that really worked? Well, alone it will never work. But, when paired with some actual mathematical logic to cross check for a true sell and buy condition it can do wonders. Look no further, with this update I bring you a vastly improved All in One strategy that has the true Holy Grail of RSI strategies built in. I have tweaked it that Long and Short can coexist peacefully within a single strategy to be unleased at the same time without the dumbass overlap you see with other strategies closing a long and starting a short at the same time as if by magic. To prove it works, I tried it with an Alt Coin - EOS. Here are the settings I used to produce these wonderful results. Oh...and NO REDRAWING!!! Of note, this is not for the squeamish and fidgety trader that expects a quick buy and sell to happen instantly as the price rises and falls. The average number of bars that buys and sells occur on is 278 bars at 30 minutes in this example, which amounts to 139 minutes for those that can't math.

Backtested on EOSUSD pair on Coinbase.

30 minute chart time.

Initial Capital = 829.92

Start Time = 1 April 2021 00:00
End Time = 31 December 2021 00:00

Trade Type = Long/Short
Stop Loss % = 10
Target Profit % = 52.14

RSI Length = 14
Overbought = 62
Oversold = 35

Overbought Lookback Minimum Value = 51
Overbought Lookback Bars = 25
Oversold Lookback Minimum Value = 42
Oversold Lookback Bars = 35

Max Lookback Period = 5

K = 4
D = 12

Everything else not mentioned is default. The default strategy of this script is RSI, so behold the minimal loss of pennies and it's ability to adapt to changing market conditions via the dynamic RSI calculation built into it.
Phát hành các Ghi chú: Fixed some issues reported to me on the EMA function, found the issue in one of the lines of code and apologize to anyone who ran into similar issues.

I am still working on the Price Percentage function you see in here, I plan to make another update in the next few days once I have this worked out so it does not impact the function of the rest of the strategy.

I am also working on a guide I'll publish with the next update on how to fully use this strategy.
Mã nguồn mở

Với tinh thần của TradingView, tác giả đã xuất bản tập lệnh theo mã nguồn mở, vì thế trader có thể dễ dàng hiểu và tùy chỉnh được. Bạn có thể sử dụng miễn phí, hoặc tùy chỉnh lại mã đã được cấp phép bởi Quy tắc Chung. Bạn có thể sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?
Performers follow, high performers break from convention.

Bình luận

I like the strategy but is there a way to convert this easily to a study? I would really like to use this along with other indicators. nice!
500 xu
Phản hồi
Solutions1978 mmarano869
@mmarano869, here it is as a study:
Phản hồi
mmarano869 Solutions1978
@Solutions1978, Can you explain this a little better? All these colors are throwing me for a loop but I like the concept of combining them all into one script. Thank you! Also explaining how to exactly use the indicator properly.
+1 Phản hồi
Hi sir ,

Can you make this a study pls ?

And does it repaint or not? thx
+1 Phản hồi
@NYTRADE, no repainting. Here is the converted study:
+1 Phản hồi
Blueprintsud Solutions1978
@Solutions1978, you are a legend :) my friend
Phản hồi
My bad...I see you can choose long or short,,, your way ahead of me, S..1978
Phản hồi
Thanks, Solutions 1978...for most of us in the U.S., shorting is not an option. Is there a way to turn off the shorting part of this?
Phản hồi
Maybe the best indicator script I’ve seen, however I’m likely losing my mind picking 1 strategy…not so much which one, but how to actually just make it one. Any chance you can detail a bit of the “how” to pick the strategy in the properties?
Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Giới thiệu Tính năng Biểu đồ Trả phí Giới thiệu bạn Quy tắc Áp dụng Trung tâm Trợ giúp Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Thư viện Biểu đồ Lightweight Blog & Tin tức Twitter