PROTECTED SOURCE SCRIPT
تم تحديثه Valid Highs/Lows [promuckaj]

Idea for this indicator is to mark highs/lows that is "validated" by candle close below their opposite wick (complete body).
For example if candidate candle with a wick as swing high is there then indicator wait some of next candles to close below lower wick to validate that swing as high. Vice versa for swing low.
Note: If you try to use timeframe lower then 1min then consider to change HTFs to lower due to limit in TV regarding candles back history. For example if you are on 15s then consider to use HTF as 1min and HTF2 as 12min.
Sometime, due to limit in history candles of instrument there could be an error regarding to many candles in history so in that case try to avoid to use higher TF for HTF such is 2H or higher.
For example if candidate candle with a wick as swing high is there then indicator wait some of next candles to close below lower wick to validate that swing as high. Vice versa for swing low.
Note: If you try to use timeframe lower then 1min then consider to change HTFs to lower due to limit in TV regarding candles back history. For example if you are on 15s then consider to use HTF as 1min and HTF2 as 12min.
Sometime, due to limit in history candles of instrument there could be an error regarding to many candles in history so in that case try to avoid to use higher TF for HTF such is 2H or higher.
ملاحظات الأخبار
Changed logic, fixed couple of issues.ملاحظات الأخبار
-Small update, if highs is the same and there is two consecutive highs in a row then skript will take those with lower low that need to be broken. Same but vice versa for lows.ملاحظات الأخبار
Small changes in case if there is new highs/lows with equal value, then it will rejected the previous and will be taken new one in case it contain value(low/high) that is harder to be broken for validation.ملاحظات الأخبار
-Implemented option to choose higher timeframe for marking valid H/L while you are on LTF.-Added option to show candles from higher timeframe.
-Fixed some small issue in general.
ملاحظات الأخبار
Implemented 2x valid H/L for higher timeframes, with all the settings regarding choose of timeframes, colors and styles for swings and waves.ملاحظات الأخبار
Fixed issue if candle that validate respective candidate candle for valid high/low contain higher-important value for high/low, in that case script will reject respective one, do not validate it and consider a new candidate candle.ملاحظات الأخبار
-Fixed issue when one candle need to validate high and low at the same time.-Markings of highs/lows on HTFs will be not plotted if you are using timeframe that is higher then HTF what you set in settings.
ملاحظات الأخبار
Added another type of valid highs/lows determination, so now there is two different approach to choose.1 - Need to close above/below respective swing candles body to form a valid pullback
2 - Need to close below/above last bullish/bearish candle to form a valid pullback of respective swing candle
ملاحظات الأخبار
Small update, added protection to do not print anything from HTF if you are using the same or higher timeframe on your chart then what you set for your HTF in the indicator settings.ملاحظات الأخبار
v 1.22-Fixed some general issue on HTF 2
-Fixed multiple issues for pullbacks type 2
ملاحظات الأخبار
v 1.23Update for style 1/2 pullbacks, fixed some situations when there is a big candle and after that it is formed "valid" pullbacks for high and low at the same time.
Some minor fixes to.
ملاحظات الأخبار
v1.24-Fixed some small issue with waves
-Updated pullback style 2, it is not important just the last green/red candle now but candle that close above/below previous one will be considered as starting green/red move that need to be broken to validate High/low.
ملاحظات الأخبار
v 1.25-Updated pullback type 2
-Fixed issue to do not gives error if non of option is activated on HTF if you are on very small timeframe, like 5s.
-Implemented experimental feature as optional, only for pullback type 2, to mark high/low on candle that need to be broken for validation, there is this option on all three timeframes separately.
ملاحظات الأخبار
v 1.26-Fixed some issues on HTFs valid HL for pullback type 2.
-Added table info, there is option to show you times for HTFs candles, including last printed valid HLs from all three timeframes.
-Implemented alerts, you can activate it separately for H or L to sent you alerts when it is formed on your chart from HTFs.
ملاحظات الأخبار
v 1.27-Small update-fix for valid pullback type 2
-Small visual update for HTF candles, added optional custom color for wicks, including custom lines width of borders and wicks line.
-On request implemented alerts for valid HL on charts timeframe.
ملاحظات الأخبار
v 1.28Implemented option to countdown LTF candles for HTF.
ملاحظات الأخبار
v 1.29-Fixed problem regarding countdown for a HTF candle on LTF chart, it was not working on seconds chart.
-Added option to extend validation line of candidate candle to the right by desired value of bars.
-Implemented data window info, there is now Direction for all three TFs.(1 = VL, -1 = VH, 0 = none)
ملاحظات الأخبار
Hello to everyone !This is a huge update, it contain my premium Valid Pullback indicator. This is practically Valid H/L on steroids, that contain a lot of upgrades.
For more details please visit the link:
![Valid Pullbacks Market Structure [promuckaj]](https://s3.tradingview.com/r/rZD36gau_mid.png)
NOTE: It will be free to use for a while. After a while, the free script will be switched to a lite version, while the premium version will only be available with a subscription.
ملاحظات الأخبار
-Fixed some issue with marked two HTF/HTF2 OBs in a row in the same direction. Now previous one will be rejected.-Added option to shift to the left "X" label when liquidity from some of HTFs is taken. It could help to avoid overlap with other labels at the same bar.
-Added optional labels for "validation" lines for all three timeframes that is in use. Beside custom color of lines now it could provide the info for what timeframe respective validation line belong. There is option to set custom labels text if needed, by default it will show respective timeframe.
-Changed table info, better info presentation.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.