LUCEO ENV

개요
LUCEO ENV는 중심선(SMA) 기준 하단 엔벨로프(L1/L2/L3)에 닿을 때 1·2·3차 순차 분할매수를 가정하고, 체결마다 평단을 재계산하여 **평단대비 목표익절(TP)**을 제시합니다. 각 단계 진입 후에는 **타임아웃(예: 20시간)**이 독립적으로 적용되어, 목표가 도달 전 일정 시간이 지나면 강제 종료(타임아웃 청산) 신호를 제공합니다.
동일 봉에서 L1·L2·L3가 동시에 충족되면 동시에 모두 체결될 수 있도록 설계되어 있습니다.
핵심 기능
엔벨로프 기반 3단계 분할매수: L1/L2/L3(%)에 도달 시 단계별 가중치(w1/w2/w3)만큼 매수 가정
동일 봉 다중 체결 허용: L1·L2·L3가 한 캔들에서 동시에 충족되어도 순차/동시 체결 처리
평단/익절 자동 갱신: 체결마다 평단가 및 익절 목표가(평단 × (1+TP%)) 재계산
단계별 타임아웃 종료: 1·2·3차 각각의 마지막 진입 시각으로부터 설정 시간 경과 시 “타임아웃 종료”
리셋 조건 단순화: 익절 또는 타임아웃 시에만 상태·평단·TP 전부 초기화 (중심선 돌파 리셋 없음)
알림(Alerts): 1차/2차/3차 매수, 익절, 타임아웃에 대한 즉시 알림 제공
---------------------------------------------------------------------------------------------------------------------
LUCEO ENV — Sequential Scale-In & Timeout / Take-Profit Management Indicator
Overview
LUCEO ENV assumes 1st/2nd/3rd staged entries when price touches the lower envelopes (L1/L2/L3) built from an SMA baseline. After each fill, it recalculates the weighted average entry and projects a take-profit relative to the average entry (TP). An independent timeout (e.g., 20 hours) starts after each stage is filled; if price fails to hit the target before the timer expires, a forced exit (timeout close) signal is generated.
If L1/L2/L3 are all touched within the same candle, the script allows all stages to fill in that bar.
Key Features
Envelope-based 3-stage scale-in: When price reaches L1/L2/L3 (%), assumes a buy with the corresponding weights (w1/w2/w3).
Same-bar multi-fills allowed: If L1–L3 are met within a single candle, sequential/simultaneous fills are handled.
Auto average/TP updates: After each fill, recalculates the average entry and updates the TP (Average × (1 + TP%)).
Stage-specific timeouts: From the last fill time of each stage; once elapsed, emits a “Timeout Exit”.
Simplified reset logic: Fully resets state/average/TP only on take-profit or timeout (no SMA-cross reset).
Alerts: Instant alerts for 1st/2nd/3rd buy, take-profit, and timeout.
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact PA_SHOGUN directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact PA_SHOGUN directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.