Re: Wolf Wave
Dear Ashish,
I tried to run this AFL in Amibriker !! It gives some errors like 'colA not initialized ' !! Can u please make the desired changes in the AFL and post here again ?
regards.
JB,
With this slight change in points parameter it made relatively better hit :
colA:
.......8.............
Pa:=Trough(4,LOW,.75);
Pb:=Peak(3,HIGH,.75);
P1:=Trough(3,LOW,.75);
P2:=Peak(2,HIGH,.75);
P3:=Trough(2,LOW,.75);
P4:=Peak(1,HIGH,.75);
P5:=Trough(1,LOW,.75);
tb:=TroughBars(1,LOW,.75);
tb<=4 AND
p1 > pa AND
pb < p2 AND
p1 < p2 AND
p1 < p4 AND
p1 > p3 AND
p3 > p5 AND
p4 < p2
................8...............
colB:
...................................8.................
p1:=Trough(3,LOW,.75);
p3:=Trough(2,LOW,.75);
p5:=Trough(1,LOW,.75);
o1:=p1-p3;
o2:=p1-p5;
a1:=TroughBars(3,LOW,.75)-TroughBars(2,LOW,.75);
a2:=TroughBars(3,LOW,.75)-TroughBars(1,LOW,.75);
tan1:=o1/a1;
tan2:=o2/a2;
Abs(tan1-tan2)
......................................8..........................
colC:
...........................8...............
a1:=TroughBars(3,LOW,.75)-TroughBars(2,LOW,.75);
a2:=TroughBars(3,LOW,.75)-TroughBars(1,LOW,.75);
a1;
.....................8....................
colD:
...................8...................
p1:=Trough(3,LOW,.75);
p3:=Trough(2,LOW,.75);
p5:=Trough(1,LOW,.75);
o1:=p1-p3;
o2:=p1-p5;
o1;
........................8........................
colE:
L
colF
C
...........................................
Now without the filter see the thing with say only Nifty stocks you will get a feel.
Asish
With this slight change in points parameter it made relatively better hit :
colA:
.......8.............
Pa:=Trough(4,LOW,.75);
Pb:=Peak(3,HIGH,.75);
P1:=Trough(3,LOW,.75);
P2:=Peak(2,HIGH,.75);
P3:=Trough(2,LOW,.75);
P4:=Peak(1,HIGH,.75);
P5:=Trough(1,LOW,.75);
tb:=TroughBars(1,LOW,.75);
tb<=4 AND
p1 > pa AND
pb < p2 AND
p1 < p2 AND
p1 < p4 AND
p1 > p3 AND
p3 > p5 AND
p4 < p2
................8...............
colB:
...................................8.................
p1:=Trough(3,LOW,.75);
p3:=Trough(2,LOW,.75);
p5:=Trough(1,LOW,.75);
o1:=p1-p3;
o2:=p1-p5;
a1:=TroughBars(3,LOW,.75)-TroughBars(2,LOW,.75);
a2:=TroughBars(3,LOW,.75)-TroughBars(1,LOW,.75);
tan1:=o1/a1;
tan2:=o2/a2;
Abs(tan1-tan2)
......................................8..........................
colC:
...........................8...............
a1:=TroughBars(3,LOW,.75)-TroughBars(2,LOW,.75);
a2:=TroughBars(3,LOW,.75)-TroughBars(1,LOW,.75);
a1;
.....................8....................
colD:
...................8...................
p1:=Trough(3,LOW,.75);
p3:=Trough(2,LOW,.75);
p5:=Trough(1,LOW,.75);
o1:=p1-p3;
o2:=p1-p5;
o1;
........................8........................
colE:
L
colF
C
...........................................
Now without the filter see the thing with say only Nifty stocks you will get a feel.
Asish
I tried to run this AFL in Amibriker !! It gives some errors like 'colA not initialized ' !! Can u please make the desired changes in the AFL and post here again ?
regards.