Page 1 of 1

Connecting scripts to MT4 with Pineconnector

Posted: Wed Mar 02, 2022 8:30 am
by Jsoldat
I vould like to connect a script to MT4 using Alerts on Trading view and Pineconnector.

There is one thing I have never understood: How to manage multiple forex pairs.

As every script in pine works on the basis of the chart opened on TV. How can I go about managing simultaneously more than one pair?
So my goal is to have the same script working on every pair I want and generate alerts on those pairs in order to open positions on MT4.

And I have one more question. Having Pineconnector, do I have to leave every chart open on TV and my computer on with MT4 all the time?

You would be of great help to me. Thank you :happy2:

Re: Connecting scripts to MT4 with Pineconnector

Posted: Thu Mar 03, 2022 8:08 pm
by processingclouds
Hey,

You can use request.security functions to get data from other symbols on same chart.

Also the alerts work on trading view own servers, so you do not really need everything open after you have set alerts.