Rewrite SwingTeller code from binck ProTrader to Prorealtime code

Viewing 15 posts - 16 through 30 (of 67 total)
  • Author
    Posts
  • #31009 quote
    JohnVS
    Participant
    Junior

    hi Nicolas,

     

    Okay cant wait for the new version 🙂

    rgds

    John

    #31010 quote
    JohnVS
    Participant
    Junior

    Okay,

    Curious about the next version 🙂

     

    rgds

    Jogn

    #31025 quote
    Nicolas
    Keymaster
    Master

    The code is already attached in my previous post as an ITF file, please import it into your platform and make some tests! 🙂

    #31040 quote
    JohnVS
    Participant
    Junior

    Hi Nicolas,

    Again a little step closer 🙂

    I have send you a file with some comments.

    Hope it helps.

    rgds

    John


    At the lowest arrow it doesnt start at the correct bar. The close of that bar is not higher then the 4th before that. It looks like normally a downswing should start.The correct place should be where now the 2.0 starts since there the closing price is higher then the closing price of 4th bar before that

    The high arrow shows the start of the downswing which should have started at 3.0 cause thats the First time closing price was lower then the 4th bar before that.

    Also after that downswing a new downswing  should start after the resting dayafter 9.0

    Hope it makes a little sense J

    Rgds John

    #31045 quote
    joerie1
    Participant
    New

    Heyy,

     

    You guys are awesome! Thanks a lot.

    How do i get this indicator on the chart instead of below the chart?

    #31049 quote
    JohnVS
    Participant
    Junior

    Hey Joeri,

    Download the itf file Nicolas provided

    Add a new indicator and import the itf file

    Good luck 🙂

    rgds

    John

    #31050 quote
    joerie1
    Participant
    New

    Yess I did but it looks like this now.

    I have a picture attached to this message!

    #31062 quote
    JohnVS
    Participant
    Junior

    Joerie,

    Once you imported it you must click on the tools icon in de “koers” graphic and add the indicator there

    Its called the PRC_swingteller

    Hope it works now

    rgds

    John

    #31072 quote
    Nicolas
    Keymaster
    Master

    @JohnVS

    Please upload pictures and comments in forums instead of attached file, you know it can save me some time! Thank you..

    I think you didn’t read my last comment:

    About the Close superior or inferior to the one 4 bars earlier, it is not how it is coded in the original code posted by joerie1, it is looking for the current Close to be superior to highest one of the last 3 bars (up swing) and vice versa for the down swing, but I modified as per your suggestion..

    So now you want it to reverse it back to the original code?

    #31088 quote
    JohnVS
    Participant
    Junior

    Hi nicolas,

    I have no idea how else to upload a file ? i cant copy it in here

    It should not look at the higest of the last 3 bars, it should “compare” the closing prices of the current day and the 4 bars earlier.

    If the price of the current bar  is higher then the 4 bars earlier then it should start

    For the downswing the same ofcource

    Hope that helps

    rgds

    John

    #31093 quote
    JohnVS
    Participant
    Junior

    Hi Nicolas,

    In the picture you see an arrow. The swing starts there but thas the wrong point.

    It should start where now the 2.0 is. because that is the first one being higher then the bar 4 days ago.

    The counting should continue if the next bar is again higher then the 4 bars before that 1, etc.

    We will bust this i hope because we are very close 🙂

    rgds

    John

    #31108 quote
    Nicolas
    Keymaster
    Master

    Upload pictures instead of Word document …. PLEASE!

    #31110 quote
    Nicolas
    Keymaster
    Master

    PFA modified version. The counting was OK but my loop to draw the text was starting one bar previous the 9 count.

    #31113 quote
    JohnVS
    Participant
    Junior

    Okay,

    hope this is better then 🙂

    but did you see the pics and comments, ss it clear for you now what the intention is?

    hope so

    rgds

    John

    #31120 quote
    JohnVS
    Participant
    Junior

    Hey Nicolas,

    Yes ! Awesome its working !!

    Question : it only plots the swing when its complete right? Think you said you was gonna work on that when the counting was correct?

    Also the digit 1.0 2.0 .. etc showing is still in progess i assume

    would also be awesome if you could put the number in a square like in the original picture was shown

    It would make the swingstart stand out more. If not no problem i think its great already 🙂

    You are brilliant thats for sure, and many thanks for your patience 🙂

    rgds

    John

Viewing 15 posts - 16 through 30 (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...