sonnyparlin

RSI Strategy

sonnyparlin تم تحديثه   
This RSI strategy is different than most in that it doesn't pick a buy signal based on the RSI rising above a specific number (usually 30). Instead, it creates a 14 day exponential moving average of the Relative Strength Index and uses the following two conditions together to trigger a buy:

Entry conditions:
  • Condition1: Rising of the RSI's moving average for (user defined) candles in a row
  • Condition 2: The RSI is < 70

The reasoning behind condition 1 is that we are trying to buy into a rising trend, the moving average helps to confirm the trend, whereas the RSI rising above a specific number (usually 30) gives us no real indication that the asset will increase and produces less wins overall. The reasoning behind condition 2 is to avoid buying at the top of a climb.

Exit conditions:
  • Condition 1: The RSI moving average is falling
  • Condition 2: Close < Trailing stop activation Level
  • Condition 3: We have at least (user defined) % profit

The reasoning behind sell condition 1 is a falling RSI moving average (down trend starting). The close has to be under the trailing stop activation level, if we've triggered the trailing stop, we want the trailing stop to do it's job and not exit the trade until the trailing stop takes us out. The reasoning behind condition 3 is to not exit without at least some profit (user defined).
ملاحظات الأخبار:
Removed old comments from script.
ملاحظات الأخبار:
Made condition 2 user configurable. Also switched chart to hour candles and modified the strategy's settings accordingly.
ملاحظات الأخبار:
Updated fee structure to match binance.
ملاحظات الأخبار:
Spent a little more time updating settings for the chart.
نص برمجي مفتوح المصدر

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

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

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

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