Check Tradestation Data1 for Call or Put using Easylanguage

Discussion in 'Options' started by MarketCoding, Aug 21, 2017.

  1. if XAverage(Close, 12) of Data2 Crosses Above XAverage(Close, 26) of Data2 and OpenD(0) > CloseD(1)

    I have the above line that I would like to also test for the condition of Data1 and only trade if Data1 contains a Call and not a Put