My automatic scalp system for dax

Forums ProRealTime English forum ProOrder support My automatic scalp system for dax

  • This topic has 6 replies, 2 voices, and was last updated 8 years ago by avatarAlco.
Viewing 7 posts - 1 through 7 (of 7 total)
  • #18062

    Hello guys,

    Im new here and trying for the first time to build my automatic system for 10 min charts. But it shows good results for 15 min charts aswell.

    I have no knowledge about programming at all, but at the first backtests of this system… it seems to work pretty well! With some help it could be a very profitable system.

    The code you see below.

    You also need to use the ”’turtle indicator” what I found somewhere on the internet.
    I’ve also used the momentum indicator ”30” and the directional movement indicator ”14”

    Buy when momentum is in green and directional movement d+ is above 25
    Sell when momentum is in red and directional movement d- is above 25

     

    It has a very low drawdown as you can see in the picture

    #18065

    Hi Alco, and thank you a lot for sharing your code, much appreciated.

    Haven’t test your strategy myself, but I think it could suffer from the “0 bar” behaviour of probacktest. How much trade last 0 bar in the probacktest results? Does it have much trades that open and close on the same candlestick? Seems to have some, because of “Avg time in the market” of 0.29 bars.

    #18068

    ö

    #18071

    Hello Nicolas,

    I see a lot of  ”0” bars in the results. This is my first time i’m trying to program a code so all help I do very appreciate.
    What do I need to change in the code to avoid the 0 bars?

    Regards,

    Alco

    #18072

    In my momentum indicator  set to 30, I added the wilders ‘smoothing average ”19”.  For a buy, the momentum needs to be above the wilders average. For short traders the momentum needs to be below the wilders smoothing average. I don’t know how to adapt it in the code.

    Trading hours are 08:00-22:00

    #18075

    Ok so obvisouly you are not aware of the 0 bar problem. Please have a look at the video of this post which expose the problem and the new backtest engine to come with the PRT 10.3 version: http://www.prorealcode.com/blog/video-tutorials/tick-tick-backtest-engine-probacktest/

    Because there must be a lot of takeprofit and stoploss price levels contained in the orders’entries bars, and because takeprofit are always tested before the stoploss, the backtest result you get here is not good. Unless you have the new PRT version, there’s not much to do to avoid the problem.

    #18077

    Hi Nicolas,

    I was not up to date with the ”0” bars problem. Im running PRT with IG so it isn’t possible yet.

Viewing 7 posts - 1 through 7 (of 7 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login