Camarilla Pivots - Signals, Alerts, TP and SL by Tech Store On

LONG signals: S5 > S4, TP1: S4, TP2: S3, TP3: R3 SL: Manual | S3 > R3, TP1: R3, TP2: R4, TP3: R5, SL: S4 | R4 > R5, TP1: R5, SL: R3
SHORT signals R5 > R4, TP1: R4, TP2: R3, TP3: S3, SL: Manual | R3 > S3, TP1: S3, TP2: S4, TP3: S5, S4 > S5, TP1: S5, SL: S3
Mainly, the script is based on the pivot levels and price action. The script will trigger a signal if a supporting direction candle breaks or bounces at certain pivot, triggering a direction of the potential trade with the next pivot serving as a Price Target area, each signal will potentially wait for 3 Price Target areas and if they happen will show each on chart. An opposite direction pivots are used as a Stop Loss, which the indicator will show on the chart. If stop-loss will be hit, the script will not show take profit areas considering the trade is closed with a loss. Same way if take profit area 1 is reach, it is considered that SL is moved to Entry and therefore the script will no longer show stop-loss for that trade. This indicator was mainly tested via 15min timeframe, but feel free to try different timeframes as the concept is the same.
This strategy was extensively manually tested, trade by trade, with
*** If a trade was uncertain > it was marked immediately as stop-loss
*** A position was always closed at the end of the day no matter what (profit/loss)
Config: Alerts need to be set for each signal, take profit and stop-loss, it is pretty much self-explanatory, just right click the chart, select “Add alert” > next to Conditions select “Camarilla Pivot…”, for each trade signal and stop-loss, make sure it is “Once per Bar Close” and for each take-profit make sure it is “Once Per Bar”. Stop-losses are confirmed price breaks, while take-profits – we just need to touch those pivots.
Config: By Default, indicator signals are given during regular BEST (after 3PM ET – it’s power hour, which often is unpredictable + market will be closing soon) US standard market hours: 9:30AM-3PM ET, take profit and stop-losses by default are set to 9:30AM-4PM ET (US standard market hours. Both can be adjusted via Inputs. If you wish for the signals/take profit and stop-losses to be tracked 24/7 > choose the “EMPTY” space for both.
Config: Number of candles/bars to track back for opened positions is the number of Candles/Bars tracked back for each position. You can change this setting as it relates to timeframe versus trading style (day trading/swing), play around to find your best settings, by default it’s 13, which is best for day trading/15M timeframe. Please note: if position takes “too long” to reach TP or SL, it may not show TP or SL, so you need to keep an eye on this. It is best to use slightly lower number for day trading, because otherwise if you receive the same signal more than twice during the day > it will not show TP or SL for the second/third/etc. position. This is custom for you to change though, so if you want longer position tracking for the day, choose: 26 candles (this is the amount of 15M candles during the day), but keep in mind that for second/third position > it may not show you the TP1/SL.
Config: The table showing positions will show current open position on the bottom cell if position is opened per indicator, you can move or even hide this table in the indicator settings. (Please note: this is decorative thing and sometimes may show a position open, which is not actually open, especially when the market is not currently open).
Tip: Note: if pivots are too far away from each other and there is either big profit already or another support/resistance indicator (VWAP, SMA, support & resistance levels, etc.) – it is wise to take some profit off and move SL to Entry to secure profits in case market decides to turn around. This is especially wise if you trade Options as they include Theta (options price decay over time). Please note: back-test results displayed above were done without VWAP.
Tip: R5 > R4 and S5 > S4 are riskier signals as there are no pivots above/below for the SL, the script does not have a built-in stop-loss level/indicator for these, so you will need to manually set your stop-losses for these signals. Last day pivots often can help with this or simply use most recent support & resistance levels.
Tip: If trading S&P: be careful opening positions near 3PM ET, as during the “power hour” – 3-4PM ET > volatility increases and direction of the price becomes much more unpredictable. Similar: if you are in profit, it is wise to close the majority of your position at 3PM ET, before the “power hour” starts.
Tip: Very conservative trading approach: after signal happens, wait for a bounce back (price going back touching the pivot) and open position right there, that way > SL will be smaller and better risk/reward ration.
Tip: There is no limit on how many signals the script will show if it meets the conditions (in case you miss one of the signals and conditions repeat > you can still get into decent trade at next signal if it matches the condition).
Note1: if candle closes crossing/breaking several pivots at the same time and that same candle will touch take profit pivot – the script is configured to minimize showing/alerting signals/TP/SL for such conditions, so that you don’t get a very dirty chart / spammed with alerts, however sometimes it may or may not show signals and/or take profits/losses incorrectly. Overall, when you see such huge candles, it means that market volatility is bigger than usual, so a caution should be practiced.
Note2: If the signal candle almost nearly touches the first take profit area > it’s best not to open a position (you literally opening it at the first take profit pivot, and it may bounce the other way from that same pivot).
Note3: You may sometimes see take profit/stop-loss indicators in the beginning of the day or simply when pivot levels change, this is due to script registering the position open per old pivot levels and then show you take profit/stop-loss per new pivot levels.
نص برمجي للمستخدمين المدعوين فقط
يمكن فقط للمستخدمين المصرح لهم من قبل المؤلف الوصول إلى هذا النص البرمجي، وهذا يتطلب عادةً الدفع. يمكنك إضافة النص البرمجي إلى مفضلاتك، ولكن لن تتمكن من استخدامه إلا بعد طلب الإذن والحصول عليه من مؤلفه - تعرف على المزيد هنا. لمزيد من التفاصيل، اتبع تعليمات المؤلف أدناه أو اتصل tso_trade مباشرة.
لا توصي TradingView بالدفع مقابل برنامج نصي أو استخدامه إلا إذا كنت تثق تمامًا في مؤلفه وتفهم كيفية عمله. يمكنك أيضًا العثور على بدائل مجانية ومفتوحة المصدر في نصوص مجتمعنا.
تعليمات المؤلف
تحذير: يرجى قراءة دليلنا الخاص بالنصوص المخصصة للمدعوين فقط قبل طلب الوصول.
إخلاء المسؤولية
نص برمجي للمستخدمين المدعوين فقط
يمكن فقط للمستخدمين المصرح لهم من قبل المؤلف الوصول إلى هذا النص البرمجي، وهذا يتطلب عادةً الدفع. يمكنك إضافة النص البرمجي إلى مفضلاتك، ولكن لن تتمكن من استخدامه إلا بعد طلب الإذن والحصول عليه من مؤلفه - تعرف على المزيد هنا. لمزيد من التفاصيل، اتبع تعليمات المؤلف أدناه أو اتصل tso_trade مباشرة.
لا توصي TradingView بالدفع مقابل برنامج نصي أو استخدامه إلا إذا كنت تثق تمامًا في مؤلفه وتفهم كيفية عمله. يمكنك أيضًا العثور على بدائل مجانية ومفتوحة المصدر في نصوص مجتمعنا.
تعليمات المؤلف
تحذير: يرجى قراءة دليلنا الخاص بالنصوص المخصصة للمدعوين فقط قبل طلب الوصول.