Hello everyone.
First of all, thanks for a great forum. I’ve been snooping around the last month looking at different post, and I really like the tone in the post.
I have studied Technical Analysis for the past two years, when time was for it (yep, got small kids) and been trying different platforms. But it’s difficult to find a platform supporting Nordic stocks. I’m a novice regarding trading/investing and coding. I see myself as patient 😉 though I must admit that I’m stuck.
I’ve read through the forum and programming guide, but my skills are not sufficient enough :/
The code I would like help to converted is as follows:
(Metastock non-logical language)
Lower line = If(LinearReg(C,13)>PREV,If(LinearReg(C,13)-(ATR(13)*2.5)>PREV,LinearReg(C,13)-(ATR(13)*2.5),PREV),LinearReg(C,13));
This is supposed to draw a line under the price as a kind of visual stoploss line, but not trigger the stoploss function (only as a visual guidance).
I think the solution lies within page 17 in the probuilder guide (Bar index example), I just can’t figure it out :/
Thanks in advance!
/Tradeplan