//@version=5
indicator("Phân Tích Đơn Giản BABYUSDT", overlay=true)
// Inputs
maLength = input.int(60, "Độ dài MA")
// MA Calculation
ma60 = ta.sma(close, maLength)
// Key Levels
high24 = ta.highest(high, 96) // đỉnh 24h trên biểu đồ 15m
low24 = ta.lowest(low, 96) // đáy 24h trên biểu đồ 15m
// Plot
plot(ma60, "MA60", color=color.gray)
plot(high24, "Đỉnh 24h", color=color.orange)
plot(low24, "Đáy 24h", color=color.yellow)
hline(0.01124, "Giá Hiện Tại", color=color.white)
// Alerts
longCondition = ta.crossover(close, ma60)
shortCondition = ta.crossunder(close, ma60)
alertcondition(longCondition, "Bứt Phá Tăng Giá", "Giá đã vượt lên trên MA60")
alertcondition(shortCondition, "Đột Phá Giảm", "Giá đã phá xuống dưới MA60")
#baby #square
indicator("Phân Tích Đơn Giản BABYUSDT", overlay=true)
// Inputs
maLength = input.int(60, "Độ dài MA")
// MA Calculation
ma60 = ta.sma(close, maLength)
// Key Levels
high24 = ta.highest(high, 96) // đỉnh 24h trên biểu đồ 15m
low24 = ta.lowest(low, 96) // đáy 24h trên biểu đồ 15m
// Plot
plot(ma60, "MA60", color=color.gray)
plot(high24, "Đỉnh 24h", color=color.orange)
plot(low24, "Đáy 24h", color=color.yellow)
hline(0.01124, "Giá Hiện Tại", color=color.white)
// Alerts
longCondition = ta.crossover(close, ma60)
shortCondition = ta.crossunder(close, ma60)
alertcondition(longCondition, "Bứt Phá Tăng Giá", "Giá đã vượt lên trên MA60")
alertcondition(shortCondition, "Đột Phá Giảm", "Giá đã phá xuống dưới MA60")
#baby #square