How to Setup NGROK for NinjaConnects from TradingView
Posted: Mon Feb 09, 2026 8:52 pm
- They have a docx file here
- https://drive.google.com/drive/folders/ ... 4qkBeKz8t1Google Drive
Double click, it has step by step setup. Actually their setup is better than NGROK. Basically you are building a tunnel from TV to NT8.
1. Start Powershell as administrator
2. Create a directory called NinjaConnects on C:\
download all files into c:\ninjaconnects
3. Goto https://ngrok.com/
4. Select get tarted for free.
5. and login to NGROC.
6. Download Windows Installer from Microsoft Store.
7. You will see a command on ngrok website. as ngrok congig add-authtoken ; run this command and also copy the token
8. Now use notepad and edit c:\ninjaconnects\ngrok.yml
8. paste your NGROK authtoken next to authtoken:
9. Save the ngrok.yml file. Leave everything as is.
10. Tell Windows about it . Use this command.
netsh http add urlacl url=http://+:35426/FcWebHook/ user=EVERYONE listen=yes delegate=yes
11. from c:\ninjaconnects directory, run this command to install the ngrok service.
ngrok service install --config C:\ninjaconnects\ngrok.yml
ngrok service start --config C:\ninjaconnects\ngrok.yml
12. Go to NGROK website and get your URL and append fcwebhook
like this but use your url as NGROK has given you.
https://nuoi-salamandrine-mullishly.ngr ... /fcwebhook
Use your URL above in the TradingView , to send the JSON alerts to.
It is on edit alert > Notifications on TradingView.
Enter it in the browser : You will see {status : processed }
To test from Powershell, ebter the following command, replace the URL with your URL, inclide the '/fcwebhook'
Invoke-RestMethod -Uri "https://<Your URL>/FcWebHook/" -Method Post -Body ' { "Sourcesecret": "OurSecret#", "TargetSecret": "TargetSecret#", "max_lag": "30", "timestamp": "2026-01-08T13:20:00Z", "trigger_price": "25797.00", "tv_exchange": "CME_MINI", "tv_instrument": "NQH2026", "quantity": "1", "order_id": "Long_2026-01-08T13:44:56Z", "action": "lsl" }'
You will see that this commend is received by NinjaTrader in the output1 tab.
Now copy and paste each and all of the JSON in the AlgoPro alert. I am using AlgoPro 1.4. There are 10 alerts. For enter_long, enter_short, lsl [long stop loss], ssl [shot stop loss], TP1-TP4, [take Profit 1 to Take profit 4] for short and long.
I hope this helps