Re: Prop firms that require a stop loss on every trade
Posted: Sun Nov 08, 2026 12:47 pm
How to use this in TradingView:
1.) Open a chart in TradingView and click the Pine Editor tab at the bottom.
2.) Delete any existing code, paste the script above, and click Save.
3.) Click Add to chart.
To automate this on a live account, you will need to link the strategy's alert() function to a webhook service (like PineConnector or AutoView) that forwards the trade to your broker.
If your goal is strictly to scalp manually by clicking buy/sell on the TradingView chart, the platform currently does not support attaching scripts to manual UI clicks. You would need to use TradingView's built-in order panel to set default risk percentages before clicking buy.
1.) Open a chart in TradingView and click the Pine Editor tab at the bottom.
2.) Delete any existing code, paste the script above, and click Save.
3.) Click Add to chart.
To automate this on a live account, you will need to link the strategy's alert() function to a webhook service (like PineConnector or AutoView) that forwards the trade to your broker.
If your goal is strictly to scalp manually by clicking buy/sell on the TradingView chart, the platform currently does not support attaching scripts to manual UI clicks. You would need to use TradingView's built-in order panel to set default risk percentages before clicking buy.