The strategy im working on has to enter a trade if the following is met
Previous 2 bar are positive (Open < Close)
+
The price has fallen 3 points from the CURRENT bar's open.
Currently I have the Calculate as
Calculate.OnEachTick
if (IsFirstTickOfBar)
{
if (Open[1] < Close[1])
&& (Open[2] < Close[2])
}
&& ((Low[0] + 3) < Open[0])
{
EnterLong(Convert.ToInt32(DefaultQuantity), @"buy");
BarBrush = Brushes.DodgerBlue;
}
(Low[0] + 3) < Open[0])
Thanks!

Comment