本页源码来自 TradingView 公开发布的开源脚本,版权归原作者所有, 请遵循其原始许可(Pine 脚本常见 CC BY-NC-SA / MPL-2.0 / MIT)。 本项目仅用于研究检索与许可范围内的移植。
//@version=6
indicator("My Trade Commandment", overlay=true)
var table dash = table.new(
position.top_center,
7, 2,
bgcolor=color.rgb(10, 10, 14),
frame_color=color.rgb(212, 175, 55),
frame_width=2,
border_color=color.rgb(65, 65, 65),
border_width=1)
if barstate.islast
table.cell(dash, 0, 0, "ANALYZE", text_color=color.rgb(255, 200, 40), bgcolor=color.rgb(25, 25, 30))
table.cell(dash, 1, 0, "FUNDAMENTALS", text_color=color.rgb(255, 200, 40), bgcolor=color.rgb(25, 25, 30))
table.cell(dash, 2, 0, "KEY LEVELS", text_color=color.rgb(255, 200, 40), bgcolor=color.rgb(25, 25, 30))
table.cell(dash, 3, 0, "PATIENCE", text_color=color.rgb(255, 200, 40), bgcolor=color.rgb(25, 25, 30))
table.cell(dash, 4, 0, "MANAGE RISK", text_color=color.rgb(255, 200, 40), bgcolor=color.rgb(25, 25, 30))
table.cell(dash, 5, 0, "CONTROL EMOTIONS", text_color=color.rgb(255, 200, 40), bgcolor=color.rgb(25, 25, 30))
table.cell(dash, 6, 0, "REVIEW TRADES", text_color=color.rgb(255, 200, 40), bgcolor=color.rgb(25, 25, 30))
table.cell(dash, 0, 1, "✓", text_color=color.lime)
table.cell(dash, 1, 1, "✓", text_color=color.lime)
table.cell(dash, 2, 1, "✓", text_color=color.lime)
table.cell(dash, 3, 1, "✓", text_color=color.lime)
table.cell(dash, 4, 1, "✓", text_color=color.lime)
table.cell(dash, 5, 1, "✓", text_color=color.lime)
table.cell(dash, 6, 1, "✓", text_color=color.lime)