Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
flare9x committed Aug 3, 2018
2 parents 4e0ae06 + 2afdfc1 commit d853e57
Show file tree
Hide file tree
Showing 2 changed files with 266 additions and 264 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/flare9x/MarketCycles.jl.svg?branch=master)](https://travis-ci.org/flare9x/MarketCycles.jl)
[![Build Status](https://travis-ci.org/flare9x/MarketCycles.jl.svg?branch=master)](https://travis-ci.org/flare9x/MarketCycles.jl) [![Coverage Status](https://coveralls.io/repos/flare9x/MarketCycles.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/flare9x/MarketCycles.jl?branch=master) [![codecov.io](http://codecov.io/github/flare9x/MarketCycles.jl/coverage.svg?branch=master)](http://codecov.io/github/flare9x/MarketCycles.jl?branch=master)

# MarketCycles

Expand Down Expand Up @@ -99,13 +99,14 @@ lo = op - rand(n)
cl = 100.0 + cumsum(randn(n))
index = collect(1:1:length(cl))
for i = 1:n
if cl[i] > hi[i]
cl[i] = hi[i]
elseif cl[i] < lo[i]
cl[i] = lo[i]
end
if cl[i] > hi[i]
cl[i] = hi[i]
elseif cl[i] < lo[i]
cl[i] = lo[i]
end
end


# Apply autocorrelation reversals function
auto_cor_reversals = AutoCorrelationReversals(cl,min_lag=1,max_lag=48,LPLength=10,HPLength=48,AvgLength=3)

Expand Down
Loading

0 comments on commit d853e57

Please sign in to comment.