OPEN-SOURCE SCRIPT

ICT + RSI + EMA Strategy with Buy/Sell Signals

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!
Bands and Channels

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità