Skip to content

Instantly share code, notes, and snippets.

@milktrader
Created December 28, 2013 15:31
Show Gist options
  • Save milktrader/8160651 to your computer and use it in GitHub Desktop.
Save milktrader/8160651 to your computer and use it in GitHub Desktop.
more conversation
# this works but might be difficult to humanely parse
# can you guess what it means?
# answer below
julia> doji(op,hi,lo,cl) |> istrue |> index |> x -> when(cl, x)
# answer coming up
# what is the closing price when a doji registers?
# maybe an argument for reversing the pipe?
julia> x -> when(cl,x) |> index |> istrue |> doji(op,hi,lo,cl)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment