Jauqius

Automatic Risk to Reward Pivots

Jauqius Cập nhật   
In a nutshell I was tired of guestimating what my risk was between pivots when getting into trades I went to work on the basic math behind the relationship of the pivots to find their natural risk to reward ratios.

The natural risk to rewards span high and low...for example...you can go from the S3 --> R3 and that R:R is with a stop loss of the S4 is 7.4

But making all of those possibilities in code is excessive and for simplicity sake I price can only be between two pivot areas at any point in time.

So this auto risk to reward is limited to the 2:1 opportunities. If you by chance do the math for all of the possibilities as I have then it would be easy to change the Take Profit levels.

I use the fibonacci pivot points in this indicator but I include the mid levels and further extensions totaling 20 levels, 21 including the pivot.

Here they are...the generic plots are bolded...the additional levels are the other fib levels

R7 - 200%
R6 - 162%
R5 - 141%
R4 - 127%
R3 - 100%
R-C - 76%
R2 - 62%
R-B - 50%
R1 - 38%
R-A - 24%
Pivot
S-A - (24%)
S1 - (38%)
S-B - (50%)
S2 - (62%)
S-C - (76%)
S3 - (100%)
S4 - (127%)
S5 - (141%)
S6 - (162%)
S7 - (200%)

The indicator give you the setups for uptrends and downtrends based on the pivot point moving averages (ex. ema(hlc3, 34)) from a higher timeframe which you will be free to change yourself in the inputs.

For my setup, I trade from the daily pivots using the 10m or 5m chart so my next level up is the weekly pivots which I view using the 1H chart candles.

In the next iterations I will add the ability to change the MA lengths.

Pivot Point Moving average lengths

Weekly lengths - fast 34 : slow 55
Monthly lengths - fast 13 : slow 34
Yearly lengths - fast 13 : slow 34

Rules for Uptrends
Fast MA > Slow MA
Session high < r6

Rules for Downtrends
Fast MA < Slow MA
Session high > s6

Timeframes applicable are only those who have a higher pivot set above it
Monthly_SR = 240m, 300m, D
Weekly_SR = 26m, 30m, 60m
Daily_SR = 1m, 3m, 5m, 10m, 15m

Your take profit line will always populate where your risk will be 2:1

Your stop loss will always be one pivot level underneath or above your entry

Feel free to ask any questions. Trade well my friends!
Phát hành các Ghi chú:
Release Notes: v1.1
Fixed the repainting issue
Added labels on the other side of the pivot to label which pivot is showing for the TP, Entry and SL, respectively.
Phát hành các Ghi chú:
Release Notes: v1.2
Cleared out unused code
Phát hành các Ghi chú:
Release Notes: v1.3
Corrected trend identification
Corrected bull sentiment syntax for TF using the monthly period
reduced use of the security function to increase compile time
Phát hành các Ghi chú:
Release Notes: Release Notes: v1.4
Color inputs added
Phát hành các Ghi chú:
Release Notes: v 1.5
Drastically reduced compile time
Removed small bug where old lines would show
Phát hành các Ghi chú:
v1.6
More code clean up and taken care of the repainting issue.

Just wanted to a drop a gentle reminder that this tool is best used when along side the Standard Fibonacci Pivot Points.

The tool produces 2:1 risk to reward trades as the prices progresses through the periods pivots, it is not a static tool...I plan to add that functionality at a different date.

You will find that the default TV pivot point indicator does not the A,B,C...etc levels that the tool may show. That is ok. Those levels are added fibonacci ratios that you can find on my script Standard Fibonacci Pivot Points

The tool populates for longs or short based on two exponential moving averages which I had added an input for so you can change them yourself.
Phát hành các Ghi chú:
v2.0

This is a complete overhaul of the script see updates below

█ OVERVIEW

 • Script is 10x faster
 • Added ability to FREEZE levels into place for after you have entered your trades
 • Can choose your entry manually
 • Now shows 1 to 1, 2 to 1, 3 to 1 and 4 to 1 trading opportunities
 • Labeling is significantly better allowing this tool to be used without the use of the Standard Fibonacci Pivot Points indicator
  • Added tooltips explaining
 • Lines will populate correctly for any timeframe
 • Removed directional logic
 • Added ability to choose whether to show LONG or SHORT trading opportunities
 • Complete control over line styles and colors

█ HOW TO USE

 • The script can be used as an overlay of the Standard Fibonacci Pivot Point Indicator or as a standalone tool

1 — add to chart
2 — using the pivot levels and your trading methodology, find a favorable entry
3 — use the long or short position tool provided by tradingview to place trading orders at the levels provided on the chart (Entry, Stop Loss, Take Profit)
4 — If you are using multiple TPs you will have to manually add the order in
Phát hành các Ghi chú:
v2.1

█ OVERVIEW

 • Added a new input 'System Type' which gives you the ability to risk either a half pivot level or a full pivot level
  • Examples
    • Half Level — Entry: R1; Stop Loss: R-A
    • Full Level — Entry: R1; Stop Loss: Pivot
Tập lệnh chỉ hiển thị cho người được mời

Quyền truy cập vào tập lệnh này bị hạn chế đối với người dùng được tác giả ủy quyền và thường yêu cầu thanh toán. Bạn có thể thêm nó vào mục yêu thích của mình, nhưng bạn sẽ chỉ có thể sử dụng nó sau khi yêu cầu sự cho phép từ tác giả. Liên hệ Jauqius để thêm thông tin, hoặc làm theo hướng dẫn của tác giả bên dưới.

TradingView không đề xuất trả tiền cho một tập lệnh và sử dụng cho đến khi bạn hoàn toàn tin tưởng tác giả và hiểu cách thức hoạt động của tập lệnh. Trong nhiều trường hợp, bạn có thể tìm thấy một giải pháp thay thế nguồn mở miễn phí trong Thư viện Công cộng của chúng tôi.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Hướng dẫn của tác giả

Please visit our website to attain access to the script. Tradingwithpivots.com

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Cảnh báo: vui lòng đọc trước khi yêu cầu quyền truy cập.