Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Arul
    @arul67800
     ## [0.9.0] - 2020-11-17
    
    * Scripts: advanced samplers (sym() function)
    * Implemented Dataset ops (update, merge, remove)
    * Countless small bug fixes as always
    * Scripts: add onclose()
    * Fixed auto-scroll (when new candle is added)
    * Scripts: offchart/onchart updates
    * DC: aggtool v2 (completely rewritten)
    * Custom legend buttons (your custom icon)
    * Tool groups
    * Scroll wheel modes: prevent, pass, click
    * WebWorker RAM limit
    * LineTool: add Ray mode
    * Legend buttons handlers [EXT]
    🙏🙏🙏
    John Leung
    @fuzzthink
    Question, what is "indexBased" in the code?
    John Leung
    @fuzzthink
    Ah, thank you!
    In case you're still online, just opened tvjsx/trading-vue-101#10
    Csaba
    @csabaxyz
    Hey, so I've been working with TradingVue for a bit now, but I have a question. Is there a way to figure out the chart's "scroll width"? I guess as a workaround I could check the number of candles and the spaces they'd take up at a certain zoom level, but I was hoping there is an easier way (as the zoom level might not be accessible). I couldn't find anything in the docs, or maybe just skipped it.
    Code's All Right ™
    @C451
    @csabaxyz it depends on what you call "scroll width". If it's a sum of all visible candles, than yes the layout has the data: e.g. candles.length * px_step
    Csaba
    @csabaxyz
    @C451 yes, that's what I'm looking for, but that only seems to be available inside an overlay. I was trying to access it from a ref to the chart.
    Code's All Right ™
    @C451
    @csabaxyz also here tv.$refs.chart._layout
    Csaba
    @csabaxyz

    @C451 that's quite hidden, but exactly what I'm looking for. Thank you!

    On another note, I started using the Ichimoku overlay and I found it kind of buggy with the small spaces between the drawn elements, where the wicks are, and triangles drawn with different colors where the cloud switches from positive to negative (sorry, I don't have the perfect trading vocab for this). So, locally I rewrote it and was thinking about publishing it, just in case it helps others. I'll still have to clean it up, but should I just send a pull request to the current Ichimoku overlay, or create a new "Ichimoku improved" version?

    I'm also working on a Point&Figure overlay, but that's nowhere near ready.
    Code's All Right ™
    @C451
    @csabaxyz that Ichimoku overlay was made by a community member and prob needs an improvement. Plus it was made before the scritps feature, so I guess a new one should be packaged with calc()

    I'm also working on a Point&Figure overlay, but that's nowhere near ready.

    Cool, I'd be glad to see it when it's done.

    Csaba
    @csabaxyz

    @C451 I've been playing around with the new calc(), but I'm not sure I understand how for example an Ichimoku can push certain data into the future. For example, SpanA and SpanB should by default show data 26 days ahead, and the lagging Span 26 days in the past (the lagging could be easy to solve).

    Before calc() I went around this by adding extra candles to the data that I passed to the overlay. But as calc() automatically gets the candle data, I feel like I shouldn't mess with that. So, is there a way to handle this situation?

    Code's All Right ™
    @C451
    @csabaxyz I'm going to make an std lib API doc, but generally speaking things works very similar to PINE, and theres a special offset() function
    Maxi Dev
    @maxidev
    Hi there, is any way to get the values on the chart by clicking it inside the container? I just want to fetch OHLCV values on some custom event to then use those
    Code's All Right ™
    @C451
    @maxidev the question is not clear enough, but I guess you need getCursor() function
    Maxi Dev
    @maxidev

    @maxidev the question is not clear enough, but I guess you need getCursor() function

    you see, when you hover over the chart, it shows OHLCV values on the top, basically I need to grab those values when a user clicks on a candle, for example

    Code's All Right ™
    @C451
    ## [0.10.0] - 2020-12-07
    
    The last version before RC (an important message after the notes):
    
    * The first package of mobile improvements
    * Enhances skins
    * Small modifications of scripts execution
    * Improvements of Interfaces (aka inline overlay UI)
    * Script fixes (update onchart/offchart OVs)
    * New aggtype: copy (fast aggregation through copying)
    * CSS tranforms support (transition)
    * Overlay name templates, e.g. "RSI, $length"
    * Fixed loading animation for some cases
    2 weeks before he release. The testing season is opened!
    Especially interesting, how the lib works on different mobile devices: https://tvjsx.github.io/trading-vue-demo/
    Any bugs are welcome in the issues.
    vamfixed
    @vamfixed
    How to add custom interval, like 1 minute, 1 day, 1 week?
    Code's All Right ™
    @C451
    The guide you never asked for, but I bet always wanted. https://github.com/tvjsx/trading-vue-js/blob/master/docs/guide/OVERLAYS.md
    Code's All Right ™
    @C451

    V1 20/12/2020
    The changes since the previous version:

    * 60% Performance boost
    * Std-lib: new functions (signal, onclose, ...)
    * DC sampler improvements

    Thank you to everyone who participated by asking the right questing, throwing in new feature ideas and finding sneaky bugs.
    Without you watching the process it wouldn't be possible to create this architecture & design.

    https://github.com/tvjsx/trading-vue-js

    release.gif
    pang
    @wssll789
    hi admin,What can I monitor to add historical data
    pang
    @wssll789
    hi admin,What can I monitor to add historical data
    done
    Akila Thiwanka
    @akjcodes

    V1 20/12/2020
    The changes since the previous version:

    * 60% Performance boost
    * Std-lib: new functions (signal, onclose, ...)
    * DC sampler improvements

    Thank you to everyone who participated by asking the right questing, throwing in new feature ideas and finding sneaky bugs.
    Without you watching the process it wouldn't be possible to create this architecture & design.

    https://github.com/tvjsx/trading-vue-js

    🎉

    pang
    @wssll789
    image.png
    pang
    @wssll789
    image.png
    image.png
    I tried npm run test but did not find these demos
    @C451
    Code's All Right ™
    @C451
    @wssll789 these are TBA
    martkir
    @martkir
    Has anyone had experience adding their trading-vue chart inside a React application? I tried creating a web component out of the trading-vue chart and just inserted that component into my React code. It seems to work almost ... The only issue is it rendering in the top left corner of the screen instead of inside the div I placed it
    image.png
    VERGNAIS Francois
    @Vergnais
    Hi everyone . Thank you for this amazing work !!
    I am trying ti figure out if ot is possible to store some channels or lines between 2 sessions (to keep technical analysis for several days) ? Did someone figured it out ?
    Code's All Right ™
    @C451
    @Vergnais hi, you can save/restore the whole DataStructure
    VERGNAIS Francois
    @Vergnais
    Great, i'll search that on the docs ! Thx
    Akila Thiwanka
    @akjcodes

    image.png

    Hi, anyone faced this issue when applying a Bollinger band overlay to an index-based chart? FYI @C451

    Code's All Right ™
    @C451
    @akjcodes the data sample is needed. It's hard to solve without it
    Akila Thiwanka
    @akjcodes

    @C451 will this help? https://gist.github.com/akjcodes/959373ca3bffc24c9832443529164a00

    BTW other overlays ex: SMA, EMA, STOCH, ATR... are working fine

    Code's All Right ™
    @C451
    @akjcodes what version are you rocking ? This bug was fixed a long time ago : ) This data works on 1.0
    Akila Thiwanka
    @akjcodes
    @C451 opz, it's bit old I guess. Can you let me know which source file I need to update to fix this issue :) The reason is I'm using your source code instead compiled code.
    or commit date, so I can cross-check it with my existing code.
    Rory Winston
    @rwinston
    This library is awesome - any plans to port to Vue 3?
    Code's All Right ™
    @C451
    Rory Winston
    @rwinston
    @C451 super thanks very much, I will check that out!
    oneart-dev
    @oneart-dev
    Hi! Any support for onHover yet in overlays?
    Jiateng Liang
    @toxicaker
    Hi. except ohlcv, how can I show change?(percentage)