Automatically toggle between activate and inactive sessions for the PineConnector EA.
At the start of the active timing, an alert will be sent to activate your EA, similarly for end of active timing.
Looking to automate your TradingView strategies while your broker is on MetaTrader?
Try PineConnector for 7 days – credit card not required.
||Steps to use this EA Session:
Create a PineScript and attach the code below
// © PineConnector
indicator("EA Sessions (PineConnector)", "", true)
LicenseID = 50123456789 // 1. update to your PineConnector License ID
TimeActive = time("D", "0600-2000:23456", "GMT+8") // 2. update to your desired operating timings. days active (23456 = Monday to Friday), and timezone of choice (London = GMT-0, Singapore = GMT+8)
bgcolor(TimeActive ? color.new(color.green,88) : color.new(color.red, 88))
plotshape(TimeActive and not TimeActive, style=shape.labelup, location=location.belowbar, color=color.green, size=size.large, text='Alert Fire: \nReactivate PineConnector EA', textcolor=color.white)
plotshape(TimeActive and not TimeActive, style=shape.labeldown, location=location.abovebar, color=color.red, size=size.large, text='Alert Fire: \nHalt PineConnector EA', textcolor=color.white)
if TimeActive and not TimeActive
Edit 2 rows of the code
● License ID found in the PineConnector members area (e.g. 60123456789)
● TimeActive -> Preferred time active, days active, and timezone
||Save the code, and click "Add to Chart"
Ensure you select "EA sessions (PineConnector)" when creating an alert.
hello pls, how do i download this free EA of pineconnector. thanks, peter from nigeria
I modified the script with the ID in my use, but at the change of the time slot the EA does not change the status, what can it depend on?
thank you very much