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 7 posts - 61 through 67 (of 67 total)
  • #31420

    I think you applied the indicator twice on the graph, including 1 time with an older version .. No?

    #31480

    Hello Nicolas,

    I only applied the indicator once to the graph. I have only imported the most recent version of the indicator for the time being.
    I attached an annotated screenshot to explain further what I believe is going wrong. I used this time a different stock than in my previous post.
    On the left side of the screenshot, one can see a weekly chart of “Apple” and on the right side a daily chart of “Apple”.
    I have drawn some colored boxes on the weekly chart and then transversed these colored boxes to the same period on the daily chart.
    Hence, one can see that the swing count numbering on the weekly chart “fails (=not written on the correct weekly candle/bar)” when the there are only 4 (and not 5) trading days in the corresponding week .
    Thank you for reviewing this issue and providing your feedback!

    #31484

    I just reviewed the code and there is no problem. But the issue you describe exist in weekly timeframe, you are right. Look at my picture, the Y coordinate (price) of the 6th candlestick is correctly computed below the low of the next candlestick (the good one where it would be drawn), while the X coordinate (date) chosen by the platform is the previous barindex. Noobywan seems to have the same problem in his recent post in the PRT 10.3 issue thread.

    I sent a bug report to PRT this morning.

    #31488

    Thanks Nicolas for your feedback ! I hope the problem will be quickly solved 🙂 .

    #32788

    Same barindex problem happen to me too. In my case, first bar(in daily timeframe) of a week are ignored. I have tried to adjust the  barindex to draw arrow in first day of week, but it is draw on either previous bar or next bar. Is there any solution to this problem ??

    #32789

    @Suraj

    >> Please update your country flag in your profile. Thank you 🙂 <<

    This problem has been reported to PRT and being currently investigated.. I don’t know when it will be fixed.

    #39717
    AVT

    Nice to read that PRT is investigating. Just an additional info that may help. Having the same problem with my PGmarker bar counting in all week(ly based) charts with indices, forex and commodities but NOT with shares. So maybe search for the difference in week-code between index and share. (Just an idea).

Viewing 7 posts - 61 through 67 (of 67 total)

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