Supertrend DLL

copypasteaee

Humbled by Markets
#11
Thank you

I think you don't need license of dotnetforab.

Have you tried this dll omitting another dll in rar?

RAO
Right now in Hyderabad for family holidays. Will be back at my place by week end. Then I will give it try and let you know.
 
#13
Later i uploaded another dll amibroker plugin host .dll.
I think when you install dotnetforab the said dll automatically install.
What i want know is whether it is working or not,using AB 5.6

RAO
 

Raj232

Well-Known Member
#14
Thanks for response.

To Raj232
Is it worked for you?
Again thanks for your response.
Hi, no .. I was curious to know what use it can be put as I already seen it in AFL which gives lots of whipsaws. So in case you have implemeted some additional logic, its not much use to implement for me just because it is 1 line.

Anyways thanks for the same :)
 

copypasteaee

Humbled by Markets
#15
Can some one implement supertrend without loop.
 

mastermind007

Well-Known Member
#16
Can some one implement supertrend without loop.
Super-trend without loop is not really feasible. This is closest (but not accurate) implementation of ST without loop.

Code:
mp = (H+L)/2;
aa = atr(20);
uu = mp + 3 * aa;
dd = mp - 3 * aa;
gl = IIf(Ref(C, -1) > uu, 1, null);
gs = IIf(Ref(C, -1) < dd, 1, null);
tr = Flip(gl, gs) - Flip(gs, gl);
su = HighestSince(gl == 1, uu);
sd = LowestSince (gs == 1, dd);
Plot(IIf(tr == 1, su, IIf(tr == -1, sd, null)), "ST", IIf(tr == 1, colorGreen, IIf(tr == -1, colorRed, colorLightGrey)), styleLine);
I suppose the only advantage of using DLL in this specific context is little bit speed gain. However if appa were to build a DLL with many complex indicators (not already present in amibroker) built into it than that would be worthwhile as library.
 

mastermind007

Well-Known Member
#17
Can some one implement supertrend without loop.
Super-trend without loop is not really feasible. This is closest (but not accurate) implementation of ST without loop.

Code:
mp = (H+L)/2;
aa = atr(20);
uu = mp + 3 * aa;
dd = mp - 3 * aa;
gl = IIf(Ref(C, -1) > uu, 1, null);
gs = IIf(Ref(C, -1) < dd, 1, null);
tr = Flip(gl, gs) - Flip(gs, gl);
su = HighestSince(gl == 1, uu);
sd = LowestSince (gs == 1, dd);
Plot(IIf(tr == 1, su, IIf(tr == -1, sd, null)), "ST", IIf(tr == 1, colorGreen, IIf(tr == -1, colorRed, colorLightGrey)), styleLine);
I suppose the only advantage of using DLL in this specific context is little bit speed gain. However if appa were to build a DLL with many complex indicators (not already present in amibroker) built into it than that would be worthwhile as library.
 

Similar threads