Rewrite SwingTeller code from binck ProTrader to Prorealtime code

Forums ProRealTime English forum ProOrder support Rewrite SwingTeller code from binck ProTrader to Prorealtime code

  • This topic has 66 replies, 6 voices, and was last updated 7 years ago by avatarAVT.
Viewing 15 posts - 46 through 60 (of 67 total)
  • #31189

    Does a fail upswing candlestick can be the first count of new down swing? (it should be, but just to be sure).

    Please be aware that now almost all candlesticks have a count or a fail symbol, so the charts are hardly readable!

    #31194

    Yes it can!

    could you change fail maybe into ‘F’ this will not take that much space.

    And its true you cant erase text thats already is draw but maybe you can hide them or give them the colour of the background when it fails.

    And fantastic that you are willing to make a screener. it only needs to based on the swingcounter, we ourselves can then look at the RSI

     

     

    #31196

    Nicolas,

    Yes the “F’is alright for me its text so onyone can change it to ones liking 🙂

    The hiding idea is cool if possible and if the “F” would be shown it would be no problem for me if the “F” would stay there

    Yes the RSI doesnt have to be included for the screener.

    Thanks for your input Joeri 🙂

    rgds

    John

    #31204

    but maybe you can hide them or give them the colour of the background when it fails.

    That’s an idea!

    I made the swing teller stock screener, the ITF file is attached to this post.

    #31211

    Finally not a good idea, ProBuilder automatically change my colour to make it visible, it means that I can’t draw a black text on a black background, the platform change it to white (and vice-versa for a white chart background..). I was aware of this behaviour for returned variables, but I didn’t knew for drawn objects … So we are stuck .. again! 🙂

    #31212

    Hey Nicolas,

    The idea was great just not technically possible. I have absolutly no problem for the swingcounter to remain there.

    If a failed swing can end with an “F” or whatever i say it still is a great thing !! As said, its good to see a swingfail otherwise the thing would make people think its working 100% 😉

    so if you van make that i would be more than happy!

    rgds

    John

     

    #31218

    Hey Nicolas,

    Could you please confirm :

    I have changed the sceener line

    screener [downcount=1 or Upcount=1] (direction as “Up or down Swing?”

    That should show all the charts that has a start of a swing right ? eventough they are not visable yet it at least give some indication 🙂 would be perfect of cource if the “1” appered also 🙂

    thanks again

    rgds

    John

    #31222

    You don’t either need to change this line in the stock screener. If downcount or upcount is superior to 0, they are considered as “true” and the screener don’t make any count further than the first one, because we don’t need it obviously.

    If the sorting column “direction” is equal to 1, this is a up swing, and -1 is the beginning of a down swing.

    How I am supposed to make things appearing on your chart with a screener? You already have the indicator, please put it yourself on your chart, I have no ability to use your account!

     

    #31223

    Please find attached the indicator with the live count and the “F” text for the swing failure.

    I made the count more visible by always placed them at the minimum distance from high for a down swing and the maximum distance for a up swing. It’s kinda more readable like this.

    I’ll add the stock screener and the indicator later in the library.

    #31236

    didnt mean the number showing through the screener i know thats not possible

    But with latest version you already answered my question 🙂

    Sorry im a programming noob !

    Are you still gonna remove the digits in the number ?

    Or explain please what i should do to make it myself

    rgds

    John

    #31244

    This is really some great work Nicolas

    I really want to thank you so much !!

    There is one last thing i want to ask you.

    As you see the numbers are quite far away from the bars. Is it possible for you to make them directly under the bar ? and above of cource

    rgds

    John

     

    #31342

    The complete indicator with numbers set correctly above and below candlesticks and with no extra digits on them, can now be found in the library section of the website: https://www.prorealcode.com/prorealtime-indicators/swing-teller-indicator/

    #31404

    Hello Nicolas,

    Thank you for coding this indicator (was already looking for it since quite some time). I am interested to use this indicator on the weekly timeframe. I noticed that sometimes a weekly candle/bar gets 2 numbers. In this case the next weekly candle/bar gets no number. I have the impression that this happens every time that there are less than 5 trading days in the week that is represented by the weekly bar/candlestick. In that case the swing counter number seems to be written on the previous week’s candle and the current week’s candle gets no number. I have attached a screenshot and highlighted the issue in yellow. Is there something you can do about it ?

    #31407

    @john

    Weird problem.. I’ll look at this problem next week. Did you changed anything about Sunday bar or schedules?

    #31411

    Thanks Nicolas for taking the time to have a look at this.
    No, I didn’t change anything about Sunday bar or schedules.
    I checked some more stocks on the weekly timeframe and the “bug” (missing number) always appears on the same  weekly candle across all stocks.
    I hope you can find a fix for this.

    Kind regards !

     

Viewing 15 posts - 46 through 60 (of 67 total)

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