Need help with a code for DAX

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #103203 quote
    Stefanb
    Participant
    Senior

    I see a pattern in dax.

    When dax moves more than 20 points in a cadel(5 min timeframe), it usually continues in the same direction for a while.

    Can you make an algo that takes position on that movement?

    #103204 quote
    Juan Salas
    Participant
    Master
    long20= close-open>=20*pipsize
    
    IF NOT ONMARKET AND long20 THEN
    BUY 1 CONTRACT AT MARKET
    ENDIF

    Hi Stefanb,

    This it could be a basic approach. Of course, a strategy has to bring with it other aspects (profit, stop loss, cumulate orders, etc)

    I hope you can use it as a starting point.

    #103206 quote
    Stefanb
    Participant
    Senior

    Thanks Juan 🙂

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

Need help with a code for DAX


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Stefanb @stefanb Participant
Summary

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

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