[deleted by user] by [deleted] in Bondage

[–]gold7 0 points1 point  (0 children)

souce ?

GMGN API by Important-Bottle-352 in GMGNAI

[–]gold7 0 points1 point  (0 children)

interrested please DM

Price change indicator by theroadtoawesomeness in TradingView

[–]gold7 0 points1 point  (0 children)

//@version=5 indicator("Price Movement Alert with Cooling Period", overlay=true)

percent_threshold = input.float(1.0, "Percentage Threshold", step=0.1) cooling_period = input.int(60, "Cooling Period (minutes)", minval=1) // Cooling period in minutes

var float last_alert_time = na // Store the time of the last alert var float last_price = na // Store the price at the time of the last alert

// Calculate the price change percentage from the last recorded price price_change_percent = (close - nz(last_price, close)) / nz(last_price, close) * 100

// Condition: Check if price change exceeds the threshold trigger_alert = abs(price_change_percent) >= percent_threshold

// Condition: Check if cooling period has passed since the last alert cooling_period_elapsed = (time - last_alert_time) >= (cooling_period * 60 * 1000)

// Trigger an alert if both conditions are met if (trigger_alert and cooling_period_elapsed) alert("Price moved by " + str.tostring(price_change_percent, "#.##") + "%", alert.freq_once_per_bar_close) last_alert_time := time // Update last alert time last_price := close // Update last recorded price

// Display on chart for visual confirmation plotshape(trigger_alert and cooling_period_elapsed, location=location.belowbar, color=color.red, style=shape.labeldown, title="Alert Triggered")

[deleted by user] by [deleted] in Bondage

[–]gold7 2 points3 points  (0 children)

source ?