jadeja_rajdeep

Patrick Walker Flat Base

jadeja_rajdeep تم تحديثه   
This pine script is provide recent support and resistance.

Script will use ema8, ema21, sma50 and sma200 to generate the support and resistance line.

Inspired from Patrick Walker style of trading. This is my personal logic i build studying the charts.

There is 3 types of resistance generated by this script.

1) top resistance 1

when ema8 > ema21 and low > ema8 and gap between ema21 and sma50 is less than 10% and in last 3 days previous 4th days highs is not crossed by close.

2) top resistance 2

when close/open below ema21 and ema8 > ema21 and high >= ema8 and ema21 > sma50 and gap between ema21 and sma50 is less than 10%

3) bottom resistance

when ema8 < ema21 and close/open cross above ema8 but high < ema21
ملاحظات الأخبار:
changed condition for top resistance 1

now its only generate when ema8 or ema21 above sma50
ملاحظات الأخبار:
Added Relative Strength Line and Relative Strength 21 and 50 into the table
ملاحظات الأخبار:
added rsline 200 and rs 200
ملاحظات الأخبار:
bug fix in color code
ملاحظات الأخبار:
Added input value for gap between 21 & 50. so user can set as per their need.
Default value is 10
ملاحظات الأخبار:
updated condition for top resistance 1 and 2

minimum 3 days required ema8 > ema21
ملاحظات الأخبار:
Updated bottom resistance condition

added close need to be below sma50

removed high need be below ema21
ملاحظات الأخبار:
updated top resistance code condition to check ema8 > ema21 for at least 3 days
ملاحظات الأخبار:
updated bottom resistance code condition
ملاحظات الأخبار:
Added one more resistance code

i called it downdays resistance

when close < open but close > (high+low)/2 then its generate the resistance.
ملاحظات الأخبار:
bug fix in down days resistance condition
ملاحظات الأخبار:
Added volume condition for down days resistance
ملاحظات الأخبار:
updated bottom resistance condition

now it will check for close < ema21 and high >= ema21
ملاحظات الأخبار:
removed open/close above ema8 condition for bottom resistance code
ملاحظات الأخبار:
removed open < sma50 for bottom resistance code.
ملاحظات الأخبار:
Added 5 & 10 Days Pivot Points
ملاحظات الأخبار:
Added 20 days pivot point
ملاحظات الأخبار:
Added Hide / Show input for all the lines.
ملاحظات الأخبار:
changed bottom resistance condition to high > sma50 and close < sma50
ملاحظات الأخبار:
changed bottom resistance condition
ملاحظات الأخبار:
Added 252 days high resistance if next 15 days highest close is not crossed that high.
ملاحظات الأخبار:
Added option to draw recent latest 252 days high resistance or multiple in last 5 years
speed improvements in 252 days high resistance code.
ملاحظات الأخبار:
bug fix in 252 days recent high code
ملاحظات الأخبار:
Added option to hide/show Relative strength table
ملاحظات الأخبار:
bug fix in 10 days pivot point code
ملاحظات الأخبار:
bug fix in 10 days pivot points code
ملاحظات الأخبار:
code improvements in 252 days high resistance line.

نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟