Longtime Tradestation user looking at coding up some of my stuff on NT. I'm trying to get some of the basic strategy syntax down - can someone please help with the statement below?
Data1 = 1 min chart NQ
Data2 = 240 min chart NQ
If Close of Data2 > Open of Data2 (last 240 min bar was green)
and Close of Data1> Close of Data2[1] (current 1 min close of NQ is over the close of the last 240 min bar)
then buy this bar;
If Close of Data2 > Open of Data2 (last 240 min bar was green)
and Close of Data1<Close of Data2[1] (current 1 min close of NQ is UNDER the close of the last 240 min bar)
then SELL this bar;
Thanks so much, Brian
Comment