This indicator is based on Sara Strat Sniper's - 50% Rule for trading Outside Bars and helps you visual the method quickly.
This indicator allows you to select: Outside: Day/Week/Month/Quarter Warning Levels with Previous High and Low Levels available within the indicators settings. Please note - Daily warning and high/low levels are set to the indicators default. Feel free to change and save as required. Any issues let me know. See known issues below.
** Indicator Setup Requirements ** *For Indicator to correctly display the 50% price level you need to setup your chart correctly. Right-click your chart background, select Settings, select Scales and Tick “Indicator Last Value Label". Now your 50% Price level will be displayed.
Known Issues:
This indicator does not work when you try to view a lower timeframes levels on a higher timeframe chart.[I]Example 1: Selecting Daily Warning, High and Low Levels will not be displayed correctly on a Weekly timeframe and above etc. The Daily selection however will be displayed correctly on all lower timeframes from the 1 minute chart to the Daily.[/I]
[I]Example 2: Selecting Weekly Warning, High and Low Levels will not be displayed correctly on a Monthly timeframe and above etc. The Weekly selection however will be displayed correctly on all lower timeframes from the 1 minute chart to the Weekly. Please apply these same rules for all other timeframe indicator selections.[/I]
Monthly Warning, High and Low levels will not work correctly on a Weekly chart when the current Weekly candlestick is forming between the end of a previous Month and start of new Month. Once the first Weekly candle of a new Month closes the Monthly levels will now be displayed correctly. Please note, selecting the Monthly levels when viewing a Monthly chart will work as normal and Monthly levels displayed on a Weekly chart will be corrected once the first Weeks candle has closed. I believe this error is caused by a pine script repainting issue when assessing historical price data which is out of my limited scripting brains control.
ملاحظات الأخبار
Custom Functions added as requested by users to produce cleaner charts.
H Line added for 50% level
Ability to change color for H/L Levels and Labels.
Adjust Line Width and Line Style
Adjust 50% and High/Low Label Offsets
Basic Alert Function added for 50% Level. Add Alert and Select Condition: SSS 50% HTF, followed by your desired Outside Day Warning. Please note alert functions have been tested and work once the current close price crosses the 50% level. Any issues please let me know and I will update when required.
If any users have experience on how to code more advanced alerts with pine for this indicator please feel free to send me a message. Enjoy :)
ملاحظات الأخبار
Indicator example image updated.
ملاحظات الأخبار
Settings option changed. For 50% level to work, Right-click chart background, select Settings, Scales, tick “Indicators and financials value”
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.