I am trying to develop a different approach to selecting a target price for EnterLongLimit.
Variables:
#region touch_price
private int ifactor1 = 8;
[Description("value for array matrix multiplier to develop touch price for target on LIT")]
[GridCategory("Touch_Price")]
[Gui.Design.DisplayName ("1.a value for array matrix multiplier to develop touch price 3( 1 8 1)")]
public int factor1
{ get { return ifactor1; } set { ifactor1 = Math.Max(1, value); } }
private int ifactor2 = 8;
[Description("value for array matrix multiplier to develop touch price for target on LIT")]
[GridCategory("Touch_Price")]
[Gui.Design.DisplayName ("1.b value for array matrix multiplier to develop touch price 3( 1 8 1)")]
public int factor2
{ get { return ifactor2; } set { ifactor2 = Math.Max(1, value); } }
private int ifactor3 = 8;
[Description("value for array matrix multiplier to develop touch price for target on LIT")]
[GridCategory("Touch_Price")]
[Gui.Design.DisplayName ("1.c value for array matrix multiplier to develop touch price 3( 1 8 1)")]
public int factor3
{ get { return ifactor3; } set { ifactor3 = Math.Max(1, value); } }
#endregion
private int total_factor = 10;
double BIP2prc = Lows[2][0];
double BIP1prc = Closes[1][0];
total_factor = factor1 + factor2 + factor3;
touch_price = ( (factor3 * BIP3prc) + (factor2 * BIP2prc) + (factor1 * BIP1prc) )/10;
Any ideas what I goofed on to start looking?
Thanks,
Jon



Comment