GAP different values EA and Indicator (Half Trend)

Forums ProRealTime English forum ProOrder support GAP different values EA and Indicator (Half Trend)

Viewing 14 posts - 1 through 14 (of 14 total)
  • #49023

    Hi everyone,

    I’m using the Halftrend Triple I founded here on PRC.

    I noticed that when I copy the code in a EA, there are some differencies between the value of the halftrend with identical parameters .

    Sometimes they are the same, sometimes not.

    Do you have any explanation on it ?

     

    Thanks !

     

    #49028

    Hi, welcome to PRC forums, I’m moving your post from French forum “Support ProOrder” to English forum “ProOrder support”, as the custom on PRC forums is to use the language of the forum we post in

    #49031

    Please share your automatic strategy code in order to understand why it happened and to replicate the issue.

    #49111

    Hello Nicolas,

     

    here is the code, I use it on  dax M15, I noticed a difference between Halftrend 10 on EA and Indicator, on october 9th 2017 at 6am for example (halftrend10 graph by EA = 12976,9 ;  halftrend10 on indicator= 12 975,1)

     

    #49123

    This is odd, cause I don’t notice any differences between the Halftrend indicator and the one embedded into your strategy … Are you sure you are comparing the same periods?

    #49125

    Did you try on M15, GER30, 9 October 2017 at 6:00 am ? these are not exactly the same for me.

    95% of the time these are the same, but the 5% where these differs make difference between arrow (entry) in my Indicator and real entry in proOrder.

    #49131

    Maybe you have the optional setting of not using weekend data? And any monday morning data based on calculations from friday’s data in the indicator, might differ from the backtest on PRT server using weekend data (even if you chose not to on your pc)? Had a similar thing long ago and that’s when Nicolas told me about this weekend data option not affecting backtest run on PRT servers but only indicators on PC…

    #49132

    Thank’s Noobywan. Actually I thought about this possibility, and I remember I tried with and without weekend datas but I didn’t change. the value are identical (unless for the date I’m a comparing).

    Whatever I’m pretty sure that value overnight and weekend are commited to these differencies in value..

    #49141

    Custom trading hours?

    #49144

    Not in the EA, and here are the settings in PRT

    #49151

    Quel est ton courtier ? IG ?

    #49494

    Bonjour Nicolas, oui je suis chez IG, mais j’effectue ces backtest sur PRT CFD.

     

    Je pense que le problème est résolu, c’était bien l’histoire de données du week-end qu’il fallait activer, j’avais du me planter en essayant des réglages..

    Une fois les données activée pour le weekend je n’ai plus de Gap entre le vendredi soir et le lundi matin, j’ai maintenant une bougie. Dans le Backtest elle devait bien être prise en compte, mais pas dans l’indicateur qui considérait un gap.

     

    Merci pour votre aide !

     

    2 users thanked author for this post.
    #49498

    Yellow card to Nicolas (haha! How did I miss this) for switching the conversation to French in the English forum!

    #49514

    OMG too much or not enough coffee! 😆

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

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