Buy if > 20 points movement

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #104308 quote
    bullbearbullbear
    Participant
    Senior

    DAX 1 min timeframe.
    How to code the following?

    I want to take a long pos if the price moves above 20 points in the past candle.

    #104327 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    I think it’s quite difficult to have a range of more than 20 pips in a single 1-minute candle (it just happend a few time these last days, but it won’t happen that many times):

    EntryPrice = close + (20.1 * pipsize)
    IF Not OnMarket THEN
       BUY 1 CONSTRACT AT Entryprice STOP
    ENDIF
    #104341 quote
    bullbearbullbear
    Participant
    Senior

    Thanks Robert

    I will test the code on different timeframes.

    I want a more active algo and this code suitable for that.

    Will add other filters of course.

    #104469 quote
    VonasiVonasi
    Moderator
    Master

    Topic moved to ProOrder forum. bullbear – please try to post in the correct forum with future topics. 🙂

Viewing 4 posts - 1 through 4 (of 4 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

Buy if > 20 points movement


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
bullbear @bullbear Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by VonasiVonasi
7 years, 1 month ago.

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