What is the best code to compare 2 Tickers (Bear and Bull) with the same Name 
except for the last 4 characters ?

Something like if (Close of *Bull > Close of *Bear, 1, 0)

Examples below:

~i0-Accident &-MACDBear
~i0-Accident &-MACDBull
~i1-Advertisin-MACDBear
~i1-Advertisin-MACDBull
~i10-Applicatio-MACDBear
~i10-Applicatio-MACDBull
~i100-Insurance -MACDBear
~i100-Insurance -MACDBull
~i101-Internet I-MACDBear
~i101-Internet I-MACDBull
 

Reply via email to