This is what i am working on. Could someone show me what i need to do???? Thank You
__________________________________________________ _____
public class MarcOgreenTest3 : Strategy
{
#region Variables
// Wizard generated variables
private int myInput0 = 1; // Default setting for MyInput0
// User defined variables (add any user defined variables below)
#endregion
/// <summary>
/// This method is used to configure the strategy and is called once before any strategy method is called.
/// </summary>
protected override void Initialize()
{
Add(AaIchimokuNT7(20, 14, 9, 26, 52));
Add(AaIchimokuNT7(20, 14, 9, 26, 52));
Add(AaIchimokuNT7(20, 14, 9, 26, 52));
Add(AaIchimokuNT7(20, 14, 9, 26, 52));
SetStopLoss("FSO", CalculationMode.Ticks, 16, false);
CalculateOnBarClose = true;
}
/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
// Condition set 1
if (Time[0].DayOfWeek != DayOfWeek.Monday && Time[0].DayOfWeek != DayOfWeek.Friday)
if ((ToTime(Time[0]) >= 83000 && ToTime(Time[0]) < 120000) || (ToTime(Time[0]) >= 140000 && ToTime(Time[0]) < 154500))
if (CrossAbove(AaIchimokuNT7(20, 14, 9, 26, 52).KijunSen, AaIchimokuNT7(20, 14, 9, 26, 52).SenkouSpanA, 1)
&& AaIchimokuNT7(20, 14, 9, 26, 52).ChikouSpan[26] > High[26])
{
EnterLong(3, "enter long ");
}
// Condition set 2
if (Low[0] <= AaIchimokuNT7(20, 14, 9, 26, 52).SenkouSpanA[0])
{
ExitLong("Trail Stop Cloud", "");
}
}
#region Properties
[Description("")]
[GridCategory("Parameters")]
public int MyInput0
{
get { return myInput0; }
set { myInput0 = Math.Max(1, value); }
}
#endregion
}

Comment