OPEN-SOURCE SCRIPT
تم تحديثه Strat Bar Type Scanner

Made for use with the Pine Screener (beta).
Select "Choose Indicator" then click "strat bar scanner"
First adjust the columns. Click the 3 bars on the right for drop down. Remove all the "shapes" columns. Add current strat type and previous strat type.
You can now scan your watch list for all types of candles.
1 bars print as "1"
2 up bars print as "21"
2 down bars print as "22"
3 bars print as "3"
current strat type shows your current candle type
previous strat type shows your previous candle type.
For manually scanning specific types you would do the following -
To scan for 1 bars:
Click "current strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "1"
To scan for 2 down bars:
Click "current strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "22"
To scan for 2 up bars:
Click "current strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "21"
To scan for 3 bars:
Click "current strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "3"
To scan for patterns by using the pervious strat type dropdown -
for instance 3-1 conslidation:
Click "current strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "1"
Click "previous strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "3"
Select "Choose Indicator" then click "strat bar scanner"
First adjust the columns. Click the 3 bars on the right for drop down. Remove all the "shapes" columns. Add current strat type and previous strat type.
You can now scan your watch list for all types of candles.
1 bars print as "1"
2 up bars print as "21"
2 down bars print as "22"
3 bars print as "3"
current strat type shows your current candle type
previous strat type shows your previous candle type.
For manually scanning specific types you would do the following -
To scan for 1 bars:
Click "current strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "1"
To scan for 2 down bars:
Click "current strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "22"
To scan for 2 up bars:
Click "current strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "21"
To scan for 3 bars:
Click "current strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "3"
To scan for patterns by using the pervious strat type dropdown -
for instance 3-1 conslidation:
Click "current strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "1"
Click "previous strat type" dropdown then manual setup.
First drop down select "equal"
Second drop down leave on "value"
Third drop down type "3"
ملاحظات الأخبار
changed script logic to only show "current strat type" for the most recently close candle and not the live developing candleملاحظات الأخبار
Changed how the numbers print on the chart for if anyone uses it on their chartملاحظات الأخبار
updated script logic to work for weekly and monthly. It does not display the currently forming bar. "current strat type" shows the last closed candle and "previous strat type" shows the candle immediately preceding that candle on ALL timeframes. Only displays regular trading hours (not extended) on Pine Screener.ملاحظات الأخبار
updated display pictureملاحظات الأخبار
reduced number sizeملاحظات الأخبار
fixed script logic to print correctly during market hours to show current strat type as yesterday's closed candle and previous strat type as the day before thatملاحظات الأخبار
updated logic to close out week at 4pm eastern on fridayملاحظات الأخبار
update to close logic, added holidays, add a 3 bar scanner called "prior strat type" for 3 bar sequencesملاحظات الأخبار
another attempt to make sure it doesnt use live unconfirmed candles as "current strat type"... it should always display daily read as "current strat type" = last trading day "previous strat type" = 2 trading days ago and "prior strat type" = 3 trading days agoنص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.