// User input for entry price entryPrice = input.float(title="Entry Price", defval=100.0, step=0.1)
// User inputs for profit and stop loss levels profitLevel = input.float(title="Profit Level (%)", defval=10.0, step=0.1) stopLossLevel = input.float(title="Stop Loss Level (%)", defval=-10.0, step=0.1)
// User input for USDT amount in the trade usdtAmount = input.float(title="USDT Amount", defval=1000.0, step=1.0)
// User input for trade type (Long or Short) tradeType = input.string(title="Trade Type", defval="Long", options=["Long", "Short"])
// User input for line styles and colors profitLineStyle = input.string(title="Profit Line Style", defval="Dotted", options=["Solid", "Dotted", "Dashed"]) profitLineColor = input.color(title="Profit Line Color", defval=color.green) stopLossLineStyle = input.string(title="Stop Loss Line Style", defval="Dotted", options=["Solid", "Dotted", "Dashed"]) stopLossLineColor = input.color(title="Stop Loss Line Color", defval=color.red)
// User input for fee percentage feePercentage = input.float(title="Fee Percentage (%)", defval=0.1, step=0.01)
// Show percentage difference in the price scale plot(percentDifference, title="% Difference on Price Scale", color=color.new(color.blue, 0), linewidth=0, display=display.price_scale)
// User input for entry price entryPrice = input.float(title="Entry Price", defval=100.0, step=0.1)
// User inputs for profit and stop loss levels profitLevel = input.float(title="Profit Level (%)", defval=10.0, step=0.1) stopLossLevel = input.float(title="Stop Loss Level (%)", defval=-10.0, step=0.1)
// User input for USDT amount in the trade usdtAmount = input.float(title="USDT Amount", defval=1000.0, step=1.0)
// User input for trade type (Long or Short) tradeType = input.string(title="Trade Type", defval="Long", options=["Long", "Short"])
// User input for line styles and colors profitLineStyle = input.string(title="Profit Line Style", defval="Dotted", options=["Solid", "Dotted", "Dashed"]) profitLineColor = input.color(title="Profit Line Color", defval=color.green) stopLossLineStyle = input.string(title="Stop Loss Line Style", defval="Dotted", options=["Solid", "Dotted", "Dashed"]) stopLossLineColor = input.color(title="Stop Loss Line Color", defval=color.red)
// User input for fee percentage feePercentage = input.float(title="Fee Percentage (%)", defval=0.1, step=0.01)
// Show percentage difference in the price scale plot(percentDifference, title="% Difference on Price Scale", color=color.new(color.blue, 0), linewidth=0, display=display.price_scale)