OPEN-SOURCE SCRIPT
The Engulfing Liquidity Signal with Adjustable Trailing Stop

Engulfing Liquidity Signal with Adjustable Trailing Stop
This strategy is designed to enter long trades based on the Engulfing Liquidity Signal combined with a Trailing Stop. The strategy uses custom volume analysis and price action to detect potential market opportunities. The Trailing Stop is adjustable, allowing traders to customize the distance at which the stop will trail the price.
Key Features:
Engulfing Liquidity Signal: The strategy enters a trade when the market shows signs of strong liquidity and price action, typically when there is a strong reversal signal (bullish engulfing) accompanied by higher volume.
Trailing Stop: A dynamic exit strategy that locks in profits by trailing the stop level behind the highest price achieved since the trade entry. This prevents the position from being closed prematurely while still protecting profits if the market reverses.
Customizable Trailing Stop: Users can adjust the trailing stop percentage via the settings. This allows for greater flexibility in how closely the stop will trail the price.
No Fixed Take Profit: The strategy uses only the trailing stop, ensuring that profits are maximized based on price action without a fixed profit target.
How the Strategy Works:
Buy Signal (LongC):
The strategy triggers a buy signal when a bullish engulfing pattern occurs, and the liquidity conditions align (i.e., the volume is increasing and price action shows signs of a potential reversal).
The strategy enters a long position when the signal conditions are met.
Trailing Stop Logic:
Once the trade is initiated, a trailing stop is applied. The stop level follows the highest price achieved since entry, trailing the price based on a user-defined percentage.
The stop level adjusts upward as the price increases, locking in profits. If the price reverses and hits the trailing stop, the trade is closed.
The trailing stop is dynamic, meaning it moves only in the direction of profit, but it will not move lower once it has been set.
Sell Signal (ShortC):
The position will also be closed if a sell signal (ShortC) is generated. This ensures that the strategy exits the trade when a potential reversal is detected in the market.
No Fixed Take Profit:
The strategy does not use a fixed take profit level. Instead, the profit is managed entirely by the trailing stop, which ensures that positions remain open as long as the market is moving in favor of the trade, allowing the position to capture the maximum possible profit.
Settings:
Trailing Stop Percentage: The user can adjust the trailing stop distance by setting a percentage value between 10% and 100%. This controls how tightly or loosely the trailing stop will follow the price.
Benefits:
Maximized Profits: By using a trailing stop, the strategy aims to capture as much profit as possible without prematurely exiting trades.
Customizable: The adjustable trailing stop allows traders to tailor the strategy to their risk tolerance and market conditions.
Simple & Effective: The strategy is straightforward, relying on price action and volume signals, making it easy to understand and implement.
Ideal Use Case:
This strategy is suitable for traders who prefer to let their profits run and manage risk with a trailing stop. It is particularly useful in trending markets where the price continues to move in one direction for an extended period. By using a trailing stop, the strategy allows you to stay in the market and capture large moves while protecting profits.
This strategy provides an excellent combination of automated trade management with a Trailing Stop and Engulfing Liquidity Signal, making it a solid choice for traders seeking to automate their trades with customizable risk management.
This strategy is designed to enter long trades based on the Engulfing Liquidity Signal combined with a Trailing Stop. The strategy uses custom volume analysis and price action to detect potential market opportunities. The Trailing Stop is adjustable, allowing traders to customize the distance at which the stop will trail the price.
Key Features:
Engulfing Liquidity Signal: The strategy enters a trade when the market shows signs of strong liquidity and price action, typically when there is a strong reversal signal (bullish engulfing) accompanied by higher volume.
Trailing Stop: A dynamic exit strategy that locks in profits by trailing the stop level behind the highest price achieved since the trade entry. This prevents the position from being closed prematurely while still protecting profits if the market reverses.
Customizable Trailing Stop: Users can adjust the trailing stop percentage via the settings. This allows for greater flexibility in how closely the stop will trail the price.
No Fixed Take Profit: The strategy uses only the trailing stop, ensuring that profits are maximized based on price action without a fixed profit target.
How the Strategy Works:
Buy Signal (LongC):
The strategy triggers a buy signal when a bullish engulfing pattern occurs, and the liquidity conditions align (i.e., the volume is increasing and price action shows signs of a potential reversal).
The strategy enters a long position when the signal conditions are met.
Trailing Stop Logic:
Once the trade is initiated, a trailing stop is applied. The stop level follows the highest price achieved since entry, trailing the price based on a user-defined percentage.
The stop level adjusts upward as the price increases, locking in profits. If the price reverses and hits the trailing stop, the trade is closed.
The trailing stop is dynamic, meaning it moves only in the direction of profit, but it will not move lower once it has been set.
Sell Signal (ShortC):
The position will also be closed if a sell signal (ShortC) is generated. This ensures that the strategy exits the trade when a potential reversal is detected in the market.
No Fixed Take Profit:
The strategy does not use a fixed take profit level. Instead, the profit is managed entirely by the trailing stop, which ensures that positions remain open as long as the market is moving in favor of the trade, allowing the position to capture the maximum possible profit.
Settings:
Trailing Stop Percentage: The user can adjust the trailing stop distance by setting a percentage value between 10% and 100%. This controls how tightly or loosely the trailing stop will follow the price.
Benefits:
Maximized Profits: By using a trailing stop, the strategy aims to capture as much profit as possible without prematurely exiting trades.
Customizable: The adjustable trailing stop allows traders to tailor the strategy to their risk tolerance and market conditions.
Simple & Effective: The strategy is straightforward, relying on price action and volume signals, making it easy to understand and implement.
Ideal Use Case:
This strategy is suitable for traders who prefer to let their profits run and manage risk with a trailing stop. It is particularly useful in trending markets where the price continues to move in one direction for an extended period. By using a trailing stop, the strategy allows you to stay in the market and capture large moves while protecting profits.
This strategy provides an excellent combination of automated trade management with a Trailing Stop and Engulfing Liquidity Signal, making it a solid choice for traders seeking to automate their trades with customizable risk management.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน