Check spread mechanism

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29744 quote
    windie
    Participant
    New

    Anyone knows if it is possible to check the spread on a certain instrument before entering order

    Example

    IF (trade condition)

    while (Spread > 1 pip)  do nothing

    wend

    buy 1 at market

    endif

    trade will not execute until spread is less than 1

    #30002 quote
    Nicolas
    Keymaster
    Master

    This is common query 🙂 But it is not possible, spread can’t be retrieve by probacktest code. I hope it will be part of a next language update, since it is definitely needed I must agree!

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

Check spread mechanism


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
windie @windie Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
8 years, 11 months ago.

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