[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to do "buy if some function of index" is true?



PureBytes Links

Trading Reference Links


Let's say I have security ABC open in a window, and the SPX
open in another window.

Is it possible to write an expert (or indicator, or system test)
that will do something like (for example)

buy ABC if the SPX is at a 20 day high?