INVITE-ONLY SCRIPT

[Camarilla Pivots] Signal Clean Up Analysis with Backtest (TSO)

Updated
Camarilla Pivots NEW GEN Indicator!

This is a full-cycle trading system indicator, which uses Camarilla Pivots for generating signals using a custom developed algorithm, TP (Take Profit) and SL (Stop Loss) levels. There are 3 SOURCES for signals (each can be used separately or in combination or all 3 can be used at the same time, each signal SOURCE is using Camarilla Pivots levels to open optimal trade direction) with chained (NOTE: There are many potential profitable setups available, by combining clean up features availabe in the indicator settings!) signal cleanup and analysis approach with scheduling and alerting capabilities. Works best with shorter timeframes: 1M, 5M, 15M, 1H.

NOTE: Every calculation is done on a confirmed closed candle bar state, so the indicator will never repaint!
NOTE: At position open - there will be calculated Take-Profit and Stop-Loss targets, however each target is considered hit, when candle bar closes breaking that target, so Take-Profit and Stop-Loss when hit will slightly differ then what you see at position open!
===========================================================================

Explanation of all the Features | Configuration Guide | Indicator Settings | Signal Cleanup Analysis
---------------------------------------------------------------------------
>>> Customizable Backtesting for a specific date range, results via TradingView strategy, which includes “Deep Backtesting” for largest amounts of data on trading results.

>>> Trading Schedule with customizable trading daily time range, automatic closing/alert trades before Power Hour or right before market closes or leave it open until next day.

>>> 3 Trading Systems.

>>> Multiple Signal SOURCEs for opening trades, either SOURCE can be used or both at the same time!

>>> Static/Dynamic Stop-Loss setups (HIGHLIGHT: Stop-Loss will be moved to Entry after TP1 is taken, which minimizes risk).

>>> Single or Multiple profit targets (up to 5).

>>> Take-Profit customizable offset feature (set your Take-Profit targets slightly before everyone is expecting it!).

>>> Candle bar signal analysis (matching candle color, skip opposite structured and/or doji candle uncertain signals).

>>> Additional analysis of VWAP/EMA/ATR/EWO (Elliot Wave Oscillator)/Divergence MACD+RSI/Volume signal confirmation (clean up your chart with indicator showing only the best potential signals!).

>>> Advanced Alerts setup, which can be potentially setup with a trading bot over TradingView Webhook (NOTE: This will require advanced programming knowledge).
===========================================================================

Labels, plots, colors explanations:
---------------------------------------------------------------------------
>>>>> LONG open: green "house" looking arrow below candle bar.

>>>>> SHORT open: red "house" looking arrow above candle bar.

>>>>> LONG/SHORT take-profit target: green/red circles (multi-profit > TP2/3/4/5 smaller circles).

>>>>> LONG/SHORT stop-loss target: green/red + crosses.

>>>>> LONG/SHORT take-profit hits: green/red diamonds.

>>>>> LONG/SHORT stop-loss hits: green/red X-crosses.

>>>>> LONG/SHORT EOD (End of Day | Intraday style) close (profitable trade): green/red squares.

>>>>> LONG/SHORT EOD (End of Day | Intraday style) close (loss trade): green/red PLUS(+)-crosses.
===========================================================================

Date Range and Trading Schedule Settings
---------------------------------------------------------------------------
>>>>> Date Range: Select your start and/or end dates (uncheck “End” for indicator to show results up to the very moment and to use for LIVE trading) for backtesting results, if not using backtesting – uncheck “Start”/“End” to turn it off.

>>>>> Use TradingView “Strategy Tester” to see backtesting results
NOTE: If Strategy Tester does not show any results with Date Ranged fully unchecked, there may be an issue where a script opens a trade, but there is not enough TradingView power to set the Take-Profit and Stop-Loss and somehow an open trade gets stuck and never closes, so there are “no trades present”. In such case you will need to manually check “Start”/“End” dates or use “Depp Backtesting” feature!

>>>>> Trading Schedule: This is where you can setup Intraday Session or any custom session schedule you wish. Turn it ON. Select trading hours. Select EOD (End of Day) setting (NOTE: If it will be OFF, the indicator will assume you are holding your position open until next day!). Please note the EOD trade closure times with the 2 different Intraday close settings when turned on:
At Market Close:
1/3/5min > will close at 15:55pm ET
15min > will close at 15:45pm ET
30min > will close at 15:30pm ET
45min > will close at 15:45pm ET
60min > will close at 15:00pm ET
Before Power Hour:
1/3/5min > will close at 15:00pm ET
15min > will close at 15:00pm ET
30min > will close at 15:00pm ET
45min > will close at 15:00pm ET
60min > will close at 15:00pm ET

>>> Trading Systems: 1) "Open Until Closed by TP or SL": the signal will only open a trade if no trades are currently open/trunning, a trade can only be closed by Take Profit, Stop Loss or End of Day close (if turned on) | 2) "Open Until Closed by TP or SL + OCA": Same as 1), but if there is an opposite signal to the trade which is currently open > it will immediately be closed with new trade open or End of Day close (if turned on) | 3) "OCA (no TP or SL)": There are is Take Profit or Stop Loss, only an opposite signal will close current trade and open an opposite one or End of Day close (if turned on).

>>> Position Open sources:
>>>>> Position Open - SOURCE1 | LONG: S3, SL: S4, TP1: R3, TP2: R4, TP3: R5, TP4/5: Smart Formula | SHORT: R3, SL: R4, TP1: S3, TP2: S4, TP3: S5, TP4/5: Smart Formula
>>>>> Position Open - SOURCE2 | LONG: R4, SL: R3, TP1: R5, TP2/3/4/5: Smart Formula | SHORT: S4, SL: S3, TP1: S5, TP2/3/4/5: Smart Formula
>>>>> Position Open - SOURCE3 | LONG: R5, SL: R4, TP1/2/3/4/5: Smart Formula | SHORT: S5, SL: S4, TP1/2/3/4/5: Smart Formula

>>> Turn On/Off: Current Position SL + Opposite Position Open Signal on the same closing candle bar (If current trade hits Stop-Loss and at that same closing candle bar there is a signal for an opposite direction trade > indicator will close current position as Stop-Loss and immediately open an opposite position). NOTE: With this option turned on, there will be more trades, but not necessarily better results, since after Stop-Loss is hit, it may make sense to wait a little before opening an opposite trade, even if it matches the condition at the same time when Stop-Loss is hit, but sometimes it shows great results, so this setting/feature is included.

>>> Turn On/Off: Turn On/Off: Current Position REGULAR SL | Only the SL + Opposite Position Open will trigger if turned on, IF NOT - THERE WILL BE NO STOP-LOSS AT ALL!!! NOTE: It is very dangerous to trade without Stop-Loss!

>>>>> Signal Candle Bar consuming Take-Profits - position/trade signal candle bar is big enought to "consume"/close ahead the first TP setting > the signal can either be skipped, or all Take-Profit areas pushed ahead using smart formula)

>>>>> MULTIPROFIT | TP (Take-Profit) System: Once the trade is open, all Take-Profit target(s) are immediately calculated and set for the trade > once the target(s) is hit > trade will be partially closed (if candle bar closes beyond several Take-Profit targets > trade will be reduced accordingly to the amount of how many Take-Profit targets were hit)

>>>>> MULTIPROFIT | SL (Stop-Loss) System: 1) Static – Once the trade is open, Stop-Loss is calculated and set for the remaining of the trade ||| 2) Dynamic – At trade open, Stop-Loss is calculated and set the same way, however once 1st Take-Profit is taken > Stop-Loss is moved to Entry, reducing the risk.

>>>>> # of TPs (number of take profit targets): Just like it is named, this is where you select the number of Take-Profit targets for your trading system (NOTE: If "OCA (no TP or SL)" Trading System is selected, this setting won’t do anything, since there are no TP or SLs for that system).

>>>>> TP(s) offset: This is a special feature for all Take-Profit targets, where you can turn on a customizable offset, so that if the price is almost hitting the Take-Profit target, but never actually touches it > you will capture it. This is good to use with HHLL (Highest High Lowest Low), which is pretty much a Support/Resistance as often the price will nearly touch these strong areas and turn around…
===========================================================================

Signal Analysis and Cleanup Settings
---------------------------------------------------------------------------
>>>>> Candle Analysis | Candle Color signal confirmation: If closed candle bar color does not match the signal direction > no trade will be open.

>>>>> Candle Analysis | Skip opposite candle signals: If closed candle bar color will match the signal direction, but candle structure will be opposite (for example: bearish green hammer, long high stick on top of a small green square) > no trade will be open.

>>>>> Candle Analysis | Skip doji candle signals: If closed candle bar will be the uncertain doji > no trade will be open.

>>>>> Divergence/Oscillator Analysis | EWO (Elliot Wave Oscillator) signal confirmation: LONG will only be open if at signal, EWO is green or will be at bullish slope (you can select which setting you desire), SHORT if EWO is red or will be at bearish slope.

>>>>> Divergence/Oscillator Analysis | VWAP signal confirmation: LONG will only be open if at signal, the price will be above VWAP, SHORT if below.

>>>>> Divergence/Oscillator Analysis | Moving Average signal confirmation: LONG will only be open if at signal, the price will be above selected Moving Average, SHORT if below.

>>>>> Divergence/Oscillator Analysis | ATR signal confirmation: LONG will only be open if at signal, the price will be above ATR, SHORT if below.

>>>>> Divergence/Oscillator Analysis | RSI + MACD signal confirmation: LONG will only be open if at signal, RSI + MACD will be bullish, SHORT if RSI + MACD will be bearish.

>>>>> Volume signal confirmation: LONG/SHORT will only be opened with strong Volume matching the signal direction, by default, strong Volume percentage is set to 150% and weak to 50%, but you can change it as you desire.
===========================================================================
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
TP System - VERY IMPORTANT INFO!
-------------------------------------------------------------------------------------------------------------------
"TP PERCENTAGE" - amount by which current trade/position needs to be reduced/partially closed/sold.
-------------------------------------------------------------------------------------------------------------------
TP System: Dynamic
"TP PERCENTAGE" - will always be the same amount (trade/position size divided by the # of take-profit(TP) targets) and percentage to be closed will always be of the ORIGINAL trade/position.
-------------------------------------------------------------------------------------------------------------------
TP System: Static
"TP PERCENTAGE" - will always be the same amount IF take-profit(TP) targets are hit 1-by-1 (TP1 > TP2 > TP3 > TP4 > TP5), otherwise it will vary and unless it is a 1st take-profit(TP1), the REMAINING trade/position size will always be smaller than original and therefore the percentage to be closed will always be of the REMAINING trade/position and NOT the original one!
-------------------------------------------------------------------------------------------------------------------

"TP PERCENTAGE" CheatSheet (these are the only percentages you may see)
-----------------------------------------------------------------------
TP PERCENTAGE---Close/Sell Amount-------------Example (trade size: 50 stocks)
20%-------------trade size * 0.2--------------50 * 0.2 = 10 stocks
25%-------------trade size * 0.25-------------50 * 0.25 = 12.5(~13) stocks
34%-------------trade size * 0.34-------------50 * 0.34 = 17 stocks
40%-------------trade size * 0.4--------------50 * 0.4 = 20 stocks
50%-------------trade size * 0.5--------------50 * 0.5 = 25 stocks
60%-------------trade size * 0.6--------------50 * 0.6 = 30 stocks
66%-------------trade size * 0.66-------------50 * 0.66 = 33 stocks
75%-------------trade size * 0.75-------------50 * 0.75 = 37.5(~38) stocks
80%-------------trade size * 0.8--------------50 * 0.8 = 40 stocks
100%------------trade size--------------------50 = 50 stocks
-----------------------------------------------------------------------

If for any reason a portion of the current/remaining trade closed at such occurrence was slightly wrong, it is not an issue. Such occurrences are rare and with slight difference in partial TP closed is not significant to overall performance of our algorithms.
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||

Alert Settings (you don’t have to touch this section unless you will be using TradingView alerts through a Webhook to use with trading bot)
---------------------------------------------------------------------------
Here is how a LONG OPEN alert looks like.
NOTE: Each label ["COIN"], ["ENTRY"], etc. is customizable, you can change the text of it within indicator Input settings.

ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
LONG: OPEN
ENTRY: 20000
TP1: 20500
TP2: 21000
TP3: 21500
TP4: 22500
TP5: 23500
SL: 19000
Leverage: 0
---------------------------------------------------------------------------

Here is how a TP1 alert will look with 5 TPs breakdown of the trade.
NOTE1: Next to TP1 taken it will show at which price it was triggered.
NOTE2: Next to "TP Percentage" it shows how much of the CURRENT/ACTIVE/REMAINING trade needs to be closed.
NOTE2: If TP2/3/4/5 comes before TP1 - the alert will tell you exactly how many percent of the trade needs to be closed!

ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
LONG: TP1
TP1: 20500
TP Percentage: 20%
---------------------------------------------------------------------------

Here is how an alert will look for LONG - STOP-LOSS.
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
ENTRY: 20000
LONG: SL
SL: 19000
---------------------------------------------------------------------------

Here is how an alert will look for LONG - EOD (End of Day) In Profit close.
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
LONG: EOD-Close (profit)
ENTRY: 20000
EOD-Close: 21900
===========================================================================

Adding Alerts in TradngView
---------------------------------------------------------------------------
-Add indicator to chart and make sure it is configured (check back-testing results)
-Right-click anywhere on the TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Alert name: Whatever you want
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
===========================================================================

If you have any questions or issues with the indicator, please message me directly via TradingView.
---------------------------------------------------------------------------
Good Luck! (NOTE: Trading is very risky, past performance is not necessarily indicative of future results, so please trade responsibly!)
---------------------------------------------------------------------------
NOTE: There seems to be a strange glitch when strategy is running live, it will show "double-take" take-profits labels on the chart. This is not affecting the script logic and backtesting results, if you will remove/re-add the script afterwards, it will no longer show the duplicate orders... this must be some sort of a glitch as every alert was thoroughly tested to make sure everything is working!
Release Notes
* Adjusted use_bar_magnifier to false by default, so that non-premium user accounts would not get study error (for Premium accounts - it can be turned on via Indicator Settings > Properties > Backtesting Precision)
Release Notes
* Fixed a minor plot issue where with large signal candle - 1st TP (TP1) gets consumed and input setting is set to 'Skip Signal', it would still show plot label, now it will include a white cross over it with "SKIP"
Release Notes
* Added an additional feature per custom request. There is a new stop-loss Inputs setting now (it is off by default), where if checked, it will remove SL (Stop-Loss) completely once TP1 is taken. It's right under the REGULAR SL Turn On/Off switch.

Setting name in the indicator Inputs:
"If checked > SL will be removed completely once TP1 is taken (NOTE: Unless there is EOD Close turned on, your trade may go very deep into loss and stay there for a while, so be careful with this setting, it was requested as a custom request.)"
Release Notes
* Added custom TP/SL hit setting to be alerted when the price actually hits those areas. Unfortunately Pinescript is failing to register strategy orders per such conditions, so for backtest - it will change results, but it will still count TP1/SL/etc. when candle fully closes, but it will alert you at touch

NOTE: This is a custom request. Settings are on the bottom of the Input settings of the indicator.
Release Notes
* So per previous custom addition, which would only alert you with "touch" TP/SL setting it got me thinking and then "challenge accepted!" and I finally was able to make backtesting work with these setings, so this is fully functional feature now! This very extremely tedious and timely as there are basically 2 different strategies within a single indicator, which not only work each by itself, but can also work together!

Please let me know directly if there are any issues! <3
Release Notes
* Fixed alerts for TP/SL "touch" setting as alerts need separate handling and were set to always trigger per candle fully close.
Release Notes
* More fixing for TP/SL "touch" features, it seems like Alerts were not working > should be working now, please let me know if there are still any issues
Release Notes
* Changed calc_on_order_fills to false, as this does not affect this indicator, yet shows that it may show unrealistic backtesting results with this setting turned on by default.
Release Notes
* Removed "touch" backtest features as they are troublesome, alerts can still be switched to "touch" setting on the bottom of the indicator Input Properties.
Release Notes
* Minor fix to stats table
Release Notes
* Added a new signal per custom request, S3/R3 consolidation.

At newly formed pivots, if S3 is higher than previous day and R3 is lower than previous day > pivots consolidate and then a breakout happens with candle bar breaking either pivot > a position will be opened.

This feature is under indicator settings - SOURCE4. It can be used by itself or in combination
with the other 3 SOURECEs.

Here is an example:
snapshot
Release Notes
* Changed consolidation 2 arrows to triangles - it is much easier to see it that way!
Release Notes
* Minor fix
Release Notes
* Minor fix
Release Notes
* Improved Stop-Loss options, now there is also a trailing stop included:
- Static: it remains where it was set at trade/position open
- Dynamic: it moves to Entry at TP1 (or TP2/3/4/5 if it hits ahead)
- Trailing: it will be moved along the trade/position (smart trailing stop-loss), at TP1 taken > SL will move to Entry, at TP2 taken > SL will move to TP1, at TP3 taken > SL will move to TP2 and so on

This should not affect anything else.
Release Notes
* Fixed Signal Skip issue when signal consumes TP (alert was still happening with the setting turned on, now should not)
Release Notes
* Updated scheduling settings. Now it is fully customizable and any cut off hour can be set to close any open trade/alert triggered, not only at US market close or before Power Hour. Now any custom intraday schedule can be set as desired!
Release Notes
* Minor fix
Release Notes
* Updated the wording for "EOD(End of Day) Close/Trading Cut Off" settings so it is more friendly.
Release Notes
* Mistype fix
Release Notes
* Added additional optional signal confirmation by Volume above average MA line at signal trigger, if turned on - position/trade will be opened only if volume is above the volume MA line (volume MA length can be customized).
Release Notes
* Cleaned up and very slightly re-worded input parameters, hidden some of the long explanations inside a tooltip (hover mouse over (i) to the right from the parameter for more info). Reading and experimenting / searching for best combination of parameters should be now much easier and more convenient! Please NOTE: Nothing changed in the algorithm, this is a cosmetic change.
Release Notes
* Minor fix
Release Notes
* Minor fix, EOD grey vertical line was showing at the wrong time (had custom timezone mistakenly included in the code)
Release Notes
* Fixed a bunch of warnings within the script, this is preventive measure as with new version of PineScript, these warnings may become errors. No changes were made to algorithm.
Release Notes
* There was a very minor issue with TP Consumed - Push approach, fixed it with a while loop
Release Notes
* Fixed an issue where EOD would combine with TP1/2/3/4/5 or SL on the same closed candle, where it would not fully close out the trade and leave it partially open due to a mix up the script trying to process both: EOD and another action like TP1.
Release Notes
* Added "Smart Breakout" feature. Now there is a choice: 1) Simple Breakout and 2) Smart breakout.
1) Simple Breakout: is how it worked before, trade opens at the round number level broken with candle bar closing beyond it.
2) Smart Breakout: after the initial breakout (which is technically "Simple Breakout") - a confirmation bounce with then confirmation breakout is required for a trade to be open.

Here is a quick example. There is an Initial Breakout from where it goes to the Confirmation Bounce (shown with dotted red line), which finally goes to the Confirmation Breakout candle bar closing below the Initial Breakout candle bar (shown with solid red arrow), where the trade opens.
snapshot
Release Notes
* Minor fix for Smart Breakout, the count was 1 bar less than input for invalidated breakout setting
Release Notes
* Minor update in the input params (so that there is TP section, then SL section), this has to be done right now as more strategy configurations are being prepared and currently it is pretty confusing as there is no exact order, but now there will be: TP configs > SL configs
Release Notes
* Now EOD (End of Day) close feature should also work with 15second and 30second timeframes.
Release Notes
* Custom Request - added an optional feature to alert when potential trade is about to be open
snapshot
"Custom - Potential Trade about to be Open Live Alert/Show - On/Off": An alert will be triggered with label shown on the chart at potential trade about to be open, once price crosses the trade signal level (The whole trading engine/backtesting signals are considered valid only once candle bar closes, while trade open condition is true at the same time). NOTE: It will only trigger if no valid trade is already open. NOTE: This particular feature cannot be backtested and is not included in the backtesting results, so please use with discretion. NOTE: This feature works outside of Signal Analysis and Cleanup scope and simply triggers when potential trade open level is crossed.
Release Notes
* Updated labels for the new "Custom - Potential Trade about to be Open Live Alert/Show - On/Off" feature, now should be cleaner.
Release Notes
* Slightly updated how pivot labels display

1) It will always show the pivots for the day/session, but at the start of it, including today's day (before it would not show today's pivots)
2) The additional pivot labels which run slightly ahead (like 3 candle bars), for reference if you use very small timeframe and want to always see which pivot is which - can know be hidden via the input parameter (it is under Camarilla Pivots settings closer to the bottom)

This does not affect anything else.
Release Notes
* Custom request > added an option to turn off pivot lines extension to the right (in the same place you can hide the additional pivot labels on the right as well)
Release Notes
* Added additional feature for live breakouts before the trade is open, now it can either show the break "B" every time it happens (per selected SOURCE(s) or only when there is no trade currently open).
Release Notes
* Added an option to hide the daily pivot labels as well (custom request)
Release Notes
* Added PineConnector alert
Release Notes
* Fixed minor issue with PineConnector (sl was printed incorrectly in the alert)
Release Notes
* Another PineConnector fix - should be all set now
Release Notes
* Added India Market Active Hours(in ET): 22:45 - 5:00 under Trading Schedule (i) - hover mouse over for it to appear
Release Notes
* Fully rewritten the Trading Schedule/Active Trading Session and EOD(End of Day) feature. Now - simply chose your region and if desired - turn on EOD (it automatically will close the trade at last session candle bar or 1 candle bar before it - if that feature is turned on).
Release Notes
* Minor fix to latest updates
Release Notes
* Pinescript automation fixes
Release Notes
* Final PineConnector fix
Release Notes
* Minor fix
Release Notes
* Minor update
Release Notes
* Minor fix of the EOD setting (if would still work with Regional Active Trading Session set to "OFF" at some random time, per logic it should not exist with without trading active session, so now it will be automatically off if there is no specific active trading session region is selected)
Release Notes
* Now every pivot line/label color can be set individually (custom request)
Release Notes
* Minor fix
Release Notes
* Modified how alerts are displayed for profit targets - now it will only show profit targets during alerts, which make sense (if # of TP is 3 > it will show 3 TP targets, before it would show all 5)
Release Notes
* Minor fix
Release Notes
* Added custom trading schedule option on top of regional (custom request). Algo is working by the same logic, the only new feature is, if "CUSTOM" is selected for "Regional Active Trading Session Hours Schedule" - Active Trading Session time and EOD(End of Day) time will be per 2 CUSTOM fields below.
Release Notes
* Another fix
Release Notes
* Fixed a minor issue with plots (cosmetics)
Release Notes
* Added additional labels for EWO and RSI+MACD: if turned on for Signal Analysis, at each trade open it will show these confirmations. These 2 do not have a line on the chart as these are oscillators and do not directly relate to price, so there is no way of adding it like an MA and so that there is no confusion - now they will show along the trade open label.
Release Notes
* Added also visual for Volume Above Average signal clean up check, it will now display at trade open if it is turned on. Now all of the Signal Cleanup checks are visible, so that it can be clearly seen why a trade is open.
Release Notes
* Minor update to stats table, now it will show Last TP taken our of TP# (the input of how many take profit targets there will be)
Release Notes
* Minor fix
Release Notes
* Updated how pivots are plotted, now it's via line breaks without connecting previous day pivot lines with today's pivot lines, that way it's much cleaner!
NOTE: If you like the old way - you can switch it back by unchecking [ ] the "Draw Camarilla Pivots as Line Breaks (do not connect previous day to today)" setting under "<<<<<< CAMARILLA PIVOTS SETTINGS" in the Indicator > Settings > Inputs
Release Notes
* When creating an alert - there will be a yellow '(!) Caution!' about potential repainting. This is due to Live Breakout feature 'Custom - Potential Trade about to be Open Live Alert/Show - On/Off' - where it will show label/alert when price is breaking out live through a signal/trade open trigger, where a candle bar is still open and is still running (If during that same candle bar, the price will go backwards and no longer be crossing that level – the label will disappear, which is logical, the alert for this feature works per “alert.freq_once_per_bar” setting, therefore it will alert immediately at the level being broken. Due to some sort of TradingView/PineScript automated repainting prevention system - this adds such warning to this indicator... REMINDER: For backtesting: only closed candle bars with barstate.isconfirmed are sued for orders and calculations, therefore - please ignore the repainting error as it is irrelevant.
Release Notes
* Minor cosmetical improvements to wording for PineConnector inputs section
Release Notes
* minor fix
Release Notes
* Modified slightly how alerts are displayed at alerts (got report that alerts were off for TP targets, while TP targets were plotted correctly)
Release Notes
Added manual input selection for "Regular"/"Extended" market data for calculating pivots.

Basically used "ticker.new()" function and depending on the input it will now either use "session.regular" or "session.extended", then use request.security for obtaining OHLC data.
// Regular/Extended hours per input
chart_ticker = ticker.new(syminfo.prefix, syminfo.ticker, pivot_session_data == "Regular" ? session.regular : session.extended)
Release Notes
* Cosmetic fix
Release Notes
* Minor fix
algotradinganalysisCamarilla Pivot PointscamarillapivotsCandlestick analysiscustomizabledynamiclevelsdynamicsupportandresistancemultipletargetsOscillatorsPivot points and levelstrailingstop

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact tso_trade for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

Author's instructions

Video guide: https://www.youtube.com/watch?v=NuQOwgKgegA Please contact me directly for trial access or any other questions.

Want to use this script on a chart?

Warning: please read before requesting access.

Trading like a machine!
Also on:

Disclaimer