Trigger A Trade on Proxy

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #115416 quote
    vishalshah63vishalshah63
    Participant
    New

    Hi There, I want to do the following as an example:

    Buy FTSE (Mar-20) when FTSE Cash is 7000 and Close the contract (FTSE Mar 20) when FTSE Cash is 7200. How Can I do that please?

    #115417 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Please use the correct support forum. I moved it to the ProOrder support as it is related to a strategy.

    Try this if you want to enter at market:

    IF close >= 7000 THEN
       BUY AT AMRKET
    ENDIF
    IF close >= 7200 THEN
       SELL AT MARKET
    ENDIF

    or this one to use pending orders (they only last one bar and must be placed again, if needed):

    BUY 1 CONTRACT AT 7000 STOP //or LIMIT if current price is higher

    and, once you are OnMarket, you can exit with:

    SELL AT 7200 LIMIT
    #115420 quote
    vishalshah63vishalshah63
    Participant
    New

    Thank you…Will try as I am Buying FTSE (Mar-20) when FTSE Cash is 7000. Thank you.

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Trigger A Trade on Proxy


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

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

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 12/23/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...