Forgive the basic question but trying to teach myself C#. Have used a script and attempting to modify. For the calculation of %b I would like to change from the original code to ( %b =( Last - LBB ) / ( UBB - LBB). My attempt is below with the original code following but i am getting an error. Thanks in advance.
CODE:
Please log in to see this code.
CODE:
Please log in to see this code.
Size:
Color:
QUOTE:
change from the original code to ( %b =( Last - LBB ) / ( UBB - LBB).
What you describe is different from what I see in your code. Actually, the "from" part in your description looks like the original formula.
QUOTE:
getting an error
What error?
Size:
Color:
The top code is my attempt to change the bottom code. The error I am getting is WealthLab Bars.Close is a property but is used lie a method.
I have included the entire script below.
CODE:
Please log in to see this code.
Size:
Color:
Remove "(Bars.Count - 1)" from that line.
Size:
Color: