Need help with a code for DAX

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #103203 quote
    StefanbStefanb
    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 SalasJuan 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
    StefanbStefanb
    Participant
    Senior

    Thanks Juan šŸ™‚

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

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 StefanbStefanb
7 years, 2 months ago.

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