pine script to probuilder

Forums ProRealTime English forum ProBuilder support pine script to probuilder

Viewing 15 posts - 1 through 15 (of 21 total)
  • #225075

    hello all I have a question I’m hoping some one can help? I like an indicator on trading view platform called sessions (luxalgo) which is coded in pine script I’m wondering if its possible to convert to probuilder to use in prorealtime platform? I am pretty clueless when it comes to things like this I am also  new to this forum.

    #225078
    JS

    Hi @VINNYVINCE

    If you want a code conversion, the “official” way to do it is via menu:

    Help => Ask for a free code conversion (and provide all the data that is requested)

    #225136

    https://www.tradingview.com/script/bkb6vZDz-Sessions-LuxAlgo/

    Sessions (by Luxalgo) is more than 600 lines of pinescript codes, it would take a lot of time to convert.

    But at the end, it is no more than a session overlay! Maybe it would take less time and effort and would be more simple to just make all together a prorealcode that do the same kind of session overlay… ?

    1 user thanked author for this post.
    #225162

    Here’s the prorealcode for Europe session…

    2 users thanked author for this post.
    #225170

    I added New York session.

    1 user thanked author for this post.
    #225173

    With Tokyo session added…

    3 users thanked author for this post.
    #225184

    Lucas, great stuff.
    I just wanted to ask whether I should add all of the others, but I see it is a work in progress. 🙂 🙂

    What I see as very beneficial is having them all. Thus also India etc., never mind that we can’t trade them via PRT-IB; they vastly influence (at least at openings). And I myself can’t remember them all – them often varying as well.

    Offtopic I think : That VWAP checkbox is better not checked. V12 never seems to end with the calculations with 5K units and V11 maybe but still undoable (halfway after 20 minutes).

    Anyway, great thanks !

     

    PS: It is crazy how much slower V12 is.

    1 user thanked author for this post.
    #225187

    Hello Peter,
    Thanks.

    I can add the others sessions and maybe also a custom session (on configuration tab) to let the users choose custom hours…
    The hours of the differents sessions change if those sessions are forex ones or indices (shares) sessions. So maybe it is better to add an option for choosing whever you want forex sessions’ hours or indices sessions hours, or maybe add the hours of the begining and close of the sessions in the configuration tab or maybe at the begining of the code…

    I agree the VWAP takes too much time to calculate, i will check if it is possible to code the calculation an other way…

    Maybe i’ll need help for the dashboard part, if you are used to code dashboard ?

    #225188

    https://www.investopedia.com/terms/t/tradingsession.asp

    Maybe the best would be to let the user configure the hours of the session on the configuration tab ?

    #225191

    I don’t know if sessions “vastly influence (at least at openings)”… For me the trend remain in the channel most of the time, and sometimes the channel (the trend) may change during a session…

    #225195

    DAX daily. Actual rally is impressive… Almost no consolidation!

    #225197

    Dax 1 hour time frame. Deeper consolidation has begun ?

    #225214

    I don’t know if sessions “vastly influence (at least at openings)”… For me the trend remain in the channel most of the time, and sometimes the channel (the trend) may change during a session…

    It can be telling for the “western” trading day (or whatever market, but the one(s) I trade.
    Below the examples of which I try to be right in retrospect. Thus, not completely honest because just looking back for the examples, but in real-life (and live) I work with this.

    Let’s say that we look at the opening of HK (01:30 Amsterdam). I can’t know or follow ALL what happens around the globe, but I can see by the way a market opens whether something is going on. In the first example HK drops at the opening. This tends to be leading for the remainder of the day everywhere. You can see how it exploits over Europe and later the USA (which latter already happens at 10:00 Amsterdam via ETH and Futures).
    The 2nd example I see nothing special happening. No choppiness elsewhere during the remainder of the day. Which … also is not a good day (it’s probably the trend of the previous day).
    The 3rd example is from this week, and all is going well. It goes well right from the start. And HK opening shows that. … I dare to buy on that HK indication. Anyway this is why I think it is a great indicator. Thank you again, and VINNYVINCE of course.

    #225218

    Dax 1 hour time frame. Deeper consolidation has begun ?

    After just finally breaking the all time high a couple of days ago ? I’d say not. 🙂

    #225220

    Maybe i’ll need help for the dashboard part, if you are used to code dashboard ?

    Oh, I will help for sure. It is only that I don’t know what you mean with “dashboard” in this realm ? can you elaborate a little ?

Viewing 15 posts - 1 through 15 (of 21 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login