Hi All,
If I use this function:
PivotLowVS(Instance, Price, LeftStrength, RightStrength, Length)
for the Instance = 1
I got a value by the print statement of the most recently occurring Pivot low (eg 7956,25), this seems to work OK, but
for Instance = 2
I got by the print statement just a -1, but I expect the value of the second most recently occurring Pivot low!
What is going wrong, do this function do not support an Instance greater than 1?
Thanks for advice
Strange "PivotLowVS" Function [SOLVED]
- Svetlana MultiCharts
- Posts: 645
- Joined: 19 Oct 2017
- Has thanked: 3 times
- Been thanked: 163 times
Re: Strange "PivotLowVS" Function [SOLVED]
Hello, LRP,
Please select the correct Length parameter for calculation of the function. If it doesn’t find the second value, it means there is no such value on the specified length.
Please select the correct Length parameter for calculation of the function. If it doesn’t find the second value, it means there is no such value on the specified length.