Rewrite SwingTeller code from binck ProTrader to Prorealtime code

Viewing 7 posts - 61 through 67 (of 67 total)
  • Author
    Posts
  • #31420 quote
    Nicolas
    Keymaster
    Master

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

    #31480 quote
    John Doe
    Participant
    Senior

    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 quote
    Nicolas
    Keymaster
    Master

    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 quote
    John Doe
    Participant
    Senior

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

    #32788 quote
    Suraj Neupane
    Participant
    New

    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 quote
    Nicolas
    Keymaster
    Master
    @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 quote
    AVT
    Participant
    Senior
    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)
  • You must be logged in to reply to this topic.

Rewrite SwingTeller code from binck ProTrader to Prorealtime code


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
joerie1 @joerie1 Participant
Summary

This topic contains 66 replies,
has 6 voices, and was last updated by AVT
8 years, 7 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 03/24/2017
Status: Active
Attachments: 23 files
Logo Logo
Loading...