DAX Aroon 30 min system

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #47388 quote
    HenrikHenrik
    Participant
    Veteran

    Hi Eric!

     

    Here is a fix for the donchianstop module.

     

    //-------------------------------------------------------------------------------------------
    // -- Donchian Stop Logic -------------------------------------------------------------------
    //-------------------------------------------------------------------------------------------
    dcLo = lowest[donchianChPeriod](low)
    dcLastStoplong = dcLo[1]
    
    dcHi = highest[donchianChPeriod](high)
    dcLastStopshort = dcHi[1]
    
    if useDonchianStop and onMarket then
    if longOnMarket  then
    
    sell at dcLastStoplong stop
    elsif shortOnMarket  then
    
    exitshort at dcLastStopshort stop
    endif
    endif
    
    //graph dcLastStop
    
    //-------------------------------------------------------------------------------------------
    

    Have you made it work on short side to?

    Regards

    Henrik

    #47438 quote
    EricEric
    Participant
    Master

    Hi Henrik

    Thanks for fixing the code

    No  i haven’t been able to get the short side working and profitable

    #47874 quote
    EricEric
    Participant
    Master

    When changing this

    //sellshort positionSize contracts at market

    to this you can go short but long only is better (maybe in the next bearmarket?)

    sellshort positionSize contracts at market
    
    
    
    
    
    #49262 quote
    EricEric
    Participant
    Master

    i have tested bitcoin on demo for 3 weeks now and the spread cost some but profit so far

    its better result on demo than a backtest with 20 points spread

    as i said its for fun, the risk is to high for me to put real money on it

    (had some issue on a sunday but no problem else)

    Bitcoin-okt-2017.png Bitcoin-okt-2017.png
    #51349 quote
    EricEric
    Participant
    Master

    bitcoin

    14 trades 12 winners and 2 losers

    profit 2629 (buy and hold 3215)

    bitcoin-nov-2017.png bitcoin-nov-2017.png
Viewing 5 posts - 16 through 20 (of 20 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

DAX Aroon 30 min system


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Eric @eric Participant
Summary

This topic contains 19 replies,
has 6 voices, and was last updated by EricEric
8 years, 11 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 03/08/2017
Status: Active
Attachments: 4 files
ProRealCode ProRealCode
Loading...