yaroslaw85/tv-webhook-bridge — reverse-engineered prompt
Reverse engineered prompt
Build me a simple JavaScript bridge that receives TradingView webhook alerts and makes them usable by an MT4 MQL4 trading bot.
I want to be able to run it locally or on a small server, give TradingView a webhook URL, and have the app accept the alert message, log it clearly, and pass the trade signal along in a simple format the MT4 bot can read. Keep the setup easy, with a config for the port, a shared secret or token, and any MT4 connection or output settings that are needed.
Please include a basic example TradingView alert payload, handle bad or missing data gracefully, and make it obvious in the console when a signal is received, accepted, or rejected. Add clear README instructions so someone who is not very technical can install it, start it, test it with a sample request, and understand what the MQL4 bot should read or listen for.
Look up current docs online if you need to.
Want more depth? Deep Reverse