PROTECTED SOURCE SCRIPT

ADIL_TREND

91
// ===== 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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.