HPotter

Pivot Point

20973 lượt xem
6608
20973 7
Pivot points simply took the high, low, and closing price from the previous period and
divided by 3 to find the pivot . From this pivot , traders would then base their
calculations for three support, and three resistance levels. The calculation for the most
basic flavor of pivot points , known as ‘floor-trader pivots’, along with their support and
resistance levels.
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 10/07/2014
// Pivot points simply took the high, low, and closing price from the previous period and 
// divided by 3 to find the pivot. From this pivot, traders would then base their 
// calculations for three support, and three resistance levels. The calculation for the most 
// basic flavor of pivot points, known as ‘floor-trader pivots’, along with their support and 
// resistance levels.
////////////////////////////////////////////////////////////
study(title="Pivot Point", shorttitle="Pivot Point", overlay = true)
width = input(2, minval=1)
xHigh  = security(tickerid,"D", high[1])
xLow   = security(tickerid,"D", low[1])
xClose = security(tickerid,"D", close[1])
vPP = (xHigh+xLow+xClose) / 3
vR1 = vPP+(vPP-xLow)
vS1 = vPP-(xHigh - vPP)
vR2 = vPP + (xHigh - xLow)
vS2 = vPP - (xHigh - xLow)
vR3 = xHigh + 2 * (vPP - xLow) 
vS3 = xLow - 2 * (xHigh - vPP)
plot(vS1, color=#ff0000, title="S1", style = circles, linewidth = width)
plot(vS2, color=#ff002a, title="S2", style = circles, linewidth = width)
plot(vS3, color=#ff014a, title="S3", style = circles, linewidth = width)
plot(vR1, color=#009600, title="R1", style = circles, linewidth = width)
plot(vR2, color=#006F00, title="R2", style = circles, linewidth = width)
plot(vR3, color=#004900, title="R3", style = circles, linewidth = width)
DONATE/TIP

BTC: 3FKWwtaYrf5NHZzaCi1fyAfQj7XSgtyCqe
Nice job man! Tks for this !!!!!
Phản hồi
Hi, Can I load this into MT4 indicators and how is that done exactly I'm not sure as I thought copy and paste.
Will I have to make a new folder within my indicators.
Appreciate your help.
John
+1 Phản hồi
HPotter jayceetrader
I think it is not possible.
Phản hồi
@HPotter,

This works great on intraday charts. Is there anyway I can get the weekly or monthly pivots plotted when viewing the daily chart for example?
+10 Phản hồi
Hello,

I know this is a stupid question, but how can I add this to my charts? Haha


Thanks a lot!
+8 Phản hồi
HPotter, any way to modify the indicator to customize the data that is included in the calculation. For example, I want to use the indicator for ES futures, and on this platform I can't choose to only include Standard Session data (9:30 am EST to 4:00 PM EST). Anyway to modify the indicator to only include Hi/Low data from a certain timeframe? Just an idea to enhance, would really be useful to me. Thanks for your time and contributions.
Phản hồi
HPotter TraderLuke63
I don`t know. This script take a daily data for calculating. This datas from TV datafeed and I don`t know how we can make modified daily session. Also I do not have a intraday data for ES and I can not testing it.
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ế Cách thức hoạt động Tính năng Biểu đồ Giá Quy tắc Áp dụng Người điều hành Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Trung tâm Trợ giúp Yêu cầu tính năng Blog & Tin tức Câu hỏi thường gặp Wiki Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Đồng TradingView Ticket Hỗ trợ của tôi Trung tâm Trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất