I'm looking to implement an EFS that could deal with pairs trading... here's what I have in mind:
- 1 advanced chart with ratio (stock 1 / stock 2)
- plot 2 moving average (10 days and 50 days) using this ratio value to use as a signal for entry and exit point of the trade
- whenever entry point is received, do a trade (eg. long stock 1 and short stock 2)
previously I was thinking that I could do this by using only 1 advanced chart, however someone point me out that I need to use additional two charts (for stock 1 and stock 2) and use global variable as a trigger for this additional charts.
could anyone give me like an example or guide on how I could achieve this ? thanks in advanced
cheers,
Marlon
- 1 advanced chart with ratio (stock 1 / stock 2)
- plot 2 moving average (10 days and 50 days) using this ratio value to use as a signal for entry and exit point of the trade
- whenever entry point is received, do a trade (eg. long stock 1 and short stock 2)
previously I was thinking that I could do this by using only 1 advanced chart, however someone point me out that I need to use additional two charts (for stock 1 and stock 2) and use global variable as a trigger for this additional charts.
could anyone give me like an example or guide on how I could achieve this ? thanks in advanced
cheers,
Marlon
Comment