For example: when the 3 bar crosses over the 8 bar average.
If I want to go long when the SAME indicator is used (today's indicator's value > the same indicator's value for yesterday's), the analyzer just chews through the data for a long time & all screens, charts, etc. are blank. If I change the 2nd indicator to any other indicator, it works fine.
Basically, on a 4 tick range chart, if this bar's LinReg(6) > the LinReg(6) of the previous bar...go long. Same logic, but reverse for going short.
Could someone please just supply the 4-8 lines of code that works.
The code I am trying is automatically created by NT.
I have also tried the same exact code that works when running an actual strategy, but it won't work in the analyzer.


Comment