OPEN-SOURCE SCRIPT
15-Min Buy Setup - Nitish

This code generates a buy signal when all four conditions are met:
The candles should be below the EMA5 line.
The signal generating candle’s previous candle should have the high to EMA5 gap of not less than 0.01%.
The signal generating candle’s volume should not be less than 90% of its previous candle.
The signal generating candle should close above the EMA5 line with a gap of at least 0.01%.
The stop loss is set at the low of the previous three candles and current candle only when a buy signal is generated. The entry price is calculated when a buy signal is generated and the distance between entry price and stop loss is used to calculate the take profit distance and level.
The candles should be below the EMA5 line.
The signal generating candle’s previous candle should have the high to EMA5 gap of not less than 0.01%.
The signal generating candle’s volume should not be less than 90% of its previous candle.
The signal generating candle should close above the EMA5 line with a gap of at least 0.01%.
The stop loss is set at the low of the previous three candles and current candle only when a buy signal is generated. The entry price is calculated when a buy signal is generated and the distance between entry price and stop loss is used to calculate the take profit distance and level.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.