// This script outputs a bullish breakout signal when the current close is above the previous high and volume is higher than average
// Define the average volume period
study("Bullish Breakout with High Volume", overlay=true)
avg_volume_period = 50
// Check if current close is above previous high
is_close_above_high = close > high[1]
// Check if volume is higher than average
is_volume_high = volume > avg(volume, avg_volume_period)
// Output a bullish signal if current close is above previous high and volume is higher than average
if (is_close_above_high and is_volume_high)
plot(0, style=plot.style_arrowup, title="Bullish Breakout")
else
plot(0, style=plot.style_none, title="None")
// Define the average volume period
study("Bullish Breakout with High Volume", overlay=true)
avg_volume_period = 50
// Check if current close is above previous high
is_close_above_high = close > high[1]
// Check if volume is higher than average
is_volume_high = volume > avg(volume, avg_volume_period)
// Output a bullish signal if current close is above previous high and volume is higher than average
if (is_close_above_high and is_volume_high)
plot(0, style=plot.style_arrowup, title="Bullish Breakout")
else
plot(0, style=plot.style_none, title="None")
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
