I have downloaded 1.1 and have been experimenting with some Solvers and Logic templates.
One of my three conditions for generating entry signals is comparing the EMA values of two consecutive bars:
a) If, at the close of the current bar, its EMA value is larger than the previous bar's EMA value, it's OK to go LONG.
b) If, at the close of the current bar, its EMA value is smaller than the previous bar's EMA value, it's OK to go SHORT.
Can this be done with BH?
From: Jeremy Tang <email@example.com>
Sent: Monday, December 31, 2012 2:11 PM
Subject: [Support Center] Re: Re: [Support Center] Re: Bloodhound questions
This can be done by using a displacement value (also known as an offset) in an indicator comparison solver.
First add an indicator comparison solver. Then set both Indicator A and B to your EMA indicator as shown in the picture.
Finally set the displacement value for Indicator B to be 1. This will ensure that you are comparing the current bar close to the last bar close (1 bar ago).
Also be sure that your Calculate On Bar close setting under the NinjaTrader's indicator panel for SiBloodHound is set to TRUE. This will ensure that you only get signals on the bar close, and not in the middle of a bar.
Let me know if this helps.