how to use one series to trade on another ? say when VIX >28 then square , otherwise stay long ES
appreciated for your help.
how to use one series to trade on another ? say when VIX >28 then square , otherwise stay long ES
appreciated for your help.
Use Foreign / SetForeign, examples at KB:
https://www.amibroker.com/kb/2014/09/20/broad-market-timing-in-system-formulas/
Since you are new it is mandatory to read Knowledge base articles first.
Most basic things are are answered there already (but also in AB manual and in this forum).
Your question is basically a duplicate.