Camarilla Pivot Points V2

10626 просмотров
Camarilla pivot point formula is the refined form of existing classic pivot point formula.
The Camarilla method was developed by Nick Stott who was a very successful bond trader.
What makes it better is the use of Fibonacci numbers in calculation of levels.

Camarilla equations are used to calculate intraday support and resistance levels using
the previous days volatility spread. Camarilla equations take previous day’s high, low and
close as input and generates 8 levels of intraday support and resistance based on pivot points .
There are 4 levels above pivot point and 4 levels below pivot points . The most important levels
are L3 L4 and H3 H4. H3 and L3 are the levels to go against the trend with stop loss around H4 or L4 .
While L4 and H4 are considered as breakout levels when these levels are breached its time to
trade with the trend.

- For purpose educate only
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?
Donate BTC: 13fXLkhWuGMXRmcvwkG2gaWKcnsiD88bwE


Can we make this not repaint when using daily pivot in lower timeframes?
+1 Ответить
As usual u r the best excellent work..keep it up..
+1 Ответить
HPotter Pollard
@Pollard, Thank you.
There seems to be an issue when using the Daily Pivots on lower timeframes, when the Pivot point re-calculates at each candle, it uses the current Daily Prices and moves slightly. When yoy refresh the screen it works OK.

This seems to be solved by using the Previous Day's data and the barmerge function eg

xHigh = security(syminfo.tickerid,res, high, barmerge.gaps_off, barmerge.lookahead_on)
xLow = security(syminfo.tickerid,res, low, barmerge.gaps_off, barmerge.lookahead_on)
xClose = security(syminfo.tickerid,res, close, barmerge.gaps_off, barmerge.lookahead_on)
Hi HPotter, would you know how to project the pivot lines into the next period before it opens?
HPotter AzuraTrades
@AzuraTrades, I do not know. Sorry.
Very detail explanation; Thank You HPotter <3
@ICEKI, You are welcome.
+1 Ответить