Key Changes: Plotchar for Debugging: We use plotchar to visualize whether the long and short conditions are being met. These will print an upward arrow (↑) for buy signals and a downward arrow (↓) for sell signals right on the bars.
Buy condition: If the condition is true, a green arrow (↑) will appear below the bar. Sell condition: If the condition is true, a red arrow (↓) will appear above the bar. This allows us to visually confirm whether the conditions are being met and help debug if the signals aren't showing up. Simplified Entry Conditions: To help identify whether the signals are too strict, the entry conditions are kept the same, but with plotchar, you can now track when they are met. If you still don't see signals, you can simplify the conditions further for testing (e.g., only using the EMA and RSI without ICT components initially).
Debugging: The plotchar will display arrows on the chart where the conditions are true, allowing you to see if the logic for generating the signals is working.
Next Steps: Check the Debug Arrows: Once you add this script, look for the ↑ (buy) and ↓ (sell) arrows on the chart. If you don't see them, it means the conditions might not be met frequently. You can tweak the logic accordingly.
Look at the Debug Values: If the arrows are too rare, you can adjust the logic by reducing the strictness of the conditions. For example, temporarily remove the FVG or market structure conditions to see if the basic RSI and EMA signals are working.
Adjust the Conditions: If the signals are still not showing, you may need to relax the conditions (e.g., using different RSI thresholds or simpler price actions).
Conclusion: The key modification here is the use of plotchar to visually debug whether the buy and sell conditions are being met. If this works, you can remove the plotchar and keep only the plotshape for the final signals. Let me know if this helps or if you need further clarification!
Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.