pipvalue=pointvalue

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #101869 quote
    Finning
    Participant
    Veteran

    Hi all,  a point that may be of interest.

    So in the prorealtime pdf programming guide, and online here https://www.prorealcode.com/documentation/pointvalue/

    it says that pipvalue=pointvalue

    I was running this code below to help calculate overnight fees

    If longonmarket and time = 000.000  then
    LF = (((Countoflongshares * pipvalue * (close/pipsize)) * (((BrokerFee/100) + (Libor/100))/365))*100)/100
    else
    LF = 0
    endif

    Market was FTSE 100 Cash (A$1)

    And I was having a hell of a time getting a zero response from this and not knowing why.

    So I got to work graphing the inputs, and bingo.

    Turns out (at least for this market) that pipvalue does not equal pointvalue.

    What is intersting, is that for this market pipsize=pointsize.

    It would have made more sense to me if both didn’t work.

    So, maybe as a rule, leave pips for forex (?), and points for other markets, even though the manual says that they should be the same? Or just manually enter these values (not preferred if there is then a sudden value change by broker).

    Cheers,

    Finning.

     

    PS – you can’t delete attachments in edit mode either? Attached too many times…

    Capture1.jpg Capture1.jpg Capture1-1.jpg Capture1-1.jpg Capture1-2.jpg Capture1-2.jpg
    #101880 quote
    robertogozzi
    Moderator
    Master

    It’s a mess, can you post it again?

    #101889 quote
    Nicolas
    Keymaster
    Master

    So what is pipvalue for this market?

    GRAPH pipvalue
    GRAPH pointvalue
    #101910 quote
    Finning
    Participant
    Veteran

    Hi Nicolas,

    Yes that is what I graphed-the graph of those two values-and also for pipsize and pointsize-value for those are there as well-the value of them in the picture thats atrached.

    I don’t have any proof of it-ie-a screenshot of a graph of these values-but I swear that a week ago-i’ve been away for a week-that I didn’t have this problem and pipvalue=pointvalue. Can’t prove it but I’m sure that that was the case.

    #101918 quote
    Finning
    Participant
    Veteran

    Another screen capture of the graph of this :

    GRAPH pipvalue
    GRAPH pointvalue
    

    Just to confirm what I’m seeing.

    Capture2.jpg Capture2.jpg
    #101942 quote
    Nicolas
    Keymaster
    Master

    Problem was due to the new engine. Pipvalue should now return the correct value (or will be if the new version is not yet published in your country/broker).

    I confirm that PIPVALUE = POINTVALUE.

    Finning thanked this post
    #101994 quote
    Finning
    Participant
    Veteran

    Cheers Nicolas,

    thanks for following this up.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

pipvalue=pointvalue


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Finning @finning Participant
Summary

This topic contains 6 replies,
has 3 voices, and was last updated by Finning
6 years, 8 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 07/03/2019
Status: Active
Attachments: 4 files
Logo Logo
Loading...