1) RSI indicator, period = 7 (default) 2) EMA Body, period = 30
EMA Body
Step 1. The candle body size is calculated = abs(close-open) Step 2. The average size of a body of a candle is calculated. Only 30 last candles. EMA . Step 3. If the body of the current candle is less than a half of a body of an average candle, then such candle is ignored by strategy because too small.
Strategy
If RSI < RSI Limit and the body of a candle is more than a body of an average candle / 4 - to open long. If RSI > RSI Limit and the body of a candle is more than a body of an average candle / 2 - to close long. If RSI > (100 - RSI Limit) and the body of a candle is more than a body of an average candle / 4 - to open short. If RSI < (100 - RSI Limit) and the body of a candle is more than a body of an average candle / 2 - to close short.
قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الرمز في المنشور يخضع لقواعدقوانين الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.
هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.