I want to adjust the pivotindicator. The adjustment is nearly finished i have just one problem.
In the pivotsindicator it is possible to enter user defined values for close, high and low.
Now I dont want to enter user defined values I want to type in numbers that are then added to the current close, high and low. can someone help me in that matter?
this is what i have:
currentClose = (priorDayHLC == HLCCalculationMode.UserDefinedValues) ? userDefinedClose : close;
currentHigh = (priorDayHLC == HLCCalculationMode.UserDefinedValues) ? userDefinedHigh : high;
currentLow = (priorDayHLC == HLCCalculationMode.UserDefinedValues) ? userDefinedLow : low;
}
else
{
currentClose = (priorDayHLC == HLCCalculationMode.UserDefinedValues) ? userDefinedClose : close;
currentHigh = (priorDayHLC == HLCCalculationMode.UserDefinedValues) ? userDefinedHigh : Math.Max(currentHigh, high);
currentLow = (priorDayHLC == HLCCalculationMode.UserDefinedValues) ? userDefinedLow : Math.Min(currentLow, low);
i think there are just small changes to implement.
thx in advance
ragga
Comment