小编mly*_*own的帖子

我如何提出一个好问题?为什么使用plotshape时会出现错误?

var x = '123'
x := x + '211'
plotshape(true, style=shape.labelup, color=close>open ?color.green:color.red, text= x, location=location.belowbar)
Run Code Online (Sandbox Code Playgroud)

将出现错误“第 39 行:无法使用plotshape参数调用(文字 bool、style=const string、color=series[color]、text=string、location=const string);可用的重载:plotshape(series [bool],const string,输入字符串,输入字符串,series [color],输入整数,series [integer],const string,series [color],const bool,const string,输入整数,字符串) => 无效;plotshape(fun_arg__,常量字符串,输入字符串,输入字符串,fun_arg__,输入整数,系列[整数],常量字符串,fun_arg__,常量布尔,常量字符串,输入整数,字符串)=> void'

pine-script

1
推荐指数
1
解决办法
3424
查看次数

标签 统计

pine-script ×1