Back to list of Stocks    See Also: Seasonal Analysis of MGNXGenetic Algorithms Stock Portfolio Generator, and Best Months to Buy/Sell Stocks

Fourier Analysis of MGNX (MacroGenics)

MGNX (MacroGenics) appears to have interesting cyclic behaviour every 24 weeks (2.5497*sine), 18 weeks (.9846*cosine), and 8 weeks (.6631*cosine).

MGNX (MacroGenics) has an average price of 25.11 (topmost row, frequency = 0).

Click on the checkboxes shown on the right to see how the various frequencies contribute to the graph. Look for large magnitude coefficients (sine or cosine), as these are associated with frequencies which contribute most to the associated stock plot. If you find a large magnitude coefficient which dramatically changes the graph, look at the associated "Period" in weeks, as you may have found a significant recurring cycle for the stock of interest.

Fourier Analysis

Using data from 10/10/2013 to 4/23/2018 for MGNX (MacroGenics), this program was able to calculate the following Fourier Series:
Sequence #Cosine Coefficients Sine Coefficients FrequenciesPeriod
025.10845   0
1-2.10891 4.11175 (1*2π)/238238 weeks
21.13777 -.34991 (2*2π)/238119 weeks
34.91375 1.5494 (3*2π)/23879 weeks
4-.99867 1.31616 (4*2π)/23860 weeks
5-.47798 2.23909 (5*2π)/23848 weeks
6-.69229 -1.54023 (6*2π)/23840 weeks
7-1.21511 .49911 (7*2π)/23834 weeks
8-.20533 -.64105 (8*2π)/23830 weeks
9-1.30122 -.16432 (9*2π)/23826 weeks
10.03006 -2.54966 (10*2π)/23824 weeks
11.76647 .03144 (11*2π)/23822 weeks
12-.28933 -.88857 (12*2π)/23820 weeks
13.9846 .4323 (13*2π)/23818 weeks
14-.61796 -.1309 (14*2π)/23817 weeks
15.51499 .16028 (15*2π)/23816 weeks
16.0931 .66671 (16*2π)/23815 weeks
17-.5854 .27653 (17*2π)/23814 weeks
18-.38926 .06962 (18*2π)/23813 weeks
19.41221 .2267 (19*2π)/23813 weeks
20.18641 .22158 (20*2π)/23812 weeks
21-.26045 .69121 (21*2π)/23811 weeks
22.06566 .52786 (22*2π)/23811 weeks
23-.02882 .117 (23*2π)/23810 weeks
24-.30956 .26043 (24*2π)/23810 weeks
25-.39945 .31846 (25*2π)/23810 weeks
26.10564 .07692 (26*2π)/2389 weeks
27-.22621 .0513 (27*2π)/2389 weeks
28-.04829 .13866 (28*2π)/2389 weeks
29.24848 -.42432 (29*2π)/2388 weeks
30-.12311 -.28571 (30*2π)/2388 weeks
31.66307 .3419 (31*2π)/2388 weeks
32.12345 -.43936 (32*2π)/2387 weeks
33.43291 .1413 (33*2π)/2387 weeks
34.21186 .42224 (34*2π)/2387 weeks
35.16352 .11618 (35*2π)/2387 weeks
36.04699 -.08524 (36*2π)/2387 weeks
37-.25788 .07532 (37*2π)/2386 weeks
38.18777 -.09841 (38*2π)/2386 weeks
39-.30967 -.04306 (39*2π)/2386 weeks
40.10502 -.01102 (40*2π)/2386 weeks
41-.02775 -.10239 (41*2π)/2386 weeks
42-.0189 .04801 (42*2π)/2386 weeks
43-.15163 -.075 (43*2π)/2386 weeks
44-.346 -.01849 (44*2π)/2385 weeks
45.21527 -.16644 (45*2π)/2385 weeks
46-.36904 .09842 (46*2π)/2385 weeks
47-.04971 -.1891 (47*2π)/2385 weeks
48-.05585 .02002 (48*2π)/2385 weeks
49.07756 -.07714 (49*2π)/2385 weeks
50-.04071 .00062 (50*2π)/2385 weeks
51-.05336 -.15544 (51*2π)/2385 weeks
52.13212 .26801 (52*2π)/2385 weeks
53.0398 -.02307 (53*2π)/2384 weeks
54.15078 .27542 (54*2π)/2384 weeks
55-.11538 .03388 (55*2π)/2384 weeks
56.01149 -.07554 (56*2π)/2384 weeks
57.06775 -.1609 (57*2π)/2384 weeks
58-.06282 .18826 (58*2π)/2384 weeks
59-.07848 -.02995 (59*2π)/2384 weeks
60.08045 -.10636 (60*2π)/2384 weeks
61-.01363 .10258 (61*2π)/2384 weeks
62.16065 .05682 (62*2π)/2384 weeks
63-.0517 -.17027 (63*2π)/2384 weeks
64-.02372 .00472 (64*2π)/2384 weeks
65-.05645 .05281 (65*2π)/2384 weeks
66-.04574 -.0231 (66*2π)/2384 weeks
67-.24519 .11087 (67*2π)/2384 weeks
68.17148 -.10617 (68*2π)/2384 weeks
69-.03988 -.0316 (69*2π)/2383 weeks
70.10059 -.02886 (70*2π)/2383 weeks
71.01762 .22238 (71*2π)/2383 weeks
72.02064 -.15763 (72*2π)/2383 weeks
73-.01738 -.14978 (73*2π)/2383 weeks
74.08601 .21866 (74*2π)/2383 weeks
75.16331 -.00581 (75*2π)/2383 weeks
76-.05487 .141 (76*2π)/2383 weeks
77-.11843 .14664 (77*2π)/2383 weeks
78.0123 .11263 (78*2π)/2383 weeks
79-.12772 .02944 (79*2π)/2383 weeks
80-.05786 .02828 (80*2π)/2383 weeks
81-.02114 .0191 (81*2π)/2383 weeks
82-.11475 -.16152 (82*2π)/2383 weeks
83.00904 -.03158 (83*2π)/2383 weeks
84.1672 .03629 (84*2π)/2383 weeks
85.06515 -.26661 (85*2π)/2383 weeks
86.12219 .04834 (86*2π)/2383 weeks
87.16053 -.03756 (87*2π)/2383 weeks
88.01766 -.09521 (88*2π)/2383 weeks
89.11716 .04926 (89*2π)/2383 weeks
90-.0253 -.03137 (90*2π)/2383 weeks
91-.03531 -.25941 (91*2π)/2383 weeks
92.11149 -.02133 (92*2π)/2383 weeks
93-.0236 -.01933 (93*2π)/2383 weeks
94.06051 -.12118 (94*2π)/2383 weeks
95.07923 .11154 (95*2π)/2383 weeks
96.03546 -.07409 (96*2π)/2382 weeks
97-.10232 .08818 (97*2π)/2382 weeks
98.09095 .09573 (98*2π)/2382 weeks
99.15542 .03044 (99*2π)/2382 weeks
100-.05564 .00949 (100*2π)/2382 weeks
101.051 .08278 (101*2π)/2382 weeks
102.08556 -.05389 (102*2π)/2382 weeks
103-.01325 -.03961 (103*2π)/2382 weeks
104.19458 .09641 (104*2π)/2382 weeks
105.12489 .1048 (105*2π)/2382 weeks
106-.0454 -.16439 (106*2π)/2382 weeks
107.09009 .10439 (107*2π)/2382 weeks
108.04577 .02001 (108*2π)/2382 weeks
109-.13573 .06663 (109*2π)/2382 weeks
110-.03866 -.1326 (110*2π)/2382 weeks
111.03665 .05949 (111*2π)/2382 weeks
112-.0171 -.09397 (112*2π)/2382 weeks
113-.01888 .11564 (113*2π)/2382 weeks
114.08198 .03493 (114*2π)/2382 weeks
115-.03821 -.04142 (115*2π)/2382 weeks
116-.04076 .03413 (116*2π)/2382 weeks
117.13218 .09317 (117*2π)/2382 weeks
118-.05015 -.02986 (118*2π)/2382 weeks
119-.20277   (119*2π)/2382 weeks
120-.05015 .02986 (120*2π)/2382 weeks
121.13218 -.09317 (121*2π)/2382 weeks
122-.04076 -.03413 (122*2π)/2382 weeks
123-.03821 .04142 (123*2π)/2382 weeks
124.08198 -.03493 (124*2π)/2382 weeks
125-.01888 -.11564 (125*2π)/2382 weeks
126-.0171 .09397 (126*2π)/2382 weeks
127.03665 -.05949 (127*2π)/2382 weeks
128-.03866 .1326 (128*2π)/2382 weeks
129-.13573 -.06663 (129*2π)/2382 weeks
130.04577 -.02001 (130*2π)/2382 weeks
131.09009 -.10439 (131*2π)/2382 weeks
132-.0454 .16439 (132*2π)/2382 weeks
133.12489 -.1048 (133*2π)/2382 weeks
134.19458 -.09641 (134*2π)/2382 weeks
135-.01325 .03961 (135*2π)/2382 weeks
136.08556 .05389 (136*2π)/2382 weeks
137.051 -.08278 (137*2π)/2382 weeks
138-.05564 -.00949 (138*2π)/2382 weeks
139.15542 -.03044 (139*2π)/2382 weeks
140.09095 -.09573 (140*2π)/2382 weeks
141-.10232 -.08818 (141*2π)/2382 weeks
142.03546 .07409 (142*2π)/2382 weeks
143.07923 -.11154 (143*2π)/2382 weeks
144.06051 .12118 (144*2π)/2382 weeks
145-.0236 .01933 (145*2π)/2382 weeks
146.11149 .02133 (146*2π)/2382 weeks
147-.03531 .25941 (147*2π)/2382 weeks
148-.0253 .03137 (148*2π)/2382 weeks
149.11716 -.04926 (149*2π)/2382 weeks
150.01766 .09521 (150*2π)/2382 weeks
151.16053 .03756 (151*2π)/2382 weeks
152.12219 -.04834 (152*2π)/2382 weeks
153.06515 .26661 (153*2π)/2382 weeks
154.1672 -.03629 (154*2π)/2382 weeks
155.00904 .03158 (155*2π)/2382 weeks
156-.11475 .16152 (156*2π)/2382 weeks
157-.02114 -.0191 (157*2π)/2382 weeks
158-.05786 -.02828 (158*2π)/2382 weeks
159-.12772 -.02944 (159*2π)/2381 weeks
160.0123 -.11263 (160*2π)/2381 weeks
161-.11843 -.14664 (161*2π)/2381 weeks
162-.05487 -.141 (162*2π)/2381 weeks
163.16331 .00581 (163*2π)/2381 weeks
164.08601 -.21866 (164*2π)/2381 weeks
165-.01738 .14978 (165*2π)/2381 weeks
166.02064 .15763 (166*2π)/2381 weeks
167.01762 -.22238 (167*2π)/2381 weeks
168.10059 .02886 (168*2π)/2381 weeks
169-.03988 .0316 (169*2π)/2381 weeks
170.17148 .10617 (170*2π)/2381 weeks
171-.24519 -.11087 (171*2π)/2381 weeks
172-.04574 .0231 (172*2π)/2381 weeks
173-.05645 -.05281 (173*2π)/2381 weeks
174-.02372 -.00472 (174*2π)/2381 weeks
175-.0517 .17027 (175*2π)/2381 weeks
176.16065 -.05682 (176*2π)/2381 weeks
177-.01363 -.10258 (177*2π)/2381 weeks
178.08045 .10636 (178*2π)/2381 weeks
179-.07848 .02995 (179*2π)/2381 weeks
180-.06282 -.18826 (180*2π)/2381 weeks
181.06775 .1609 (181*2π)/2381 weeks
182.01149 .07554 (182*2π)/2381 weeks
183-.11538 -.03388 (183*2π)/2381 weeks
184.15078 -.27542 (184*2π)/2381 weeks
185.0398 .02307 (185*2π)/2381 weeks
186.13212 -.26801 (186*2π)/2381 weeks
187-.05336 .15544 (187*2π)/2381 weeks
188-.04071 -.00062 (188*2π)/2381 weeks
189.07756 .07714 (189*2π)/2381 weeks
190-.05585 -.02002 (190*2π)/2381 weeks
191-.04971 .1891 (191*2π)/2381 weeks
192-.36904 -.09842 (192*2π)/2381 weeks
193.21527 .16644 (193*2π)/2381 weeks
194-.346 .01849 (194*2π)/2381 weeks
195-.15163 .075 (195*2π)/2381 weeks
196-.0189 -.04801 (196*2π)/2381 weeks
197-.02775 .10239 (197*2π)/2381 weeks
198.10502 .01102 (198*2π)/2381 weeks
199-.30967 .04306 (199*2π)/2381 weeks
200.18777 .09841 (200*2π)/2381 weeks
201-.25788 -.07532 (201*2π)/2381 weeks
202.04699 .08524 (202*2π)/2381 weeks
203.16352 -.11618 (203*2π)/2381 weeks
204.21186 -.42224 (204*2π)/2381 weeks
205.43291 -.1413 (205*2π)/2381 weeks
206.12345 .43936 (206*2π)/2381 weeks
207.66307 -.3419 (207*2π)/2381 weeks
208-.12311 .28571 (208*2π)/2381 weeks
209.24848 .42432 (209*2π)/2381 weeks
210-.04829 -.13866 (210*2π)/2381 weeks
211-.22621 -.0513 (211*2π)/2381 weeks
212.10564 -.07692 (212*2π)/2381 weeks
213-.39945 -.31846 (213*2π)/2381 weeks
214-.30956 -.26043 (214*2π)/2381 weeks
215-.02882 -.117 (215*2π)/2381 weeks
216.06566 -.52786 (216*2π)/2381 weeks
217-.26045 -.69121 (217*2π)/2381 weeks
218.18641 -.22158 (218*2π)/2381 weeks
219.41221 -.2267 (219*2π)/2381 weeks
220-.38926 -.06962 (220*2π)/2381 weeks
221-.5854 -.27653 (221*2π)/2381 weeks
222.0931 -.66671 (222*2π)/2381 weeks
223.51499 -.16028 (223*2π)/2381 weeks
224-.61796 .1309 (224*2π)/2381 weeks
225.9846 -.4323 (225*2π)/2381 weeks
226-.28933 .88857 (226*2π)/2381 weeks
227.76647 -.03144 (227*2π)/2381 weeks
228.03006 2.54966 (228*2π)/2381 weeks
229-1.30122 .16432 (229*2π)/2381 weeks
230-.20533 .64105 (230*2π)/2381 weeks
231-1.21511 -.49911 (231*2π)/2381 weeks
232-.69229 1.54023 (232*2π)/2381 weeks
233-.47798 -2.23909 (233*2π)/2381 weeks
234-.99867 -1.31616 (234*2π)/2381 weeks
2354.91375 -1.5494 (235*2π)/2381 weeks
2361.13777 .34991 (236*2π)/2381 weeks