Skip to main content
Glama

CodeAnalysis MCP Server

by 0xjcf
non_compliant.pine.bak961 B
//@version=6 // =================== METADATA =================== // indicator("Non-Compliant Indicator", overlay=true) // =================== INPUT GROUPS =================== // // =================== INPUT PARAMETERS =================== // i_length = input.int(14, "Length", minval=1) i_source = input.source(close, "Source") // =================== VARIABLE DECLARATIONS =================== // var v_buffer = array.new_float(0) var v_last_signal = 0 // =================== FUNCTION DEFINITIONS =================== // f_sma(src, length) => sum = 0.0 for i = 0 to length - 1 sum += src[i] sum / length // =================== MAIN CALCULATIONS =================== // v_ma = f_sma(i_source, i_length) // =================== VISUALIZATION =================== // plot(v_ma, "SMA", color=color.blue, linewidth=2) // =================== ALERTS =================== // alertcondition(i_source > v_ma, "Buy Signal", "Price crossed above SMA")

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0xjcf/MCP_CodeAnalysis'

If you have feedback or need assistance with the MCP directory API, please join our Discord server