小编Lab*_*ces的帖子

如何在Pine脚本中用字符串编写变量?

我尝试用变量编写文本,但不能

aaaa = 121.150
bbbb = 120.100
target = "TP = " + ( aaaa * 0.9 ) + "\n SL = " + bbbb*1.01
plotshape(data , style=shape.triangledown,location=location.abovebar, color=red, text=target)
Run Code Online (Sandbox Code Playgroud)

我希望输出看起来像这样:

forex pine-script

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

标签 统计

forex ×1

pine-script ×1