Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Didnt work with a number either. I think if there would be a number it would somehow have to indicate that its a number-series that it would have to calculate the regressionline on.
The error without a number:
causal study: (Function)
The error with a number: LinearRegAngle(LowD(2), 9)
You may just need to declare it first. I use value instead of var so you don't need to declare the type with the "variables:" preample. So something like this:
You can always check the function works at all with the output tab:
Thank you for your help, I had given up but it got me really investigating it. It works both with a number and a variable now. Additionally I had to restart the PL editor, for some reason it had gotten stuck and wouldnt compile even with the number there. After a restart it compiles with the same syntax.
Thank you for your help, I had given up but it got me really investigating it. It works both with a number and a variable now. Additionally I had to restart the PL editor, for some reason it had gotten stuck and wouldnt compile even with the number there. After a restart it compiles with the same syntax.
Hmm..
Actually it was a bit too early.
It compiles ok, but the logic doesnt work. It probably now just uses the 2 there for all numbers instead of using a series of numbers for the regressionline.