[NinjaScriptProperty]
[Range(0, int.MaxValue)]
[Display(Name="Preferred Min Chop Points", Order=1, GroupName="Parameters")]
public int PreferredMinChopPoints
{ get; set; }
I would like to input a decimal in steady of whole number, right now It will not take .50 only 1 and above
[Range(0.01, int.MaxValue)]
I tried to change Range to allow but still will only take 1 and above
H1 and L1 are prev pivots as you might see in a ZigZag Plot, so the sum is in dollar values, so if the sum is < 30 for example on NQ that is 30 Points which is fine
BUT FOR STOCKS needs to be maybe under 1 dollar or 1 Point, it would be much better to express in ticks
double h1l1sumrangecheckC1 = H1[0]-L1[0];
h1l1sumrangecheckC1 < PreferredMinChopPoints
SHOULD I BE CHANGING THE FORMULA AND TRY TO EXPRESS IN TICKS
double h1l1sumrangecheckC1 = ((H1[0]-L1[0] * 100);// FOR STOCKS
double h1l1sumrangecheckC1 = ((H1[0]-L1[0] * 4);/FOR ES AND NQ
LOOKING FOR IDEA OR VERIFICATION OF MY LAST THOUGHTS
THANKS
Happy Holidays
Comment