Current Profit/Loss in PIPS

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15382 quote
    robertogozzi
    Moderator
    Master

    How can I tell whether the current trade is, say, +10 pips or -10 pips?

    Thank you.

    #15405 quote
    Nicolas
    Keymaster
    Master

    You could make difference between current Close and the last trade open price.

    #15411 quote
    robertogozzi
    Moderator
    Master

    Thank you Nicolas, but do I have to use TRADEPRICE[1], not [0] for the current trade?

    #15432 quote
    Nicolas
    Keymaster
    Master

    Use parenthesis, not brackets for the offset number, and yes tradeprice(1) should select the current/last opened trade.

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

Current Profit/Loss in PIPS


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Nicolas
9 years, 3 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 10/24/2016
Status: Active
Attachments: No files
Logo Logo
Loading...