OPEN-SOURCE SCRIPT

Contador de SL y TP Manual

//version=5
indicator("Contador de SL y TP Manual", overlay=true)

// Inputs para ajustar manualmente los contadores
slCount = input.int(1, title="Contador de SL", minval=1, maxval=50)
tpCount = input.int(1, title="Contador de TP", minval=1, maxval=50)

// Crear una tabla para mostrar los contadores
var table contadorTable = table.new(position.top_center, 2, 1, border_width=1, frame_color=color.black, frame_width=1)

// Actualizar la tabla con los valores de SL y TP
table.cell(contadorTable, 0, 0, "SL: " + str.tostring(slCount), text_color=color.red)
table.cell(contadorTable, 1, 0, "TP: " + str.tostring(tpCount), text_color=color.green)
Advance/Decline RatioCandlestick analysisPine utilities

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항