PROTECTED SOURCE SCRIPT

ADIL_TREND

97
// ===== NOTES =====
// - I interpreted the cover confirmation rule as symmetric to buy (confirm by HIGH > critical high within next N bars). If you intended a different rule (your message had an ambiguous line), tell me and I'll adjust.
// - Exits/covers are only confirmed when the corresponding position is open (inLong/inShort).
// - A pending critical will not be recreated while it's active; also you won't generate new buy/short pending when already in that position.

Clause de non-responsabilité

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.