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

Mixing open next with data2



PureBytes Links

Trading Reference Links

I want to place a stop-limit order on data1 in a system that refers to
data2. EL is giving me an error: "Cannot mix next bar prices with data
streams other than data1".

Example code that will generate error:
value1 = range of data2;
if open of next bar > 50 then buy at 50 limit else buy at 50 stop;

Notice the code is *not* trying to reference the next open of data2.

Any ideas how I can do a stop-limit on the next bar with a 2 data stream
system?

TIA,
Scott Hoffman