to share, the indicator code to know over 1 month if you have a good token. If you can't get it to work, it doesn't matter. I hope Binance will introduce it, I asked, will they agree? he had predicted the fall of btc, besides, there really is nothing better đšđ”đšđ”
// This Pine Scriptâą code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © jeromehorus
//@version=5
//@version=5
indicator("token inspector Positive/Negative Volume Indicator", overlay=false)
// Parameters
length = input(14, title="Length of the period")
// Calculate the volume
volume_purchase = (close > open) ? volume : 0 // Volume of bullish candles
volume_vente = (close < open) ? volume : 0 // Volume of bearish candles
// Sum of positive and negative volumes over the given period
sum_volume_achat = math.sum(volume_achat, length)
sum_volume_vente = math.sum(volume_vente, length)
// Token evaluation
is_good_token = sum_volume_achat > ââsum_volume_vente ? 1:0
// Display results
plot(sum_volume_achat, color=color.green, title="Positive Volume", linewidth=2)
plot(sum_volume_sale, color=color.red, title="Negative Volume", linewidth=2)
// Indication on the graph
bgcolor(is_good_token ? color.new(color.green, 90): color.new(color.red, 90), title="Token Evaluation")
// Show status as text on chart
label.new(bar_index, na, is_good_token ? "Good Token" : "Bad Token", color=is_good_token ? color.green : color.red, style=label.style_label_down, textcolor=color.white, size=size.small)
plot(close)